Package icyllis.arc3d.compiler.tree
Class TypeReference
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Expression
icyllis.arc3d.compiler.tree.TypeReference
Represents an identifier referring to a type. This is an intermediate value: TypeReferences are
always eventually replaced by Constructors in valid programs.
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node
Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(TreeVisitor visitor) Visit this AST with a given visitor.clone(int position) getKind()getValue()static TypeReferencetoString(int parentPrecedence) Methods inherited from class icyllis.arc3d.compiler.tree.Expression
clone, getCoercionCost, getConstantValue, getType, isBooleanLiteral, isConstructorCall, isFloatLiteral, isIncomplete, isIntLiteral, isLiteral, toStringMethods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Method Details
-
make
@Nonnull public static TypeReference make(@Nonnull Context context, int position, @Nonnull Type value) -
getKind
- Specified by:
getKindin classExpression- See Also:
-
accept
Description copied from class:NodeVisit this AST with a given visitor. -
getValue
-
clone
- Specified by:
clonein classExpression
-
toString
- Specified by:
toStringin classExpression
-