public abstract class IlrBRLSemanticAction
extends java.lang.Object
implements ilog.rules.brl.semantic.IlrBRLSemanticActionDef
.properties file,
with the property semanticAction.
Semantic actions can also be associated with the role of a sentence (parameter of a BOM method or a BOM attribute) in the BOM file, with the property
semanticAction[<argument_index>] for an argument of a method, or semanticAction for an attribute.| Constructor and Description |
|---|
IlrBRLSemanticAction(java.lang.String[] args)
Creates a semantic action.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply(IlrBRLSemanticContext context,
IlrSyntaxTree.Node node)
Invoked during the build of the Abstract Syntax Tree in order to decorate
the Abstract Syntax Tree node
node. |
public IlrBRLSemanticAction(java.lang.String[] args)
.properties file of the business rule
language definition.args - The list of arguments.public abstract void apply(IlrBRLSemanticContext context, IlrSyntaxTree.Node node)
node.
When this method is invoked the Abstract Syntax Tree node
node cannot yet be attached to its super node.context - The associated semantic context.node - The node on which the semantic action must be applied.IlrBRLSemanticContext© Copyright IBM Corp. 1987, 2017