Package org.cloudburstmc.mojava
Interface Expression
- All Known Implementing Classes:
ArrayAccessExpression,AssignExpression,BinaryOpExpression,BooleanExpression,BooleanNotExpression,BreakExpression,ContinueExpression,ForEachExpression,FuncCallExpression,LoopExpression,NameExpression,NumberExpression,ReturnExpression,StatementExpression,StringExpression,TernaryExpression,ThisExpression,UnaryMinusExpression,UnaryPlusExpression
public interface Expression
A parsed Molang AST node. Nodes are pure data — the compiler (
compiler.BytecodeCompiler)
reads them via their getters and emits bytecode. There is no tree-walking interpreter in the
library.-
Field Summary
Fields -
Method Summary
-
Field Details
-
attributes
-
-
Method Details
-
getOriginalString
String getOriginalString() -
setOriginalString
-
getAttributes
-