public IgnoreStatement(Scanner s) { for (;;) { s.MoveNext(); LValue target = new LValue(s); Targets.Add(target); if (s.PeekNext.Value != "+") { break; } } }
public StashStatement(Scanner s) { s.MoveNext(); LValue lval = new LValue(s); lvals.Add(lval); while (s.PeekNext.Value == "+") { s.MoveNext(); s.MoveNext(); lvals.Add(new LValue(s)); } }
public CalculateStatement(Scanner s) { destination = new LValue(s); s.MoveNext(); VerifyToken(s, "<-"); s.MoveNext(); expression = Expression.CreateExpression(s); //Is this an array redimension expression? if ((destination.IsArray) && (!destination.Subscripted)) { this.IsArrayRedimension = true; expression = new Expression.ReDimExpression(s, expression); } }