Beispiel #1
0
 public ClassMethodNode(Token name, SymbolInformation modifiers, List <ParameterNode> parameters, List <Node> body, bool isLambda)
 {
     this.Identifier = name;
     this.SymbolInfo = modifiers;
     this.Parameters = parameters;
     this.Body       = body;
     this.IsLambda   = isLambda;
 }
 public VariableDefinitionNode(SymbolInformation variableType, List <SymbolDefinition> definitions)
     : base(variableType)
 {
     this.Definitions = definitions;
 }
Beispiel #3
0
 public ParameterNode(Token name, SymbolInformation symbolInfo)
 {
     this.Name       = name;
     this.SymbolInfo = symbolInfo;
 }
 public ClassPropertyNode(Token name, SymbolInformation symbolModifiers, Node definition)
 {
     this.Name       = name;
     this.SymbolInfo = symbolModifiers;
     this.Definition = definition;
 }
 public ClassConstantNode(Token name, SymbolInformation modifiers, Node definition)
 {
     this.Name       = name;
     this.SymbolInfo = modifiers;
     this.Definition = definition;
 }
Beispiel #6
0
 public VariableDestructuringNode(SymbolInformation variableType, List <Token> variables, Node destructInit)
     : base(variableType)
 {
     this.Left  = variables;
     this.Right = destructInit;
 }