C# Class Antlr4.Runtime.Tree.Xpath.XPathElement

Datei anzeigen Open project: antlr/antlr4 Class Usage Examples

Protected Properties

Property Type Description
invert bool
nodeName string

Public Methods

Method Description
Evaluate ( IParseTree t ) : ICollection

Given tree rooted at t return all nodes matched by this path element.

ToString ( ) : string
XPathElement ( string nodeName ) : System.Collections.Generic

Construct element like /ID or ID or /* etc... op is null if just node

Method Details

Evaluate() public abstract method

Given tree rooted at t return all nodes matched by this path element.
public abstract Evaluate ( IParseTree t ) : ICollection
t IParseTree
return ICollection

ToString() public method

public ToString ( ) : string
return string

XPathElement() public method

Construct element like /ID or ID or /* etc... op is null if just node
public XPathElement ( string nodeName ) : System.Collections.Generic
nodeName string
return System.Collections.Generic

Property Details

invert protected_oe property

protected bool invert
return bool

nodeName protected_oe property

protected string nodeName
return string