程序包 org.antlr.tool

类 RuleLabelScope

    • 字段详细资料

      • predefinedRulePropertiesScope

        public static AttributeScope predefinedRulePropertiesScope
        Rules have a predefined set of attributes as well as the return values. 'text' needs to be computed though so.
      • predefinedTreeRulePropertiesScope

        public static AttributeScope predefinedTreeRulePropertiesScope
      • predefinedLexerRulePropertiesScope

        public static AttributeScope predefinedLexerRulePropertiesScope
      • grammarTypeToRulePropertiesScope

        public static AttributeScope[] grammarTypeToRulePropertiesScope
      • referencedRule

        public Rule referencedRule
    • 构造器详细资料

      • RuleLabelScope

        public RuleLabelScope​(Rule referencedRule,
                              Token actionToken)
    • 方法详细资料

      • getAttribute

        public Attribute getAttribute​(java.lang.String name)
        If you label a rule reference, you can access that rule's return values as well as any predefined attributes.
        覆盖:
        getAttribute 在类中 AttributeScope