public class WriteCall extends java.lang.Object implements GenSrcValue
| Modifier and Type | Field and Description |
|---|---|
protected dyvilx.tools.compiler.ast.expression.IValue |
value |
protected dyvilx.tools.compiler.ast.expression.IValue |
writerField |
CALL_DIRECTIVE, PROCESSED_TEXT, SCOPE_DIRECTIVE, WRITE_CALLANNOTATION, APPLY_CALL, ARRAY, BOOLEAN, BOOLEAN_AND, BOOLEAN_NOT, BOOLEAN_OR, BRACE_ACCESS, BREAK, BYTE, CAST_OPERATOR, CHAR, CLASS_ACCESS, CLASS_OPERATOR, COLON, CONSTRUCTOR_CALL, CONTINUE, CONVERSION_MATCH, DO_WHILE, DOUBLE, ENUM_ACCESS, EXACT_MATCH, FIELD_ACCESS, FIELD_ASSIGN, FLOAT, FOR, GOTO, IF, IMPLICIT_CONVERSION_MATCH, INC, INITIALIZER_CALL, INT, ISOF_OPERATOR, LAMBDA, LITERAL_CONVERSION, LONG, MAP, MATCH, MEMBER_STATEMENT, METHOD_ASSIGN, METHOD_CALL, MISMATCH, NULL, NULL_COALESCING, OPERATOR_CHAIN, OPTIONAL_CHAIN, OPTIONAL_UNWRAP, POP_EXPR, PREFIX_CALL, REFERENCE, RETURN, SECONDARY_MATCH, SECONDARY_SUBTYPE_MATCH, SHORT, STATEMENT_LIST, STRING, STRING_CONCAT, STRING_INTERPOLATION, SUBSCRIPT_GET, SUBSCRIPT_SET, SUBTYPE_MATCH, SUPER, SYNCHRONIZED, THIS, THROW, TRY, TUPLE, TYPE_OPERATOR, UNKNOWN, UPDATE_CALL, VARARGS_EXPANSION, VARIABLE, VOID, WHILE, WILDCARD, WILDCARD_PARAMETER| Constructor and Description |
|---|
WriteCall() |
WriteCall(dyvilx.tools.compiler.ast.expression.IValue value) |
| Modifier and Type | Method and Description |
|---|---|
void |
check(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context) |
void |
checkTypes(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context) |
dyvilx.tools.compiler.ast.expression.IValue |
cleanup(dyvilx.tools.compiler.ast.header.ICompilableList compilableList,
dyvilx.tools.compiler.ast.header.IClassCompilableList classCompilableList) |
dyvilx.tools.compiler.ast.expression.IValue |
foldConstants() |
dyvil.source.position.SourcePosition |
getPosition() |
dyvilx.tools.compiler.ast.type.IType |
getType() |
dyvilx.tools.compiler.ast.expression.IValue |
getValue() |
dyvilx.tools.compiler.ast.expression.IValue |
resolve(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context) |
void |
resolveTypes(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context) |
void |
setPosition(dyvil.source.position.SourcePosition position) |
void |
setValue(dyvilx.tools.compiler.ast.expression.IValue value) |
void |
toString(java.lang.String indent,
java.lang.StringBuilder buffer) |
int |
valueTag() |
void |
writeExpression(dyvilx.tools.compiler.backend.method.MethodWriter writer,
dyvilx.tools.compiler.ast.type.IType type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisResolvedasIgnoredClassAccess, booleanValue, checkVarargs, doubleValue, floatValue, fromObject, getAnnotationError, getTypeMatch, hasSideEffects, intValue, isAnnotationConstant, isClassAccess, isConstant, isConstantOrField, isIgnoredClassAccess, isNumeric, isPartialWildcard, isPolyExpression, isStatement, isType, isUsableAsStatement, longValue, resolveStatement, setType, stringSize, stringValue, toAnnotationConstant, toAnnotationConstant, toAssignment, toCompoundAssignment, toObject, toReferenceValue, toStringBuilder, withLambdaParameter, withType, writeAnnotationValue, writeStore, writeStoreLoadprotected dyvilx.tools.compiler.ast.expression.IValue writerField
protected dyvilx.tools.compiler.ast.expression.IValue value
public WriteCall()
public WriteCall(dyvilx.tools.compiler.ast.expression.IValue value)
public int valueTag()
valueTag in interface dyvilx.tools.compiler.ast.expression.IValuepublic dyvil.source.position.SourcePosition getPosition()
getPosition in interface dyvil.source.position.Positionedpublic void setPosition(dyvil.source.position.SourcePosition position)
setPosition in interface dyvil.source.position.Positionedpublic dyvilx.tools.compiler.ast.expression.IValue getValue()
public void setValue(dyvilx.tools.compiler.ast.expression.IValue value)
public dyvilx.tools.compiler.ast.type.IType getType()
getType in interface dyvilx.tools.compiler.ast.expression.IValuegetType in interface dyvilx.tools.compiler.ast.type.TypedgetType in interface GenSrcValuepublic void resolveTypes(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
resolveTypes in interface dyvilx.tools.compiler.ast.expression.IValuepublic dyvilx.tools.compiler.ast.expression.IValue resolve(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
resolve in interface dyvilx.tools.compiler.ast.expression.IValuepublic void checkTypes(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
checkTypes in interface dyvilx.tools.compiler.ast.expression.IValuepublic void check(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
check in interface dyvilx.tools.compiler.ast.expression.IValuepublic dyvilx.tools.compiler.ast.expression.IValue foldConstants()
foldConstants in interface dyvilx.tools.compiler.ast.expression.IValuepublic dyvilx.tools.compiler.ast.expression.IValue cleanup(dyvilx.tools.compiler.ast.header.ICompilableList compilableList,
dyvilx.tools.compiler.ast.header.IClassCompilableList classCompilableList)
cleanup in interface dyvilx.tools.compiler.ast.expression.IValuepublic void writeExpression(dyvilx.tools.compiler.backend.method.MethodWriter writer,
dyvilx.tools.compiler.ast.type.IType type)
throws dyvilx.tools.compiler.backend.exception.BytecodeException
writeExpression in interface dyvilx.tools.compiler.ast.expression.IValuewriteExpression in interface dyvilx.tools.compiler.ast.expression.WriteableExpressiondyvilx.tools.compiler.backend.exception.BytecodeExceptionpublic void toString(java.lang.String indent,
java.lang.StringBuilder buffer)
toString in interface dyvilx.tools.compiler.ast.expression.IValuetoString in interface dyvilx.tools.parsing.ASTNode