コード例 #1
0
        private Ast.Stmt ParseBreakStmt(TokenQueue q)
        {
            var stmt = new Ast.BreakStmt {
                SourceToken = q.SourceToken
            };

            q.Take("break");
            ConsumeSemicolon(q);
            return(stmt);
        }
コード例 #2
0
 private void ExecuteBreakStmt(Ast.BreakStmt stmt, ScriptEnv env)
 {
     env.DidBreak = true;
 }