warningw to be fixed separately
This commit is contained in:
parent
4545a8f5d0
commit
5778570faf
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue