Package icyllis.arc3d.compiler.tree
Class ConstructorArrayCast
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Expression
icyllis.arc3d.compiler.tree.ConstructorCall
icyllis.arc3d.compiler.tree.ConstructorArrayCast
Represents the typecasting of an array.
These always contain exactly 1 array of matching size, and are never constant.
-
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 TypeMethodDescription@NonNull Expressioncopy(int position) getKind()static @NonNull Expressionmake(@NonNull Context context, int position, @NonNull Type type, @NonNull Expression arg) Methods inherited from class icyllis.arc3d.compiler.tree.ConstructorCall
convert, getArgument, getArguments, getComponentType, getConstantValue, isConstructorCall, toStringMethods inherited from class icyllis.arc3d.compiler.tree.Expression
accept, copy, getCoercionCost, getType, isBooleanLiteral, isFloatLiteral, isIncomplete, isIntLiteral, isLiteral, toStringMethods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Method Details
-
make
public static @NonNull Expression make(@NonNull Context context, int position, @NonNull Type type, @NonNull Expression arg) -
getKind
- Specified by:
getKindin classExpression- See Also:
-
copy
- Specified by:
copyin classExpression
-