Click or drag to resize

CdssLibraryParser Properties

The CdssLibraryParser type exposes the following members.

Properties
 NameDescription
Public propertyAtn Get the ATN used by the recognizer for prediction.
(Inherited from RecognizerIToken, ParserATNSimulator)
Public propertyBuildParseTree Track the ParserRuleContext objects during the parse and hook them up using the children list so that it forms a parse tree. The ParserRuleContext returned from the start rule represents the root of the parse tree.

Note that if we are not building parse trees, rule contexts only point upwards. When a rule exits, it returns the context but that gets garbage collected if nobody holds a reference. It points upwards but nobody points at it.

When we build parse trees, we are adding all of these contexts to children list. Contexts are then not candidates for garbage collection.


(Inherited from Parser)
Public propertyContext
(Inherited from Parser)
Public propertyCurrentToken Match needs to return the current input symbol, which gets put into the label for the associated token ref; e.g., x=ID.
(Inherited from Parser)
Public propertyErrorHandler
(Inherited from Parser)
Public propertyErrorListenerDispatch
(Inherited from Parser)
Public propertyErrorListeners
(Inherited from RecognizerIToken, ParserATNSimulator)
Public propertyGrammarFileName
(Overrides Recognizer.GrammarFileName)
Public propertyInputStream
(Inherited from Parser)
Public propertyInterpreterGet the ATN interpreter used by the recognizer for prediction.
(Inherited from RecognizerIToken, ParserATNSimulator)
Public propertyNumberOfSyntaxErrorsGets the number of syntax errors reported during parsing.
(Inherited from Parser)
Public propertyParseInfo
(Inherited from Parser)
Public propertyParseListeners
(Inherited from Parser)
Public propertyPrecedenceGet the precedence level for the top-most precedence rule.
(Inherited from Parser)
Public propertyProfile
(Inherited from Parser)
Public propertyRuleContext
(Inherited from Parser)
Public propertyRuleIndexMapGet a map from rule names to rule indexes.
(Inherited from RecognizerIToken, ParserATNSimulator)
Public propertyRuleNames
(Overrides Recognizer.RuleNames)
Public propertySerializedAtn
(Overrides Recognizer.SerializedAtn)
Public propertySourceName
(Inherited from Parser)
Public propertyState Indicate that the recognizer has changed internal state that is consistent with the ATN state passed in.
(Inherited from RecognizerIToken, ParserATNSimulator)
Public propertyTokenFactory
(Inherited from Parser)
Public propertyTokenStream
(Inherited from Parser)
Public propertyTokenTypeMapGet a map from token names to token types.
(Inherited from RecognizerIToken, ParserATNSimulator)
Public propertyTrace During a parse is sometimes useful to listen in on the rule entry and exit events as well as token matches.
(Inherited from Parser)
Public propertyTrimParseTreeTrim the internal lists of the parse tree during parsing to conserve memory.
(Inherited from Parser)
Public propertyVocabulary
(Overrides Recognizer.Vocabulary)
Top
See Also