diff --git a/tool/src/org/antlr/v4/tool/Grammar.java b/tool/src/org/antlr/v4/tool/Grammar.java index b53d8cef3..c5733cbb9 100644 --- a/tool/src/org/antlr/v4/tool/Grammar.java +++ b/tool/src/org/antlr/v4/tool/Grammar.java @@ -71,9 +71,6 @@ public class Grammar implements AttributeResolver { put("lexer:TOKEN_LABEL", AttributeDict.predefinedTokenDict); put("parser:RULE_LABEL", Rule.predefinedRulePropertiesDict); put("parser:TOKEN_LABEL", AttributeDict.predefinedTokenDict); - put("tree:RULE_LABEL", Rule.predefinedTreeRulePropertiesDict); - put("tree:TOKEN_LABEL", AttributeDict.predefinedTokenDict); - put("tree:WILDCARD_TREE_LABEL", AttributeDict.predefinedTokenDict); put("combined:RULE_LABEL", Rule.predefinedRulePropertiesDict); put("combined:TOKEN_LABEL", AttributeDict.predefinedTokenDict); }}; diff --git a/tool/src/org/antlr/v4/tool/Rule.java b/tool/src/org/antlr/v4/tool/Rule.java index d9edeeec6..9fced0924 100644 --- a/tool/src/org/antlr/v4/tool/Rule.java +++ b/tool/src/org/antlr/v4/tool/Rule.java @@ -53,15 +53,6 @@ public class Rule implements AttributeResolver { add(new Attribute("ctx")); }}; - public static AttributeDict predefinedTreeRulePropertiesDict = - new AttributeDict(AttributeDict.DictType.PREDEFINED_TREE_RULE) {{ - add(new Attribute("text")); - add(new Attribute("start")); // note: no stop; not meaningful - add(new Attribute("tree")); - add(new Attribute("st")); - add(new Attribute("ctx")); - }}; - public static AttributeDict predefinedLexerRulePropertiesDict = new AttributeDict(AttributeDict.DictType.PREDEFINED_LEXER_RULE) {{ add(new Attribute("text"));