public class ScopeDirective extends WriteCall
| Modifier and Type | Field and Description |
|---|---|
protected dyvilx.tools.compiler.ast.expression.IValue |
block |
value, writerFieldCALL_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 |
|---|
ScopeDirective() |
| 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() |
dyvilx.tools.compiler.ast.expression.IValue |
getBlock() |
dyvilx.tools.compiler.ast.expression.IValue |
getValue() |
boolean |
isResolved() |
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 |
setBlock(dyvilx.tools.compiler.ast.expression.IValue block) |
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) |
getPosition, getType, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasIgnoredClassAccess, 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, writeStoreLoadpublic int valueTag()
public dyvilx.tools.compiler.ast.expression.IValue getValue()
public void setValue(dyvilx.tools.compiler.ast.expression.IValue value)
public dyvilx.tools.compiler.ast.expression.IValue getBlock()
public void setBlock(dyvilx.tools.compiler.ast.expression.IValue block)
public boolean isResolved()
public void resolveTypes(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
resolveTypes in interface dyvilx.tools.compiler.ast.expression.IValueresolveTypes in class WriteCallpublic dyvilx.tools.compiler.ast.expression.IValue resolve(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
public void checkTypes(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
checkTypes in interface dyvilx.tools.compiler.ast.expression.IValuecheckTypes in class WriteCallpublic void check(dyvilx.tools.parsing.marker.MarkerList markers,
dyvilx.tools.compiler.ast.context.IContext context)
public dyvilx.tools.compiler.ast.expression.IValue foldConstants()
foldConstants in interface dyvilx.tools.compiler.ast.expression.IValuefoldConstants in class WriteCallpublic dyvilx.tools.compiler.ast.expression.IValue cleanup(dyvilx.tools.compiler.ast.header.ICompilableList compilableList,
dyvilx.tools.compiler.ast.header.IClassCompilableList classCompilableList)
public 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.WriteableExpressionwriteExpression in class WriteCalldyvilx.tools.compiler.backend.exception.BytecodeException