public Node ExitStatement()
 {
     var exit_node = new Exit_Statement()
     {
         AnchorToken = Expect(TokenCategory.EXIT)
     };
     Expect(TokenCategory.SEMICOLON);
     return exit_node;
 }
Beispiel #2
0
        public Node ExitStatement()
        {
            var exitNode = new Exit_Statement()
            {
                AnchorToken = Expect(TokenCategory.EXIT)
            };

            Expect(TokenCategory.EOL);
            return(exitNode);
        }