source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/apps/LwipMibCompiler/SharpSnmpLib/Mib/Elements/Types/Choice.cs@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csharp;charset=UTF-8
File size: 920 bytes
Line 
1/*
2 * Created by SharpDevelop.
3 * User: lextm
4 * Date: 2008/5/31
5 * Time: 11:39
6 *
7 * To change this template use Tools | Options | Coding | Edit Standard Headers.
8 */
9
10namespace Lextm.SharpSnmpLib.Mib.Elements.Types
11{
12 /// <summary>
13 /// The CHOICE type represents a list of alternatives..
14 /// </summary>
15 public sealed class Choice : BaseType
16 {
17 /// <summary>
18 /// Creates a <see cref="Choice"/> instance.
19 /// </summary>
20 /// <param name="module"></param>
21 /// <param name="name"></param>
22 /// <param name="lexer"></param>
23 public Choice(IModule module, string name, ISymbolEnumerator symbols)
24 : base(module, name)
25 {
26 while (symbols.NextNonEOLSymbol() != Symbol.OpenBracket)
27 {
28 }
29
30 while (symbols.NextNonEOLSymbol() != Symbol.CloseBracket)
31 {
32 }
33 }
34 }
35}
Note: See TracBrowser for help on using the repository browser.