Stimulsoft.Data.Expressions.Antlr.Runtime Namespace |
[Missing <summary> documentation for "N:Stimulsoft.Data.Expressions.Antlr.Runtime"]
Class | Description | |
---|---|---|
![]() | ANTLRFileStream |
This is a char buffer stream that is loaded from a file
all at once when you construct the object. This looks very
much like an ANTLReader or ANTLRInputStream, but it's a special case
since we know the exact size of the object to load. We can avoid lots
of data copying.
|
![]() | ANTLRInputStream |
A kind of ReaderStream that pulls from an InputStream.
Useful for reading from stdin and specifying file encodings etc...
|
![]() | ANTLRReaderStream |
Vacuum all input from a Reader and then treat it like a StringStream.
Manage the buffer manually to avoid unnecessary data copying.
|
![]() | ANTLRStringStream |
A pretty quick CharStream that pulls all data from an array
directly. Every method call counts in the lexer. Java's
strings aren't very good so I'm avoiding.
|
![]() | AstParserRuleReturnScopeTTree, TToken | |
![]() | BaseRecognizer |
A generic recognizer that can handle recognizers generated from
lexer, parser, and tree grammars. This is all the parsing
support code essentially; most of it is error recovery stuff and
backtracking.
|
![]() | BitSet |
A stripped-down version of org.antlr.misc.BitSet that is just
good enough to handle runtime requirements such as FOLLOW sets
for automatic error recovery.
|
![]() | BufferedTokenStream | |
![]() | CharStreamConstants | |
![]() | CharStreamState |
When walking ahead with cyclic DFA or for syntactic predicates,
we need to record the state of the input stream (char index,
line, etc...) so that we can rewind the state after scanning ahead.
|
![]() | ClassicToken |
A Token object like we'd use in ANTLR 2.x; has an actual string created
and associated with this object. These objects are needed for imaginary
tree nodes that have payload objects. We need to create a Token object
that has a string; the tree node will point at this token. CommonToken
has indexes into a char stream and hence cannot be used to introduce
new strings.
|
![]() | CommonToken | |
![]() | CommonTokenStream |
The most common stream of tokens is one where every token is buffered up
and tokens are prefiltered for a certain channel (the parser will only
see these tokens and cannot change the filter channel number during the
parse).
|
![]() | DFA | A DFA implemented as a set of transition tables. |
![]() | EarlyExitException | The recognizer did not match anything for a (..)+ loop. |
![]() | FailedPredicateException |
A semantic predicate failed during validation. Validation of predicates
occurs when normally parsing the alternative just like matching a token.
Disambiguating predicate evaluation occurs when we hoist a predicate into
a prediction decision.
|
![]() | GrammarRuleAttribute | |
![]() | LegacyCommonTokenStream |
The most common stream of tokens is one where every token is buffered up
and tokens are prefiltered for a certain channel (the parser will only
see these tokens and cannot change the filter channel number during the
parse).
|
![]() | Lexer |
A lexer is recognizer that draws input symbols from a character stream.
lexer grammars result in a subclass of this object. A Lexer object
uses simplified match() and error recovery mechanisms in the interest
of speed.
|
![]() | MismatchedNotSetException | |
![]() | MismatchedRangeException | |
![]() | MismatchedSetException | |
![]() | MismatchedTokenException | A mismatched char or Token or tree node |
![]() | MismatchedTreeNodeException | |
![]() | MissingTokenException |
We were expecting a token but it's not found. The current token
is actually what we wanted next. Used for tree node errors too.
|
![]() | NoViableAltException | |
![]() | Parser |
A parser for TokenStreams. "parser grammars" result in a subclass
of this.
|
![]() | ParserRuleReturnScopeTToken |
Rules that return more than a single value must return an object
containing all the values. Besides the properties defined in
RuleLabelScope.predefinedRulePropertiesScope there may be user-defined
return values. This class simply defines the minimum properties that
are always defined and methods to access the others that might be
available depending on output option such as template and tree.
|
![]() | RecognitionException | The root of the ANTLR exception hierarchy. |
![]() | RecognizerSharedState |
The set of fields needed by an abstract recognizer to recognize input
and recover from errors etc... As a separate state object, it can be
shared among multiple grammars; e.g., when one grammar imports another.
|
![]() | TemplateParserRuleReturnScopeTTemplate, TToken | |
![]() | TokenChannels | |
![]() | TokenRewriteStream | |
![]() | TokenRewriteStreamRewriteOperation | |
![]() | Tokens | |
![]() | TokenTypes | |
![]() | UnbufferedTokenStream | |
![]() | UnwantedTokenException | An extra token while parsing a TokenStream |
Interface | Description | |
---|---|---|
![]() | IAstRuleReturnScope | AST rules have trees |
![]() | IAstRuleReturnScopeTAstLabel | AST rules have trees |
![]() | ICharStream | A source of characters for an ANTLR lexer |
![]() | IIntStream |
A simple stream of integers used when all I care about is the char
or token type sequence (such as interpretation).
|
![]() | IRuleReturnScope |
Rules can have start/stop info.
|
![]() | IRuleReturnScopeTLabel |
Rules can have start/stop info.
|
![]() | ITemplateRuleReturnScope | |
![]() | ITemplateRuleReturnScopeTTemplate | |
![]() | IToken | |
![]() | ITokenSource |
A source of tokens must provide a sequence of tokens via nextToken()
and also must reveal it's source of characters; CommonToken's text is
computed from a CharStream; it only store indices into the char stream.
|
![]() | ITokenStream | A stream of tokens accessing tokens from a TokenSource |
![]() | ITokenStreamInformation |
Delegate | Description | |
---|---|---|
![]() | SpecialStateTransitionHandler |