public abstract class ProtoExpression extends Expression
ExpressionVOID_ASSIGNMENTS| Constructor and Description |
|---|
ProtoExpression() |
| Modifier and Type | Method and Description |
|---|---|
Type |
checkedType()
This method returns the final unambiguously checked type of this expression.
|
void |
setCheckedType(Type type)
NB: this is not final because itis overridden in
Abstraction and
Global.
|
void |
setType(Type type)
This method forcibly sets this expression's type field, if it has one, to the
specified type.
|
Type |
type()
This method returns the current type of this expression.
|
Type |
typeRef()
This method returns this expression's undereferenced type field if it has one.
|
addType, addTypes, boxSort, compile, containsFreeName, copy, enclosingScope, extent, getEnd, getStart, isConstant, isEquality, isFalse, isHiddenSlicing, isNull, isSelector, isSlicing, isTrue, isVoid, locationString, numberOfSubexpressions, otherTypes, parameters, sanitizeNames, sanitizeSorts, setCheckedType, setCheckedTypeLocked, setEnd, setExtent, setOtherTypes, setStart, setSubexpression, shiftOffsets, shiftOffsets, sort, subexpression, substitute, typeCheck, typeCheck, typeCheck, typeCheckLocked, typedCopypublic final Type type()
Expressiontype in class Expressionpublic final void setType(Type type)
ExpressionsetType in class Expressionpublic final Type typeRef()
ExpressiontypeRef in class Expressionpublic final Type checkedType()
ExpressioncheckedType in class Expressionpublic void setCheckedType(Type type)
setCheckedType in class Expression