C# Class Antlr4.Misc.TreeParserExtensions

Show file Open project: sharwell/antlr4cs

Public Methods

Method Description
InContext ( this parser, string context ) : bool

Private Methods

Method Description
GetAncestor ( ITreeAdaptor adaptor, string tokenNames, object t, string goal ) : object

Helper for static InContext(ITreeAdaptor, string[], object, string).

InContext ( ITreeAdaptor adaptor, string tokenNames, object t, string context ) : bool

The worker for InContext(TreeParser, string). It's and full of parameters for testing purposes.

Method Details

InContext() public static method

public static InContext ( this parser, string context ) : bool
parser this
context string
return bool