Class NewExpression
java.lang.Object
org.openzen.zenscript.codemodel.expression.Expression
org.openzen.zenscript.codemodel.expression.NewExpression
- All Implemented Interfaces:
IPartialExpression
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CallArgumentsfinal FunctionalMemberReffinal FunctionHeaderFields inherited from class org.openzen.zenscript.codemodel.expression.Expression
NONE, position, thrownType, type -
Constructor Summary
ConstructorsConstructorDescriptionNewExpression(CodePosition position, TypeID type, FunctionalMemberRef constructor, CallArguments arguments) NewExpression(CodePosition position, TypeID type, FunctionalMemberRef constructor, CallArguments arguments, FunctionHeader instancedHeader) -
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
-
constructor
-
arguments
-
instancedHeader
-
-
Constructor Details
-
Method Details
-
accept
- Specified by:
acceptin classExpression
-
accept
- Specified by:
acceptin classExpression
-
transform
- Specified by:
transformin classExpression
-
normalize
- Specified by:
normalizein classExpression
-