예제 #1
0
 public AstClass(Parser parser, Position startPos, Position endPos, AstSymbolDeclaration name, AstNode extends,
                 ref StructList <AstObjectProperty> properties) : base(parser, startPos, endPos)
 {
     Name    = name;
     Extends = extends;
     Properties.TransferFrom(ref properties);
 }
예제 #2
0
 public AstLambda(Parser parser, Position startPos, Position endPos, AstSymbolDeclaration name,
                  ref StructList <AstNode> argNames, bool isGenerator, bool async, ref StructList <AstNode> body) : base(parser,
                                                                                                                         startPos, endPos)
 {
     Name = name;
     ArgNames.TransferFrom(ref argNames);
     IsGenerator = isGenerator;
     Async       = async;
     Body.TransferFrom(ref body);
 }
예제 #3
0
 public AstDefClass(Parser parser, Position startPos, Position endPos, AstSymbolDeclaration name, AstNode extends, ref StructList <AstObjectProperty> properties) : base(parser, startPos, endPos, name, extends, ref properties)
 {
 }
예제 #4
0
 public AstArrow(Parser parser, Position startPos, Position endPos, AstSymbolDeclaration name,
                 ref StructList <AstNode> argNames, bool isGenerator, bool async, ref StructList <AstNode> body) : base(parser,
                                                                                                                        startPos, endPos, name, ref argNames, isGenerator, async, ref body)
 {
 }
예제 #5
0
 public AstDefClass(string?source, Position startPos, Position endPos, AstSymbolDeclaration name, AstNode extends, ref StructList <AstObjectProperty> properties) : base(source, startPos, endPos, name, extends, ref properties)
 {
 }