IR for KSCastExpression class.
More...
Go to the source code of this file.
IR for KSCastExpression class.
- Copyright
- Copyright (C) 2014 Steel Wheels Project
struct KSCastExpression* KSAllocateCastExpression |
( |
struct KEFrame * |
type, |
|
|
struct KSExpression * |
srcexp, |
|
|
struct KELineInfo * |
linfo, |
|
|
struct CNResource * |
resource |
|
) |
| |
Allocate cast-expression object.
- Returns
- Allocated object
- Parameters
-
type | Target type |
srcexp | Source expression |
linfo | Line information |
resource | Resource to allocate the object |
CNBoolean KSIsCastExpression |
( |
const struct KSExpression * |
src | ) |
|
Check the expression class.
- Return values
-
True | The source expression is an object of the class |
False | The source expression is NOT an object of the class |
- Parameters
-