Class Stmt.Enum
Inheritance
System.Object
Stmt.Enum
Assembly: Perlang.Common.dll
Syntax
Constructors
|
Improve this Doc
View Source
Enum(Token, Dictionary<String, Expr>)
Declaration
public Enum(Token name, Dictionary<string, Expr> members)
Parameters
Type |
Name |
Description |
Token |
name |
|
Dictionary<System.String, Expr> |
members |
|
Properties
|
Improve this Doc
View Source
Members
Declaration
public Dictionary<string, Expr> Members { get; }
Property Value
Type |
Description |
Dictionary<System.String, Expr> |
|
|
Improve this Doc
View Source
Name
Declaration
public Token Name { get; }
Property Value
Methods
|
Improve this Doc
View Source
Accept<TR>(Stmt.IVisitor<TR>)
Declaration
public override TR Accept<TR>(Stmt.IVisitor<TR> visitor)
Parameters
Returns
Type Parameters
Overrides
Perlang.Stmt.Accept<TR>(Perlang.Stmt.IVisitor<TR>)