public class DummyAssignment extends Assignment
VOID_ASSIGNMENTS| Constructor and Description |
|---|
DummyAssignment(Tables tables,
java.lang.String name,
Expression expression)
Constructs a dummy assignment with the specified name and expression.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compile(Compiler compiler)
A DummyAssignment never gets to invoke this.
|
Expression |
copy()
Returns a deep copy of this expression.
|
Expression |
sanitizeNames(ParameterStack parameters)
Sanitizes the names of all expressions in this assignment.
|
Expression |
typedCopy()
Returns a deep copy of this expression this and all its subexpressions share the
same type as their copy's counterparts.
|
numberOfSubexpressions, setCheckedType, setSubexpression, subexpression, toString, typeCheckcheckedType, setCheckedType, setType, type, typeRefaddType, addTypes, boxSort, containsFreeName, enclosingScope, extent, getEnd, getStart, isConstant, isEquality, isFalse, isHiddenSlicing, isNull, isSelector, isSlicing, isTrue, isVoid, locationString, otherTypes, parameters, sanitizeSorts, setCheckedTypeLocked, setEnd, setExtent, setOtherTypes, setStart, shiftOffsets, shiftOffsets, sort, substitute, typeCheck, typeCheck, typeCheckLockedpublic DummyAssignment(Tables tables, java.lang.String name, Expression expression)
public final Expression copy()
Expressioncopy in class Expressionpublic final Expression typedCopy()
ExpressiontypedCopy in class Expressionpublic final Expression sanitizeNames(ParameterStack parameters)
sanitizeNames in class Expressionpublic final void compile(Compiler compiler)
compile in class Expression