C# 클래스 Antlr4.Tool.Rule

상속: AttributeResolver
파일 보기 프로젝트 열기: sharwell/antlr4cs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
actionIndex int
actions IList
alt Antlr4.Tool.Alternative[]
args AttributeDict
ast Antlr4.Tool.Ast.RuleAST
exceptions IList
finallyAction Antlr4.Tool.Ast.ActionAST
g Grammar
index int
isStartRule bool
locals AttributeDict
mode string
modifiers IList
name string
namedActions ActionAST>.IDictionary
numberOfAlts int
predefinedRulePropertiesDict AttributeDict
retvals AttributeDict
validLexerCommands ISet

공개 메소드들

메소드 설명
DefineActionInAlt ( int currentAlt, ActionAST actionAST ) : void
DefineLexerAction ( ActionAST actionAST ) : void
DefinePredicateInAlt ( int currentAlt, PredAST predAST ) : void
Equals ( object obj ) : bool
GetAltLabels ( ) : IDictionary>>
GetAnyLabelDef ( string x ) : LabelElementPair
GetBaseContext ( ) : string
GetElementLabelDefs ( ) : LabelElementPair>.Runtime.Misc.MultiMap
GetElementLabelNames ( ) : ISet
GetHashCode ( ) : int
GetOriginalNumberOfAlts ( ) : int
GetPredefinedScope ( LabelType ltype ) : AttributeDict
GetTokenRefs ( ) : ISet
GetUnlabeledAltASTs ( ) : IList
HasAltSpecificContexts ( ) : bool
IsFragment ( ) : bool
ResolveRetvalOrProperty ( string y ) : Attribute
ResolveToAttribute ( string x, ActionAST node ) : Attribute
ResolveToAttribute ( string x, string y, ActionAST node ) : Attribute
ResolvesToAttributeDict ( string x, ActionAST node ) : bool
ResolvesToLabel ( string x, ActionAST node ) : bool
ResolvesToListLabel ( string x, ActionAST node ) : bool
ResolvesToToken ( string x, ActionAST node ) : bool
Rule ( Grammar g, string name, RuleAST ast, int numberOfAlts ) : System.Collections.Generic
SetBaseContext ( string baseContext ) : void
ToString ( ) : string
resolveToRule ( string x ) : Rule

비공개 메소드들

메소드 설명
Rule ( ) : System.Collections.Generic

메소드 상세

DefineActionInAlt() 공개 메소드

public DefineActionInAlt ( int currentAlt, ActionAST actionAST ) : void
currentAlt int
actionAST Antlr4.Tool.Ast.ActionAST
리턴 void

DefineLexerAction() 공개 메소드

public DefineLexerAction ( ActionAST actionAST ) : void
actionAST Antlr4.Tool.Ast.ActionAST
리턴 void

DefinePredicateInAlt() 공개 메소드

public DefinePredicateInAlt ( int currentAlt, PredAST predAST ) : void
currentAlt int
predAST Antlr4.Tool.Ast.PredAST
리턴 void

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetAltLabels() 공개 메소드

public GetAltLabels ( ) : IDictionary>>
리턴 IDictionary>>

GetAnyLabelDef() 공개 메소드

public GetAnyLabelDef ( string x ) : LabelElementPair
x string
리턴 LabelElementPair

GetBaseContext() 공개 메소드

public GetBaseContext ( ) : string
리턴 string

GetElementLabelDefs() 공개 메소드

public GetElementLabelDefs ( ) : LabelElementPair>.Runtime.Misc.MultiMap
리턴 LabelElementPair>.Runtime.Misc.MultiMap

GetElementLabelNames() 공개 메소드

public GetElementLabelNames ( ) : ISet
리턴 ISet

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetOriginalNumberOfAlts() 공개 메소드

public GetOriginalNumberOfAlts ( ) : int
리턴 int

GetPredefinedScope() 공개 메소드

public GetPredefinedScope ( LabelType ltype ) : AttributeDict
ltype LabelType
리턴 AttributeDict

GetTokenRefs() 공개 메소드

public GetTokenRefs ( ) : ISet
리턴 ISet

GetUnlabeledAltASTs() 공개 메소드

public GetUnlabeledAltASTs ( ) : IList
리턴 IList

HasAltSpecificContexts() 공개 메소드

public HasAltSpecificContexts ( ) : bool
리턴 bool

IsFragment() 공개 메소드

public IsFragment ( ) : bool
리턴 bool

ResolveRetvalOrProperty() 공개 메소드

public ResolveRetvalOrProperty ( string y ) : Attribute
y string
리턴 Attribute

ResolveToAttribute() 공개 메소드

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

ResolveToAttribute() 공개 메소드

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

ResolvesToAttributeDict() 공개 메소드

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

ResolvesToLabel() 공개 메소드

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

ResolvesToListLabel() 공개 메소드

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

ResolvesToToken() 공개 메소드

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

Rule() 공개 메소드

public Rule ( Grammar g, string name, RuleAST ast, int numberOfAlts ) : System.Collections.Generic
g Grammar
name string
ast Antlr4.Tool.Ast.RuleAST
numberOfAlts int
리턴 System.Collections.Generic

SetBaseContext() 공개 메소드

public SetBaseContext ( string baseContext ) : void
baseContext string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

resolveToRule() 공개 메소드

public resolveToRule ( string x ) : Rule
x string
리턴 Rule

프로퍼티 상세

actionIndex 공개적으로 프로퍼티

public int actionIndex
리턴 int

actions 공개적으로 프로퍼티

public IList actions
리턴 IList

alt 공개적으로 프로퍼티

public Alternative[],Antlr4.Tool alt
리턴 Antlr4.Tool.Alternative[]

args 공개적으로 프로퍼티

public AttributeDict,Antlr4.Tool args
리턴 AttributeDict

ast 공개적으로 프로퍼티

public RuleAST,Antlr4.Tool.Ast ast
리턴 Antlr4.Tool.Ast.RuleAST

exceptions 공개적으로 프로퍼티

public IList exceptions
리턴 IList

finallyAction 공개적으로 프로퍼티

public ActionAST,Antlr4.Tool.Ast finallyAction
리턴 Antlr4.Tool.Ast.ActionAST

g 공개적으로 프로퍼티

public Grammar,Antlr4.Tool g
리턴 Grammar

index 공개적으로 프로퍼티

public int index
리턴 int

isStartRule 공개적으로 프로퍼티

public bool isStartRule
리턴 bool

locals 공개적으로 프로퍼티

public AttributeDict,Antlr4.Tool locals
리턴 AttributeDict

mode 공개적으로 프로퍼티

public string mode
리턴 string

modifiers 공개적으로 프로퍼티

public IList modifiers
리턴 IList

name 공개적으로 프로퍼티

public string name
리턴 string

namedActions 공개적으로 프로퍼티

public IDictionary namedActions
리턴 ActionAST>.IDictionary

numberOfAlts 공개적으로 프로퍼티

public int numberOfAlts
리턴 int

predefinedRulePropertiesDict 공개적으로 정적으로 프로퍼티

public static AttributeDict,Antlr4.Tool predefinedRulePropertiesDict
리턴 AttributeDict

retvals 공개적으로 프로퍼티

public AttributeDict,Antlr4.Tool retvals
리턴 AttributeDict

validLexerCommands 공개적으로 정적으로 프로퍼티

public static ISet validLexerCommands
리턴 ISet