Class Case
- java.lang.Object
-
- org.lemsml.jlems.core.type.dynamics.ExpressionValued
-
- org.lemsml.jlems.core.type.dynamics.Case
-
- All Implemented Interfaces:
Valued
,IVisitable
,Named
public class Case extends ExpressionValued implements Valued
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
condition
(package private) ParseTree
conditionParseTree
java.lang.String
name
(package private) ParseTree
valueParseTree
-
Fields inherited from class org.lemsml.jlems.core.type.dynamics.ExpressionValued
mathInline, parseTree, value
-
-
Constructor Summary
Constructors Constructor Description Case()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimensional
getDimensionality(java.util.HashMap<java.lang.String,Dimensional> dimHM)
java.lang.String
getName()
double
getValue()
Case
makeCopy()
void
resolve(Lems lems, LemsCollection<Dimension> dimensions, Parser parser)
-
Methods inherited from class org.lemsml.jlems.core.type.dynamics.ExpressionValued
copyInto, extract, getParseTree, getValueExpression, setValue
-
-
-
-
Method Detail
-
resolve
public void resolve(Lems lems, LemsCollection<Dimension> dimensions, Parser parser) throws ParseError
- Throws:
ParseError
-
getDimensionality
public Dimensional getDimensionality(java.util.HashMap<java.lang.String,Dimensional> dimHM) throws ContentError
- Throws:
ContentError
-
makeCopy
public Case makeCopy()
-
-