Expand description
Clean-room ANTLR v4 runtime foundation for Rust.
Re-exports§
pub use char_stream::CharStream;pub use char_stream::InputStream;pub use char_stream::TextInterval;pub use dfa::Dfa;pub use dfa::DfaState;pub use errors::AntlrError;pub use errors::ConsoleErrorListener;pub use errors::ErrorListener;pub use generated::GeneratedLexer;pub use generated::GeneratedParser;pub use generated::GrammarMetadata;pub use int_stream::EOF;pub use int_stream::IntStream;pub use int_stream::UNKNOWN_SOURCE_NAME;pub use lexer::BaseLexer;pub use lexer::Lexer;pub use lexer::LexerCustomAction;pub use lexer::LexerMode;pub use lexer::LexerPredicate;pub use parser::BaseParser;pub use parser::Parser;pub use parser::ParserAction;pub use parser::ParserMemberAction;pub use parser::ParserPredicate;pub use parser::ParserReturnAction;pub use parser::ParserRuleArg;pub use parser::ParserRuntimeOptions;pub use parser::PredictionMode;pub use prediction::AtnConfig;pub use prediction::AtnConfigSet;pub use prediction::PredictionContext;pub use recognizer::Recognizer;pub use recognizer::RecognizerData;pub use token::CommonToken;pub use token::CommonTokenFactory;pub use token::DEFAULT_CHANNEL;pub use token::HIDDEN_CHANNEL;pub use token::INVALID_TOKEN_TYPE;pub use token::TOKEN_EOF;pub use token::Token;pub use token::TokenChannel;pub use token::TokenFactory;pub use token::TokenSource;pub use token_stream::CommonTokenStream;pub use tree::ErrorNode;pub use tree::ParseTree;pub use tree::ParseTreeListener;pub use tree::ParseTreeWalker;pub use tree::ParserRuleContext;pub use tree::RuleNode;pub use tree::TerminalNode;pub use vocabulary::Vocabulary;
Modules§
- atn
- Abstract Transition Network structures shared by generated lexers and parsers.
- char_
stream - dfa
- errors
- generated
- int_
stream - lexer
- parser
- prediction
- recognizer
- token
- token_
stream - tree
- vocabulary