C# Class AST.EnumSpec

enum-specifier : enum [identifier]? '{' enumerator-list '}' | enum identifier enumerator-list : enumerator [ ',' enumerator ]*
Inheritance: NonBasicTypeSpec
ファイルを表示 Open project: phisiart/C-Compiler

Public Methods

Method Description
Create ( Option name, ImmutableList enumrs ) : EnumSpec
Create ( String name ) : EnumSpec

Private Methods

Method Description
Create ( Option name, Option enumrs ) : EnumSpec
EnumSpec ( Option name, Option enumrs ) : System
GetExprType ( Env env ) : ISemantReturn

Method Details

Create() public static method

public static Create ( Option name, ImmutableList enumrs ) : EnumSpec
name Option
enumrs ImmutableList
return EnumSpec

Create() public static method

public static Create ( String name ) : EnumSpec
name String
return EnumSpec