Package icyllis.arc3d.compiler.tree
Class ConstructorCompoundCast
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Expression
icyllis.arc3d.compiler.tree.ConstructorCall
icyllis.arc3d.compiler.tree.ConstructorCompoundCast
Represents the construction of a vector/matrix typecast, such as `half3(myInt3)` or
`float4x4(myHalf4x4)`. Matrix resizes are done in ConstructorMatrixMatrix, not here.
These always contain exactly 1 vector or matrix 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 TypeMethodDescriptionclone(int position) getKind()static Expressionmake(int position, Type type, Expression arg) Methods inherited from class icyllis.arc3d.compiler.tree.ConstructorCall
accept, convert, getArgument, getArguments, getComponentType, getConstantValue, isConstructorCall, toStringMethods inherited from class icyllis.arc3d.compiler.tree.Expression
clone, getCoercionCost, getType, isBooleanLiteral, isFloatLiteral, isIncomplete, isIntLiteral, isLiteral, toStringMethods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Method Details
-
make
-
getKind
- Specified by:
getKindin classExpression- See Also:
-
clone
- Specified by:
clonein classExpression
-