示例#1
0
 public FunctionNamedExpressionNode(IdentifierNode name, ArgumentsListNode arguments, StatementsAndDeclarations body) : base(arguments, body)
 {
     Name = name;
 }
 public FunctionExpressionNode(ArgumentsListNode arguments, StatementsAndDeclarations body)
 {
     Arguments = arguments;
     Body      = body;
 }
示例#3
0
 public ArgumentsListNode(ArgumentsListNode arguments, IdentifierNode identifier)
 {
     Identifiers.AddRange(arguments.Identifiers);
     Identifiers.Add(identifier);
 }
 public FunctionDeclarationNode(IdentifierNode name, ArgumentsListNode arguments, StatementsAndDeclarations body)
 {
     Name      = name;
     Arguments = arguments;
     Body      = body;
 }