Class MolangParser
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.armature.molang.MolangParser
Molang source to a tree of
MolangExpr.Nodes. A recursive descent parser over a small tokenizer; constant parts are
folded while parsing, so "2 * 45" costs nothing to run.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA node whose value never changes. -
Method Summary
-
Method Details
-
parse
- Throws:
IllegalArgumentException- if the source isn't Molang this parser knows
-