Class NodeInfo
- java.lang.Object
-
- ru.ispras.microtesk.translator.nml.ir.expr.NodeInfo
-
public final class NodeInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeInfo.Coercion
static class
NodeInfo.Kind
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInfo
coerceTo(Type newType, NodeInfo.Coercion coercion)
java.util.List<Type>
getCoercionChain()
java.util.List<NodeInfo.Coercion>
getCoercions()
NodeInfo.Kind
getKind()
java.lang.Object
getSource()
Type
getType()
boolean
isCoersionApplied()
boolean
isLocation()
static NodeInfo
newConst(Type type)
static NodeInfo
newFunctionCall(NmlFunction f)
static NodeInfo
newLocation(Location location)
static NodeInfo
newOperator(Operator operator, Type type)
static NodeInfo
newOperator(Operator operator, Type type, boolean isLocation)
-
-
-
Method Detail
-
newFunctionCall
public static NodeInfo newFunctionCall(NmlFunction f)
-
coerceTo
public NodeInfo coerceTo(Type newType, NodeInfo.Coercion coercion)
-
getKind
public NodeInfo.Kind getKind()
-
getSource
public java.lang.Object getSource()
-
getType
public Type getType()
-
isCoersionApplied
public boolean isCoersionApplied()
-
getCoercionChain
public java.util.List<Type> getCoercionChain()
-
getCoercions
public java.util.List<NodeInfo.Coercion> getCoercions()
-
isLocation
public boolean isLocation()
-
-