Without Parenthesis
This commit is contained in:
parent
70b389140b
commit
8931ef971a
2 changed files with 3 additions and 2 deletions
|
@ -134,6 +134,7 @@ public class JavaParser extends Parser<JavaFile> {
|
|||
// tokenizer.getTokens().addAll(build("(","ab","=","(","cd","&","(","ay","/","34",")",")",")"));
|
||||
// tokenizer.getTokens().addAll(build("(","ab","=","cd",")"));
|
||||
// tokenizer.getTokens().addAll(build("(","ab",")"));
|
||||
// tokenizer.getTokens().addAll(build("ab","=","cd","/","ef"));
|
||||
value_q0.seed(tokenizer, null);
|
||||
System.out.println("----");
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ public class Value extends JavaElement{
|
|||
private Token type; //make a concat later
|
||||
|
||||
public BiValue(Value left, Value right, Token operation){
|
||||
this.left = left;
|
||||
this.right = right;
|
||||
this.left = left.get() == null ? left : left.get();
|
||||
this.right = right.get() == null ? right : right.get();
|
||||
|
||||
this.type = operation;
|
||||
System.out.println(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue