C# Class Antlr4.Tool.Alternative

Inheritance: AttributeResolver
Mostrar archivo Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
actions IList
altNum int
ast AltAST
labelDefs LabelElementPair>.Runtime.Misc.MultiMap
rule Rule
ruleRefs GrammarAST>.Runtime.Misc.MultiMap
ruleRefsInActions GrammarAST>.Runtime.Misc.MultiMap
tokenRefs TerminalAST>.Runtime.Misc.MultiMap
tokenRefsInActions GrammarAST>.Runtime.Misc.MultiMap

Public Methods

Method Description
Alternative ( Rule r, int altNum ) : System.Collections.Generic
GetAnyLabelDef ( string x ) : LabelElementPair
ResolveToAttribute ( string x, ActionAST node ) : Attribute
ResolveToAttribute ( string x, string y, ActionAST node ) : Attribute
ResolveToRule ( string x ) : Rule
ResolvesToAttributeDict ( string x, ActionAST node ) : bool
ResolvesToLabel ( string x, ActionAST node ) : bool
ResolvesToListLabel ( string x, ActionAST node ) : bool
ResolvesToToken ( string x, ActionAST node ) : bool

Method Details

Alternative() public method

public Alternative ( Rule r, int altNum ) : System.Collections.Generic
r Rule
altNum int
return System.Collections.Generic

GetAnyLabelDef() public method

public GetAnyLabelDef ( string x ) : LabelElementPair
x string
return LabelElementPair

ResolveToAttribute() public method

public ResolveToAttribute ( string x, ActionAST node ) : Attribute
x string
node Antlr4.Tool.Ast.ActionAST
return Attribute

ResolveToAttribute() public method

public ResolveToAttribute ( string x, string y, ActionAST node ) : Attribute
x string
y string
node Antlr4.Tool.Ast.ActionAST
return Attribute

ResolveToRule() public method

public ResolveToRule ( string x ) : Rule
x string
return Rule

ResolvesToAttributeDict() public method

public ResolvesToAttributeDict ( string x, ActionAST node ) : bool
x string
node Antlr4.Tool.Ast.ActionAST
return bool

ResolvesToLabel() public method

public ResolvesToLabel ( string x, ActionAST node ) : bool
x string
node Antlr4.Tool.Ast.ActionAST
return bool

ResolvesToListLabel() public method

public ResolvesToListLabel ( string x, ActionAST node ) : bool
x string
node Antlr4.Tool.Ast.ActionAST
return bool

ResolvesToToken() public method

public ResolvesToToken ( string x, ActionAST node ) : bool
x string
node Antlr4.Tool.Ast.ActionAST
return bool

Property Details

actions public_oe property

public IList actions
return IList

altNum public_oe property

public int altNum
return int

ast public_oe property

public AltAST ast
return AltAST

labelDefs public_oe property

public Runtime.Misc.MultiMap labelDefs
return LabelElementPair>.Runtime.Misc.MultiMap

rule public_oe property

public Rule,Antlr4.Tool rule
return Rule

ruleRefs public_oe property

public Runtime.Misc.MultiMap ruleRefs
return GrammarAST>.Runtime.Misc.MultiMap

ruleRefsInActions public_oe property

public Runtime.Misc.MultiMap ruleRefsInActions
return GrammarAST>.Runtime.Misc.MultiMap

tokenRefs public_oe property

public Runtime.Misc.MultiMap tokenRefs
return TerminalAST>.Runtime.Misc.MultiMap

tokenRefsInActions public_oe property

public Runtime.Misc.MultiMap tokenRefsInActions
return GrammarAST>.Runtime.Misc.MultiMap