Class CapturedExpression
java.lang.Object
org.openzen.zenscript.codemodel.expression.Expression
org.openzen.zenscript.codemodel.expression.CapturedExpression
- All Implemented Interfaces:
IPartialExpression
- Direct Known Subclasses:
CapturedClosureExpression,CapturedDirectExpression,CapturedLocalVariableExpression,CapturedParameterExpression,CapturedThisExpression
-
Field Summary
FieldsFields inherited from class org.openzen.zenscript.codemodel.expression.Expression
NONE, position, thrownType, type -
Constructor Summary
ConstructorsConstructorDescriptionCapturedExpression(CodePosition position, TypeID type, LambdaClosure closure) -
Method Summary
Modifier and TypeMethodDescriptionabstract <T> Taccept(CapturedExpressionVisitor<T> visitor) capture(CodePosition position, LambdaClosure closure) abstract CapturedExpressionMethods inherited from class org.openzen.zenscript.codemodel.expression.Expression
aborts, accept, accept, binaryThrow, call, castExplicit, castImplicit, eval, evaluateEnumConstant, evaluateStringConstant, forEachStatement, getAssignHints, getMember, getPossibleFunctionHeaders, getTypeArguments, multiThrow, predictCallTypes, transform, 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, getMember
-
Field Details
-
closure
-
-
Constructor Details
-
Method Details
-
normalize
- Specified by:
normalizein classExpression
-
accept