private StmtRaw ParseStmtCallSingle() { ExpRaw startExpr = ParseRawExpLine(); StmtCallRaw stmtcall = new StmtCallRaw(); stmtcall.CallExp = startExpr; while (currLineTokenTape.HasCurrent) { if (currLineTokenTape.Current.IsKind(TokenKindSymbol.Comma)) { currLineTokenTape.Match(TokenKindSymbol.Comma); break; } else if (currLineTokenTape.Current.IsKind(TokenKindSymbol.Semi)) { currLineTokenTape.Match(TokenKindSymbol.Semi); break; } } return(stmtcall); }
public StmtCall(StmtCallRaw raw, Stmt parentStmt) { Raw = raw; ParentStmt = parentStmt; }