程序包 org.antlr.tool

类 Grammar.LabelElementPair

  • 封闭类:
    Grammar

    public class Grammar.LabelElementPair
    extends java.lang.Object
    • 字段详细资料

      • label

        public Token label
      • referencedRuleName

        public java.lang.String referencedRuleName
      • actionReferencesLabel

        public boolean actionReferencesLabel
        Has an action referenced the label? Set by ActionAnalysis.g Currently only set for rule labels.
      • type

        public int type
    • 构造器详细资料

      • LabelElementPair

        public LabelElementPair​(Token label,
                                GrammarAST elementRef)
    • 方法详细资料

      • getReferencedRule

        public Rule getReferencedRule()
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object