类的使用
org.antlr.tool.AttributeScope
-
使用AttributeScope的程序包 程序包 说明 org.antlr.tool -
-
org.antlr.tool中AttributeScope的使用
org.antlr.tool中AttributeScope的子类 修饰符和类型 类 说明 class
RuleLabelScope
声明为AttributeScope的org.antlr.tool中的字段 修饰符和类型 字段 说明 static AttributeScope[]
RuleLabelScope. grammarTypeToRulePropertiesScope
AttributeScope
Rule. parameterScope
static AttributeScope
RuleLabelScope. predefinedLexerRulePropertiesScope
static AttributeScope
RuleLabelScope. predefinedRulePropertiesScope
Rules have a predefined set of attributes as well as the return values.static AttributeScope
RuleLabelScope. predefinedTreeRulePropertiesScope
AttributeScope
Rule. returnScope
The return values of a rule and predefined rule attributesAttributeScope
Rule. ruleScope
the attributes defined with "scope {...}" inside a rulestatic AttributeScope
AttributeScope. tokenScope
All token scopes (token labels) share the same fixed scope of of predefined attributes.类型参数类型为AttributeScope的org.antlr.tool中的字段 修饰符和类型 字段 说明 protected java.util.Map<java.lang.String,AttributeScope>
Grammar. scopes
Track the scopes defined outside of rules and the scopes associated with all rules (even if empty).返回AttributeScope的org.antlr.tool中的方法 修饰符和类型 方法 说明 AttributeScope
Grammar. createParameterScope(java.lang.String ruleName, Token argAction)
AttributeScope
Grammar. createReturnScope(java.lang.String ruleName, Token retAction)
AttributeScope
Grammar. createRuleScope(java.lang.String ruleName, Token scopeAction)
AttributeScope
Grammar. defineGlobalScope(java.lang.String name, Token scopeAction)
AttributeScope
Rule. getAttributeScope(java.lang.String name)
Return the scope containing nameAttributeScope
Grammar. getGlobalScope(java.lang.String name)
Get a global scopeAttributeScope
Rule. getLocalAttributeScope(java.lang.String name)
Get the arg, return value, or predefined property for this rule返回变量类型为AttributeScope的类型的org.antlr.tool中的方法 修饰符和类型 方法 说明 java.util.Map<java.lang.String,AttributeScope>
Grammar. getGlobalScopes()
参数类型为AttributeScope的org.antlr.tool中的方法 修饰符和类型 方法 说明 protected void
NameSpaceChecker. checkForGlobalScopeTokenConflict(AttributeScope scope)
java.util.Set<java.lang.String>
AttributeScope. intersection(AttributeScope other)
Return the set of keys that collide from this and other.
-