Example #1
0
 public GMLToken(GMLToken _tok)
 {
     Token    = _tok.Token;
     Index    = _tok.Index;
     Text     = _tok.Text;
     Id       = _tok.Id;
     Value    = new GMLValue(_tok.Value);
     Children = new List <GMLToken>(_tok.Children);
 }
Example #2
0
 public GMLToken(eToken _tok, GMLToken _pass1, int _id, GMLValue _value)
 {
     Token    = _tok;
     Index    = _pass1.Index;
     Text     = _pass1.Text;
     Id       = _id;
     Value    = new GMLValue(_value);
     Children = new List <GMLToken>();
 }