public class IfDirective
extends dyvilx.tools.compiler.ast.statement.IfStatement
condition, elseThen, thenANNOTATION, 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 |
|---|
IfDirective(dyvilx.tools.compiler.ast.expression.IValue condition,
dyvilx.tools.compiler.ast.expression.IValue then,
dyvilx.tools.compiler.ast.expression.IValue elseThen) |
IfDirective(dyvil.source.position.SourcePosition position) |
| Modifier and Type | Method and Description |
|---|---|
void |
toString(java.lang.String indent,
java.lang.StringBuilder buffer) |
check, checkCondition, checkConditionTypes, checkTypes, cleanup, conditionToString, foldConstants, foldWithCondition, getCondition, getElse, getPosition, getThen, getType, getTypeMatch, isResolved, isType, isUsableAsStatement, resolve, resolveCondition, resolveConditionTypes, resolveStatement, resolveTypes, setCondition, setElse, setPosition, setThen, thenContext, toString, valueTag, withType, writeCondition, writeExpression, writeStatementclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasIgnoredClassAccess, booleanValue, checkVarargs, doubleValue, floatValue, fromObject, getAnnotationError, hasSideEffects, intValue, isAnnotationConstant, isClassAccess, isConstant, isConstantOrField, isIgnoredClassAccess, isNumeric, isPartialWildcard, isPolyExpression, isStatement, longValue, setType, stringSize, stringValue, toAnnotationConstant, toAnnotationConstant, toAssignment, toCompoundAssignment, toObject, toReferenceValue, toStringBuilder, withLambdaParameter, writeAnnotationValue, writeStore, writeStoreLoadpublic IfDirective(dyvil.source.position.SourcePosition position)
public IfDirective(dyvilx.tools.compiler.ast.expression.IValue condition,
dyvilx.tools.compiler.ast.expression.IValue then,
dyvilx.tools.compiler.ast.expression.IValue elseThen)
public void toString(java.lang.String indent,
java.lang.StringBuilder buffer)
toString in interface dyvilx.tools.compiler.ast.expression.IValuetoString in interface dyvilx.tools.parsing.ASTNodetoString in class dyvilx.tools.compiler.ast.statement.IfStatement