warningw to be fixed separately

This commit is contained in:
ericvergnaud 2014-06-06 23:54:52 +08:00
parent 4545a8f5d0
commit 5778570faf
3 changed files with 0 additions and 5 deletions

View File

@ -175,7 +175,6 @@ public class ActionTranslator implements ActionSplitterListener {
case RET: chunks.add(new RetValueRef(rf.ruleCtx, x.getText())); break;
case LOCAL: chunks.add(new LocalRef(nodeContext,x.getText())); break;
case PREDEFINED_RULE: chunks.add(getRulePropertyRef(x)); break;
default: // avoid warning
}
}
if ( node.resolver.resolvesToToken(x.getText(), node) ) {
@ -230,8 +229,6 @@ public class ActionTranslator implements ActionSplitterListener {
case TOKEN:
chunks.add(getTokenPropertyRef(x, y));
break;
default:
// avoid warning
}
}

View File

@ -47,7 +47,6 @@ import org.antlr.v4.tool.ast.GrammarAST;
import java.util.List;
/** */
@SuppressWarnings("unused")
public class InvokeRule extends RuleElement implements LabeledOp {
public String name;
public OrderedHashSet<Decl> labels = new OrderedHashSet<Decl>(); // TODO: should need just 1

View File

@ -38,7 +38,6 @@ import org.antlr.v4.tool.ast.GrammarAST;
import java.util.List;
/** */
@SuppressWarnings("unused")
public class LL1StarBlockSingleAlt extends LL1Loop {
public LL1StarBlockSingleAlt(OutputModelFactory factory, GrammarAST starRoot, List<CodeBlockForAlt> alts) {
super(factory, starRoot, alts);