Click or drag to resize

With_effectiveContext Methods

The CdssLibraryParserWith_effectiveContext type exposes the following members.

Methods
 NameDescription
Public methodAccept``1(IParseTreeVisitorUMP)
(Inherited from RuleContext)
Public methodAcceptTResult(IParseTreeVisitorTResult)
(Overrides RuleContext.Accept``1(IParseTreeVisitorUMP))
Public methodAddChild(ITerminalNode)Does not set parent link; other add methods do that
(Inherited from ParserRuleContext)
Public methodAddChild(IToken)
(Inherited from ParserRuleContext)
Public methodAddChild(RuleContext)
(Inherited from ParserRuleContext)
Public methodAddErrorNode
(Inherited from ParserRuleContext)
Public methodCopyFrom COPY a ctx (I'm deliberately not using copy constructor) to avoid confusion with creating node with parent. Does not copy children. This is used in the generated parser code to flip a generic XContext node for rule X to a YContext for alt label Y. In that sense, it is not really a generic copy function. If we do an error sync() at start of a rule, we might add error nodes to the generic XContext so this function must copy those nodes to the YContext as well else they are lost!
(Inherited from ParserRuleContext)
Public methodcsharp_logic 
Public methodcsharp_logic(Int32) 
Public methodDepth
(Inherited from RuleContext)
Public methodEnterRule
(Inherited from ParserRuleContext)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExitRule
(Inherited from ParserRuleContext)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFROM 
Public methodgetAltNumber
(Inherited from RuleContext)
Public methodGetChild
(Inherited from ParserRuleContext)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetRuleContext``1
(Inherited from ParserRuleContext)
Public methodGetRuleContexts``1
(Inherited from ParserRuleContext)
Public methodGetTextReturn the combined text of all child nodes.
(Inherited from RuleContext)
Public methodGetToken
(Inherited from ParserRuleContext)
Public methodGetTokens
(Inherited from ParserRuleContext)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveLastChild Used by enterOuterAlt to toss out a RuleContext previously added as we entered a rule.
(Inherited from ParserRuleContext)
Public methodsetAltNumber
(Inherited from RuleContext)
Public methodToInfoStringUsed for rule context info debugging during parse-time, not so much for ATN debugging
(Inherited from ParserRuleContext)
Public methodToString
(Inherited from RuleContext)
Public methodToString(IListString)
(Inherited from RuleContext)
Public methodToString(IRecognizer)
(Inherited from RuleContext)
Public methodToString(IListString, RuleContext)
(Inherited from RuleContext)
Public methodToString(IRecognizer, RuleContext)
(Inherited from RuleContext)
Public methodToStringTree
(Inherited from RuleContext)
Public methodToStringTree(IListString) Print out a whole tree, not just a node, in LISP format (root child1 ..
(Inherited from RuleContext)
Public methodToStringTree(Parser) Print out a whole tree, not just a node, in LISP format (root child1 ..
(Inherited from RuleContext)
Public methodUNTIL 
Public methodVALID 
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn 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)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also