| Modifier and Type | Field and Description |
|---|---|
| private String | _className
Hides com. |
| private Expression | _right
A reference to the expression being casted. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate a function call. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type check the two parameters for this function |
| _className | back to summary |
|---|---|
| private String _className Hides com. Name of the class that is the target of the cast. Must be a fully-qualified Java class Name. | |
| _right | back to summary |
|---|---|
| private Expression _right A reference to the expression being casted. | |
| CastCall | back to summary |
|---|---|
| public CastCall(QName fname, List<Expression> arguments) Constructor. | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Doc from com. Translate a function call. The compiled code will leave the function's return value on the JVM's stack. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Type check the two parameters for this function | |