Package icyllis.arc3d.compiler.tree
Class ConstructorVectorSplat
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Expression
icyllis.arc3d.compiler.tree.ConstructorCall
icyllis.arc3d.compiler.tree.ConstructorVectorSplat
Represents the construction of a vector splat (broadcast), such as `float3(n)`.
These always contain exactly 1 scalar.
-
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
-