public Builder(Source source)
 {
     tokens  = source.tokens;
     len     = tokens.Count() - 1;         // last token being EOF
     node    = new Node.Block(source.start);
     script  = new Script(source.name, node);
     scripts = new List <Script>()
     {
         script
     };
 }
Beispiel #2
0
 public Script(string name, Node.Block node)
 {
     this.name = name;
     this.node = node;
 }