From 449c845dc053db318ebdf45edc4c2c8739862d2a Mon Sep 17 00:00:00 2001 From: parrt Date: Sat, 21 Jan 2012 15:29:33 -0800 Subject: [PATCH] more cleanup [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9882] --- tool/src/org/antlr/v4/tool/Grammar.java | 3 --- tool/src/org/antlr/v4/tool/Rule.java | 9 --------- 2 files changed, 12 deletions(-) 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"));