Class GetMatchingVariantField
java.lang.Object
org.openzen.zenscript.codemodel.expression.Expression
org.openzen.zenscript.codemodel.expression.GetMatchingVariantField
- All Implemented Interfaces:
IPartialExpression
-
Field Summary
FieldsFields inherited from class org.openzen.zenscript.codemodel.expression.Expression
NONE, position, thrownType, type -
Constructor Summary
ConstructorsConstructorDescriptionGetMatchingVariantField(CodePosition position, VariantOptionSwitchValue value, int index) -
Method Summary
Modifier and TypeMethodDescription<C,R> R accept(C context, ExpressionVisitorWithContext<C, R> visitor) <T> Taccept(ExpressionVisitor<T> visitor) transform(ExpressionTransformer transformer) Methods inherited from class org.openzen.zenscript.codemodel.expression.Expression
aborts, binaryThrow, call, castExplicit, castImplicit, eval, evaluateEnumConstant, evaluateStringConstant, forEachStatement, getAssignHints, getMember, getPossibleFunctionHeaders, getTypeArguments, multiThrow, predictCallTypes, transform, transformMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openzen.zenscript.codemodel.partial.IPartialExpression
assign, capture, getMember
-
Field Details
-
value
-
index
public final int index
-
-
Constructor Details
-
Method Details
-
accept
- Specified by:
acceptin classExpression
-
accept
- Specified by:
acceptin classExpression
-
transform
- Specified by:
transformin classExpression
-
normalize
- Specified by:
normalizein classExpression
-