示例#1
0
        private void ParsePrintStmt()
        {
            Match(TokenKind.Print);

            _astBuilder.PrintStart(_scanner.CurrentToken);
            Match(TokenKind.Print);
            _scanner.Advance();
            Match(TokenKind.LeftParen);
            _scanner.Advance();
            ParseExprList();
            Match(TokenKind.RightParen);
            _scanner.Advance();
        }