- java.lang.Object
-
- com.github.The127.MScript.models.impl.Precedence3Model.Item
-
- All Implemented Interfaces:
ICompilableModel
- Enclosing class:
- Precedence3Model
private class Precedence3Model.Item extends java.lang.Object implements ICompilableModel
-
-
Field Summary
Fields Modifier and Type Field Description private Precedence4Model
model
private Precedence3Model.Operation
operation
-
Constructor Summary
Constructors Modifier Constructor Description private
Item(Precedence3Model.Operation operation, Precedence4Model model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
compile(IScriptContext ctx)
Compiles the model into an intermediate form where labels still have to be resolved.
-
-
-
Field Detail
-
operation
private final Precedence3Model.Operation operation
-
model
private final Precedence4Model model
-
-
Constructor Detail
-
Item
private Item(Precedence3Model.Operation operation, Precedence4Model model)
-
-
Method Detail
-
compile
public java.lang.String compile(IScriptContext ctx)
Description copied from interface:ICompilableModel
Compiles the model into an intermediate form where labels still have to be resolved.- Specified by:
compile
in interfaceICompilableModel
- Parameters:
ctx
- The compilation context.- Returns:
- A string representation of the model in an intermediate format.
-
-