Exemplo n.º 1
0
 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
     };
 }
Exemplo n.º 2
0
 public Script(string name, Node.Block node)
 {
     this.name = name;
     this.node = node;
 }