类的使用
org.antlr.tool.AttributeScope
-
使用AttributeScope的程序包 程序包 说明 org.antlr.tool -
-
org.antlr.tool中AttributeScope的使用
org.antlr.tool中AttributeScope的子类 修饰符和类型 类 说明 classRuleLabelScope声明为AttributeScope的org.antlr.tool中的字段 修饰符和类型 字段 说明 static AttributeScope[]RuleLabelScope. grammarTypeToRulePropertiesScopeAttributeScopeRule. parameterScopestatic AttributeScopeRuleLabelScope. predefinedLexerRulePropertiesScopestatic AttributeScopeRuleLabelScope. predefinedRulePropertiesScopeRules have a predefined set of attributes as well as the return values.static AttributeScopeRuleLabelScope. predefinedTreeRulePropertiesScopeAttributeScopeRule. returnScopeThe return values of a rule and predefined rule attributesAttributeScopeRule. ruleScopethe attributes defined with "scope {...}" inside a rulestatic AttributeScopeAttributeScope. tokenScopeAll 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. scopesTrack the scopes defined outside of rules and the scopes associated with all rules (even if empty).返回AttributeScope的org.antlr.tool中的方法 修饰符和类型 方法 说明 AttributeScopeGrammar. createParameterScope(java.lang.String ruleName, Token argAction)AttributeScopeGrammar. createReturnScope(java.lang.String ruleName, Token retAction)AttributeScopeGrammar. createRuleScope(java.lang.String ruleName, Token scopeAction)AttributeScopeGrammar. defineGlobalScope(java.lang.String name, Token scopeAction)AttributeScopeRule. getAttributeScope(java.lang.String name)Return the scope containing nameAttributeScopeGrammar. getGlobalScope(java.lang.String name)Get a global scopeAttributeScopeRule. 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 voidNameSpaceChecker. checkForGlobalScopeTokenConflict(AttributeScope scope)java.util.Set<java.lang.String>AttributeScope. intersection(AttributeScope other)Return the set of keys that collide from this and other.
-