Beispiel #1
0
 public MacroVarDeclaration(AttributeTokens attributes, IParseType type, Token identifier, IParseExpression value)
 {
     Attributes = attributes;
     Type       = type;
     Identifier = identifier;
     Value      = value;
 }
Beispiel #2
0
 public ConstructorContext(AttributeTokens attributes, Token locationToken, List <VariableDeclaration> parameters, Token subroutineName, Block block)
 {
     Attributes     = attributes;
     LocationToken  = locationToken;
     Parameters     = parameters;
     SubroutineName = subroutineName;
     Block          = block;
 }
Beispiel #3
0
 public MacroFunctionContext(AttributeTokens attributes, IParseType type, Token identifier, List <VariableDeclaration> parameters, IParseExpression expression)
 {
     Attributes = attributes;
     Type       = type;
     Identifier = identifier;
     Parameters = parameters;
     Expression = expression;
 }
Beispiel #4
0
 public VariableDeclaration(AttributeTokens attributes, IParseType type, Token identifier, IParseExpression initialValue, Token ext, Token id)
 {
     Attributes   = attributes;
     Type         = type;
     Identifier   = identifier;
     InitialValue = initialValue;
     Extended     = ext;
     ID           = id;
 }
Beispiel #5
0
 public FunctionContext(AttributeTokens attributes, IParseType type, Token identifier, List <VariableDeclaration> parameters, Block block, Token globalvar, Token playervar, Token subroutine)
 {
     Attributes = attributes;
     Type       = type;
     Identifier = identifier;
     Parameters = parameters;
     Block      = block;
     GlobalVar  = globalvar;
     PlayerVar  = playervar;
     Subroutine = subroutine;
 }