1
0
mirror of https://github.com/DanilaFe/abacus synced 2026-01-11 17:45:20 +00:00

Add operator types.

This commit is contained in:
2017-07-28 10:26:25 -07:00
parent c9fad36d16
commit 42393ca6a6
5 changed files with 40 additions and 8 deletions

View File

@@ -269,7 +269,10 @@ public class Window extends JFrame implements PluginListener {
}
for(String operator : manager.getAllOperators()){
Operator operatorObject = manager.operatorFor(operator);
builder.registerOperator(operator, operatorObject.getPrecedence(), operatorObject.getAssociativity());
builder.registerOperator(operator,
operatorObject.getAssociativity(),
operatorObject.getType(),
operatorObject.getPrecedence());
}
}