public abstract static class IlrBRL.DeclareVariable extends IlrBRLSemanticAction
IlrBRLVariable| Modifier | Constructor and Description |
|---|---|
protected |
IlrBRL.DeclareVariable(java.lang.String[] args)
Initializes the arguments.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract IlrBRLVariable |
declareVariable(IlrBRLSemanticContext context,
java.lang.String name,
IlrConcept type,
IlrCardinality cardinality,
int offset,
int length,
int availabilityOffset)
Declares a variable.
|
protected abstract IlrSyntaxTree.Node |
getTargetNode(IlrSyntaxTree.Node node)
Returns the node that represents the target node where concept information can be extracted to declare a variable of the
concept.
|
protected abstract IlrSyntaxTree.Node |
getVariableNode(IlrSyntaxTree.Node node)
Returns the node that represents the variable node.
|
applyprotected IlrBRL.DeclareVariable(java.lang.String[] args)
args - The arguments.protected abstract IlrSyntaxTree.Node getVariableNode(IlrSyntaxTree.Node node)
node - The node that represents the declaration.protected abstract IlrSyntaxTree.Node getTargetNode(IlrSyntaxTree.Node node)
node - The node that represent the declaration.protected abstract IlrBRLVariable declareVariable(IlrBRLSemanticContext context, java.lang.String name, IlrConcept type, IlrCardinality cardinality, int offset, int length, int availabilityOffset)
context - The semantic context.name - The name of the variable.type - The type of the variable.cardinality - The cardinality of the variable.offset - The offset of the declaration of the variable.length - The name length of the variable.availabilityOffset - The offset from where we can use a reference of the variable.IlrConcept,
IlrCardinality© Copyright IBM Corp. 1987, 2017