Home | History | Annotate | Download | only in Runtime

Lines Matching refs:ANTLR

1 package ANTLR::Runtime::Token;
7 use ANTLR::Runtime::CharStream;
8 #use ANTLR::Runtime::CommonToken;
37 sub EOF { ANTLR::Runtime::CharStream->EOF }
39 #Readonly my $EOF_TOKEN => ANTLR::Runtime::CommonToken->new({ type => EOF });
41 require ANTLR::Runtime::CommonToken;
42 state $EOF_TOKEN = ANTLR::Runtime::CommonToken->new({ type => EOF });
49 #Readonly my $INVALID_TOKEN => ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
51 require ANTLR::Runtime::CommonToken;
52 state $INVALID_TOKEN = ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
56 # In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
58 #Readonly my $SKIP_TOKEN => ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
60 require ANTLR::Runtime::CommonToken;
61 state $SKIP_TOKEN = ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });