nicer parameter name
This commit is contained in:
parent
3ac46c98f2
commit
563b129a10
|
@ -134,7 +134,7 @@ public class LiveDataParserPanel {
|
||||||
return parser.translationUnit();
|
return parser.translationUnit();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ParseResult applyVariables(VariableValueSource valueSource, String s, SourceCodePainter painter, ParseTree tree) {
|
public static ParseResult applyVariables(VariableValueSource valueSource, String sourceCode, SourceCodePainter painter, ParseTree tree) {
|
||||||
Stack<Boolean> currentState = new Stack<>();
|
Stack<Boolean> currentState = new Stack<>();
|
||||||
currentState.add(Boolean.TRUE);
|
currentState.add(Boolean.TRUE);
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ public class LiveDataParserPanel {
|
||||||
new ParseTreeWalker().walk(new CPP14ParserBaseListener() {
|
new ParseTreeWalker().walk(new CPP14ParserBaseListener() {
|
||||||
@Override
|
@Override
|
||||||
public void enterStatement(CPP14Parser.StatementContext ctx) {
|
public void enterStatement(CPP14Parser.StatementContext ctx) {
|
||||||
String origin = getOrigin(ctx, s);
|
String origin = getOrigin(ctx, sourceCode);
|
||||||
// System.out.println("enter statement [" + origin + "]");
|
// System.out.println("enter statement [" + origin + "]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue