Beispiel #1
0
 public virtual BlockBase Add(ScriptToken token, int lineNumber)
 {
     Current = Current ?? new Statement(this, lineNumber);
     //token should be Value or Operator only added to current statement or enclosing
     Current.Tokens.Add(token);
     return(Current);
 }
Beispiel #2
0
 public override BlockBase Add(ScriptToken token, int lineNumber)
 {
     return(base.Add(token, lineNumber));
 }
Beispiel #3
0
 public override BlockBase Add(ScriptToken token, int lineNumber)
 {
     Tokens.Add(token);
     return(this);
 }