Cdss |
The CdssLibraryParser type exposes the following members.
| Name | Description | |
|---|---|---|
| Action | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| AddContextToParseTree | (Inherited from Parser) | |
| AddErrorListener | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| AddParseListener |
Registers
listener
to receive events during the parsing process.
To support output-preserving grammar transformations (including but not limited to left-recursion removal, automated left-factoring, and optimized code generation), calls to listener methods during the parse may differ substantially from calls made by Default used after the parse is complete. In particular, rule entry and exit events may occur in a different order during the parse than after the parser. In addition, calls to certain rule entry methods may be omitted. With the following specific exceptions, calls to listener events are deterministic, i.e. for identical input the calls to listener methods will be the same.
(Inherited from Parser) | |
| all_logic | ||
| any_logic | ||
| apply_action_statement | ||
| assign_action_statement | ||
| CompileParseTreePattern(String, Int32) | The preferred method of getting a tree pattern. (Inherited from Parser) | |
| CompileParseTreePattern(String, Int32, Lexer) |
The same as
CompileParseTreePattern(String, Int32)
but specify a
Lexer
rather than trying to deduce it from this parser.
(Inherited from Parser) | |
| Consume |
Consume and return the
#getCurrentToken
current symbol
.
E.g., given the following input with A being the current lookahead symbol, this function moves the cursor to B and returns A .
A B
^
If the parser is not in error recovery mode, the consumed symbol is added
to the parse tree using
AddChild(IToken)
, and
VisitTerminal(ITerminalNode)
is called on any parse listeners.
If the parser is in error recovery mode, the consumed symbol is
added to the parse tree using
AddErrorNode(IToken)
, and
VisitErrorNode(IErrorNode)
is called on any parse
listeners.
(Inherited from Parser) | |
| CreateTokenTypeMap | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| csharp_logic | ||
| data_block | ||
| define_fact | ||
| define_model | ||
| define_protocol | ||
| define_rule | ||
| DumpDFA | For debugging and other purposes. (Inherited from Parser) | |
| EnterLeftFactoredRule | (Inherited from Parser) | |
| EnterOuterAlt | (Inherited from Parser) | |
| EnterRecursionRule(ParserRuleContext, Int32) | (Inherited from Parser) Obsolete | |
| EnterRecursionRule(ParserRuleContext, Int32, Int32, Int32) | (Inherited from Parser) | |
| EnterRule | Always called by generated parsers upon entry to a rule. (Inherited from Parser) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExitRule | (Inherited from Parser) | |
| fact_computation | ||
| fact_having_statements | ||
| fact_normalization | ||
| fact_ref | ||
| fact_reference_or_computation | ||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetATNWithBypassAlts |
The ATN with bypass alternatives is expensive to create so we create it
lazily.
(Inherited from Parser) | |
| GetDFAStrings | For debugging and other purposes. (Inherited from Parser) | |
| GetErrorHeader | What is the error header, normally line/character position information? (Inherited from RecognizerIToken, ParserATNSimulator) | |
| GetExpectedTokens |
Computes the set of input symbols which could follow the current parser
state and context, as given by
State
and
Context
,
respectively.
(Inherited from Parser) | |
| GetExpectedTokensWithinCurrentRule | (Inherited from Parser) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetInvokingContext | (Inherited from Parser) | |
| GetRuleIndex |
Get a rule's index (i.e.,
RULE_ruleName
field) or -1 if not found.
(Inherited from Parser) | |
| GetRuleInvocationStack |
Return List<String> of the rule names in your parser instance
leading up to a call to the current rule.
(Inherited from Parser) | |
| GetRuleInvocationStack(RuleContext) | (Inherited from Parser) | |
| GetRuleInvocationStackAsString | (Inherited from Parser) | |
| GetTokenErrorDisplay |
How should a token be displayed in an error message? The default
is to display just the text, but during development you might
want to have a lot of information spit out.
(Inherited from RecognizerIToken, ParserATNSimulator) Obsolete | |
| GetTokenType | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| having_context | ||
| having_id | ||
| having_model | ||
| having_negation | ||
| having_oid | ||
| having_priority | ||
| having_scope | ||
| having_statements | ||
| having_status | ||
| having_type | ||
| having_uuid | ||
| hdsi_logic | ||
| include_definition | ||
| InContext | (Inherited from Parser) | |
| inline_rule_definition | ||
| IsExpectedToken |
Checks whether or not
symbol
can follow the current state in the
ATN. The behavior of this method is equivalent to the following, but is
implemented such that the complete context-sensitive follow set does not
need to be explicitly constructed.
return getExpectedTokens().contains(symbol);
(Inherited from Parser) | |
| library | ||
| library_definition | ||
| library_definitions | ||
| logic_block | ||
| logic_definitions | ||
| logic_having_statements | ||
| Match |
Match current input symbol against
ttype
. If the symbol type
matches,
ReportMatch(Parser)
and
Consume
are
called to complete the match process.
If the symbol type does not match, RecoverInline(Parser) is called on the current error strategy to attempt recovery. If BuildParseTree is and the token index of the symbol returned by RecoverInline(Parser) is -1, the symbol is added to the parse tree by calling AddErrorNode(IToken) . (Inherited from Parser) | |
| MatchWildcard | Match current input symbol as a wildcard. (Inherited from Parser) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| metadata_author_statement | ||
| metadata_documentation_statement | ||
| metadata_statement | ||
| metadata_version_statement | ||
| none_logic | ||
| NotifyErrorListeners(String) | (Inherited from Parser) | |
| NotifyErrorListeners(IToken, String, RecognitionException) | (Inherited from Parser) | |
| Precpred | (Inherited from Parser) | |
| propose_action_statement | ||
| protocol_having_statements | ||
| PushNewRecursionContext |
Like
EnterRule(ParserRuleContext, Int32, Int32)
but for recursive rules.
(Inherited from Parser) | |
| query_logic | ||
| raise_action_statement | ||
| RemoveErrorListener | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| RemoveErrorListeners | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| RemoveParseListener |
Remove
listener
from the list of parse listeners.
If listener is or has not been added as a parse listener, this method does nothing. (Inherited from Parser) | |
| RemoveParseListeners | Remove all parse listeners. (Inherited from Parser) | |
| repeat_action_statement | ||
| Reset | reset the parser's state (Inherited from Parser) | |
| Sempred | (Inherited from RecognizerIToken, ParserATNSimulator) | |
| then_action_statements | ||
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TriggerEnterRuleEvent | Notify any parse listeners of an enter rule event. (Inherited from Parser) | |
| TriggerExitRuleEvent | Notify any parse listeners of an exit rule event. (Inherited from Parser) | |
| UnrollRecursionContexts | (Inherited from Parser) | |
| using_model | ||
| when_guard_condition | ||
| with_effective |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |