diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-17 15:02:01 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-17 15:02:01 -0400 |
| commit | 4fcefd106eb23295592e9cc23a0c5d63a28f9e76 (patch) | |
| tree | e262854fc899c1bba65a4029bd9a500291f77e9e /dice-lang/src/examples/java/bjc | |
| parent | 9a5aac3995cd92afbab0a4b29d42e61078ea0bb0 (diff) | |
Code maintenance and changes
Diffstat (limited to 'dice-lang/src/examples/java/bjc')
| -rw-r--r-- | dice-lang/src/examples/java/bjc/dicelang/examples/DiceASTLanguageTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dice-lang/src/examples/java/bjc/dicelang/examples/DiceASTLanguageTest.java b/dice-lang/src/examples/java/bjc/dicelang/examples/DiceASTLanguageTest.java index 94186dd..18f0562 100644 --- a/dice-lang/src/examples/java/bjc/dicelang/examples/DiceASTLanguageTest.java +++ b/dice-lang/src/examples/java/bjc/dicelang/examples/DiceASTLanguageTest.java @@ -9,7 +9,7 @@ import bjc.dicelang.ast.nodes.IDiceASTNode; import bjc.utils.funcdata.FunctionalMap; import bjc.utils.funcdata.IFunctionalList; import bjc.utils.funcdata.IFunctionalMap; -import bjc.utils.parserutils.AST; +import bjc.utils.funcdata.ITree; /** * Test interface for AST-based dice language @@ -32,12 +32,12 @@ public class DiceASTLanguageTest { String currentLine = inputSource.nextLine(); // The enviroment for variables - IFunctionalMap<String, AST<IDiceASTNode>> enviroment = + IFunctionalMap<String, ITree<IDiceASTNode>> enviroment = new FunctionalMap<>(); while (!currentLine.equalsIgnoreCase("quit")) { // Build an AST from the string expression - AST<IDiceASTNode> builtAST; + ITree<IDiceASTNode> builtAST; IFunctionalList<String> preparedTokens = DiceExpressionPreparer.prepareCommand(currentLine); |
