public class IlrSimpleActionStatement extends IlrActionStatement
Current predefined actions kinds include the:
IlrContext update.
If users wish to add a new kind of simple action, they should use a kind
starting from constant CUSTOM_EXTENSION.
| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_EXTENSION
Constant for extending the kind of action statements (value is 10).
|
static int |
SIMPLE
Constant for simple action, that is for method calls (value is 0).
|
static int |
UPDATE_CONTEXT
Constant for 'update context' action (value is 2).
|
static int |
UPDATE_OBJECT
Constant for 'update object' action (value is 1).
|
static int |
VARIABLE_ASSIGNMENT
Constant for a variable assignment action (value is 3).
|
| Constructor and Description |
|---|
IlrSimpleActionStatement(IlrSyntaxTree.Node node)
Builds a new simple action statement from
node. |
| Modifier and Type | Method and Description |
|---|---|
int |
getKind()
Gets the kind of this action statement.
|
void |
setKind(int kind)
Sets the kind of this action statement.
|
getConcept, getParent, getVarName, setConcept, setVarNameaccept, getNode, hasTagpublic static final int SIMPLE
public static final int UPDATE_OBJECT
public static final int UPDATE_CONTEXT
public static final int VARIABLE_ASSIGNMENT
public static final int CUSTOM_EXTENSION
public IlrSimpleActionStatement(IlrSyntaxTree.Node node)
node.
The kind of such an action statement is SIMPLE.node - The node.© Copyright IBM Corp. 1987, 2017