C# Class Antlr4.Tool.Ast.GrammarAST

Inheritance: Antlr.Runtime.Tree.CommonTree
Afficher le fichier Open project: sharwell/antlr4cs Class Usage Examples

Méthodes publiques

Свойство Type Description
atnState Antlr4.Runtime.Atn.ATNState
g Grammar
textOverride string

Méthodes publiques

Méthode Description
DeleteChild ( Antlr.Runtime.Tree.ITree t ) : bool
DupNode ( ) : Antlr.Runtime.Tree.ITree
DupTree ( ) : GrammarAST
GetAllChildrenWithType ( int type ) : IList
GetAltLabel ( ) : string
GetChildrenAsArray ( ) : Antlr4.Tool.Ast.GrammarAST[]
GetFirstChildWithType ( int type ) : Antlr.Runtime.Tree.ITree
GetFirstDescendantWithType ( Antlr types ) : Antlr.Runtime.Tree.CommonTree
GetFirstDescendantWithType ( int type ) : Antlr.Runtime.Tree.CommonTree
GetNodeWithTokenIndex ( int index ) : GrammarAST
GetNodesWithType ( Antlr4.Runtime.Misc.IntervalSet types ) : IList
GetNodesWithType ( int ttype ) : IList
GetNodesWithTypePreorderDFS ( Antlr4.Runtime.Misc.IntervalSet types ) : IList
GetNodesWithTypePreorderDFS_ ( IList nodes, Antlr4.Runtime.Misc.IntervalSet types ) : void
GetOutermostAltNode ( ) : AltAST
GrammarAST ( ) : System.Collections.Generic
GrammarAST ( Antlr.Runtime.IToken t ) : System.Collections.Generic
GrammarAST ( GrammarAST node ) : System.Collections.Generic
GrammarAST ( int type ) : System.Collections.Generic
GrammarAST ( int type, Antlr.Runtime.IToken t ) : System.Collections.Generic
GrammarAST ( int type, Antlr.Runtime.IToken t, string text ) : System.Collections.Generic
SetText ( string text ) : void
SetType ( int type ) : void
ToTokenString ( ) : string
Visit ( GrammarASTVisitor v ) : object

Method Details

DeleteChild() public méthode

public DeleteChild ( Antlr.Runtime.Tree.ITree t ) : bool
t Antlr.Runtime.Tree.ITree
Résultat bool

DupNode() public méthode

public DupNode ( ) : Antlr.Runtime.Tree.ITree
Résultat Antlr.Runtime.Tree.ITree

DupTree() public méthode

public DupTree ( ) : GrammarAST
Résultat GrammarAST

GetAllChildrenWithType() public méthode

public GetAllChildrenWithType ( int type ) : IList
type int
Résultat IList

GetAltLabel() public méthode

public GetAltLabel ( ) : string
Résultat string

GetChildrenAsArray() public méthode

public GetChildrenAsArray ( ) : Antlr4.Tool.Ast.GrammarAST[]
Résultat Antlr4.Tool.Ast.GrammarAST[]

GetFirstChildWithType() public méthode

public GetFirstChildWithType ( int type ) : Antlr.Runtime.Tree.ITree
type int
Résultat Antlr.Runtime.Tree.ITree

GetFirstDescendantWithType() public méthode

public GetFirstDescendantWithType ( Antlr types ) : Antlr.Runtime.Tree.CommonTree
types Antlr
Résultat Antlr.Runtime.Tree.CommonTree

GetFirstDescendantWithType() public méthode

public GetFirstDescendantWithType ( int type ) : Antlr.Runtime.Tree.CommonTree
type int
Résultat Antlr.Runtime.Tree.CommonTree

GetNodeWithTokenIndex() public méthode

public GetNodeWithTokenIndex ( int index ) : GrammarAST
index int
Résultat GrammarAST

GetNodesWithType() public méthode

public GetNodesWithType ( Antlr4.Runtime.Misc.IntervalSet types ) : IList
types Antlr4.Runtime.Misc.IntervalSet
Résultat IList

GetNodesWithType() public méthode

public GetNodesWithType ( int ttype ) : IList
ttype int
Résultat IList

GetNodesWithTypePreorderDFS() public méthode

public GetNodesWithTypePreorderDFS ( Antlr4.Runtime.Misc.IntervalSet types ) : IList
types Antlr4.Runtime.Misc.IntervalSet
Résultat IList

GetNodesWithTypePreorderDFS_() public méthode

public GetNodesWithTypePreorderDFS_ ( IList nodes, Antlr4.Runtime.Misc.IntervalSet types ) : void
nodes IList
types Antlr4.Runtime.Misc.IntervalSet
Résultat void

GetOutermostAltNode() public méthode

public GetOutermostAltNode ( ) : AltAST
Résultat AltAST

GrammarAST() public méthode

public GrammarAST ( ) : System.Collections.Generic
Résultat System.Collections.Generic

GrammarAST() public méthode

public GrammarAST ( Antlr.Runtime.IToken t ) : System.Collections.Generic
t Antlr.Runtime.IToken
Résultat System.Collections.Generic

GrammarAST() public méthode

public GrammarAST ( GrammarAST node ) : System.Collections.Generic
node GrammarAST
Résultat System.Collections.Generic

GrammarAST() public méthode

public GrammarAST ( int type ) : System.Collections.Generic
type int
Résultat System.Collections.Generic

GrammarAST() public méthode

public GrammarAST ( int type, Antlr.Runtime.IToken t ) : System.Collections.Generic
type int
t Antlr.Runtime.IToken
Résultat System.Collections.Generic

GrammarAST() public méthode

public GrammarAST ( int type, Antlr.Runtime.IToken t, string text ) : System.Collections.Generic
type int
t Antlr.Runtime.IToken
text string
Résultat System.Collections.Generic

SetText() public méthode

public SetText ( string text ) : void
text string
Résultat void

SetType() public méthode

public SetType ( int type ) : void
type int
Résultat void

ToTokenString() public méthode

public ToTokenString ( ) : string
Résultat string

Visit() public méthode

public Visit ( GrammarASTVisitor v ) : object
v GrammarASTVisitor
Résultat object

Property Details

atnState public_oe property

public ATNState,Antlr4.Runtime.Atn atnState
Résultat Antlr4.Runtime.Atn.ATNState

g public_oe property

public Grammar g
Résultat Grammar

textOverride public_oe property

public string textOverride
Résultat string