C# Класс Antlr4.Tool.Ast.GrammarAST

Наследование: Antlr.Runtime.Tree.CommonTree
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
atnState Antlr4.Runtime.Atn.ATNState
g Grammar
textOverride string

Открытые методы

Метод Описание
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

Описание методов

DeleteChild() публичный метод

public DeleteChild ( Antlr.Runtime.Tree.ITree t ) : bool
t Antlr.Runtime.Tree.ITree
Результат bool

DupNode() публичный метод

public DupNode ( ) : Antlr.Runtime.Tree.ITree
Результат Antlr.Runtime.Tree.ITree

DupTree() публичный метод

public DupTree ( ) : GrammarAST
Результат GrammarAST

GetAllChildrenWithType() публичный метод

public GetAllChildrenWithType ( int type ) : IList
type int
Результат IList

GetAltLabel() публичный метод

public GetAltLabel ( ) : string
Результат string

GetChildrenAsArray() публичный метод

public GetChildrenAsArray ( ) : Antlr4.Tool.Ast.GrammarAST[]
Результат Antlr4.Tool.Ast.GrammarAST[]

GetFirstChildWithType() публичный метод

public GetFirstChildWithType ( int type ) : Antlr.Runtime.Tree.ITree
type int
Результат Antlr.Runtime.Tree.ITree

GetFirstDescendantWithType() публичный метод

public GetFirstDescendantWithType ( Antlr types ) : Antlr.Runtime.Tree.CommonTree
types Antlr
Результат Antlr.Runtime.Tree.CommonTree

GetFirstDescendantWithType() публичный метод

public GetFirstDescendantWithType ( int type ) : Antlr.Runtime.Tree.CommonTree
type int
Результат Antlr.Runtime.Tree.CommonTree

GetNodeWithTokenIndex() публичный метод

public GetNodeWithTokenIndex ( int index ) : GrammarAST
index int
Результат GrammarAST

GetNodesWithType() публичный метод

public GetNodesWithType ( Antlr4.Runtime.Misc.IntervalSet types ) : IList
types Antlr4.Runtime.Misc.IntervalSet
Результат IList

GetNodesWithType() публичный метод

public GetNodesWithType ( int ttype ) : IList
ttype int
Результат IList

GetNodesWithTypePreorderDFS() публичный метод

public GetNodesWithTypePreorderDFS ( Antlr4.Runtime.Misc.IntervalSet types ) : IList
types Antlr4.Runtime.Misc.IntervalSet
Результат IList

GetNodesWithTypePreorderDFS_() публичный метод

public GetNodesWithTypePreorderDFS_ ( IList nodes, Antlr4.Runtime.Misc.IntervalSet types ) : void
nodes IList
types Antlr4.Runtime.Misc.IntervalSet
Результат void

GetOutermostAltNode() публичный метод

public GetOutermostAltNode ( ) : AltAST
Результат AltAST

GrammarAST() публичный метод

public GrammarAST ( ) : System.Collections.Generic
Результат System.Collections.Generic

GrammarAST() публичный метод

public GrammarAST ( Antlr.Runtime.IToken t ) : System.Collections.Generic
t Antlr.Runtime.IToken
Результат System.Collections.Generic

GrammarAST() публичный метод

public GrammarAST ( GrammarAST node ) : System.Collections.Generic
node GrammarAST
Результат System.Collections.Generic

GrammarAST() публичный метод

public GrammarAST ( int type ) : System.Collections.Generic
type int
Результат System.Collections.Generic

GrammarAST() публичный метод

public GrammarAST ( int type, Antlr.Runtime.IToken t ) : System.Collections.Generic
type int
t Antlr.Runtime.IToken
Результат System.Collections.Generic

GrammarAST() публичный метод

public GrammarAST ( int type, Antlr.Runtime.IToken t, string text ) : System.Collections.Generic
type int
t Antlr.Runtime.IToken
text string
Результат System.Collections.Generic

SetText() публичный метод

public SetText ( string text ) : void
text string
Результат void

SetType() публичный метод

public SetType ( int type ) : void
type int
Результат void

ToTokenString() публичный метод

public ToTokenString ( ) : string
Результат string

Visit() публичный метод

public Visit ( GrammarASTVisitor v ) : object
v GrammarASTVisitor
Результат object

Описание свойств

atnState публичное свойство

public ATNState,Antlr4.Runtime.Atn atnState
Результат Antlr4.Runtime.Atn.ATNState

g публичное свойство

public Grammar g
Результат Grammar

textOverride публичное свойство

public string textOverride
Результат string