diff options
Diffstat (limited to 'dice-lang/src/main/java/bjc/dicelang/ast/IDiceASTNode.java')
| -rw-r--r-- | dice-lang/src/main/java/bjc/dicelang/ast/IDiceASTNode.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dice-lang/src/main/java/bjc/dicelang/ast/IDiceASTNode.java b/dice-lang/src/main/java/bjc/dicelang/ast/IDiceASTNode.java index 439bdac..38a1cc1 100644 --- a/dice-lang/src/main/java/bjc/dicelang/ast/IDiceASTNode.java +++ b/dice-lang/src/main/java/bjc/dicelang/ast/IDiceASTNode.java @@ -13,4 +13,11 @@ public interface IDiceASTNode { * @return Whether or not this node represents an operator */ public boolean isOperator(); -} + + /** + * Get the type of AST node this node is + * + * @return The type of AST node this AST node is + */ + public DiceASTType getType(); +}
\ No newline at end of file |
