koala.dynamicjava.interpreter
Class TypeUtil
java.lang.Object
koala.dynamicjava.interpreter.TypeUtil
public class TypeUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeUtil
public TypeUtil()
makeEmptyExpression
public static Expression makeEmptyExpression()
- Returns:
- An expression for representing arbitrary "imaginary" syntax at
the given location. Useful for invoking
TypeSystem methods
that require an expression. The result cannot be visited,
but it can have properties set and be used to build other Nodes.
makeEmptyExpression
public static Expression makeEmptyExpression(Node location)
- Returns:
- An expression for representing arbitrary "imaginary" syntax at
the given location. Useful for invoking
TypeSystem methods
that require an expression. The result cannot be visited,
but it can have properties set and be used to build other Nodes.
makeEmptyTypeName
public static TypeName makeEmptyTypeName()
- Returns:
- A type name for representing arbitrary "imaginary" syntax at
the given location. The result cannot be visited,
but it can have properties set and be used to build other
Nodes.
makeEmptyTypeName
public static TypeName makeEmptyTypeName(Node location)
- Returns:
- A type name for representing arbitrary "imaginary" syntax at
the given location. The result cannot be visited,
but it can have properties set and be used to build other
Nodes.