more cleanup

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9882]
This commit is contained in:
parrt 2012-01-21 15:29:33 -08:00
parent fd0d280e6a
commit 449c845dc0
2 changed files with 0 additions and 12 deletions

View File

@ -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);
}};

View File

@ -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"));