public static class IlrBRL.ValueFilter extends IlrBRLSemanticFilterAdapter
| Constructor and Description |
|---|
IlrBRL.ValueFilter(java.lang.String[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptConcept(IlrBRLSemanticContext conttext,
IlrSyntaxTree.Node node,
IlrConcept concept)
States if a concept is accepted.
|
boolean |
acceptElement(IlrBRLSemanticContext context,
IlrSyntaxTree.Node node,
IlrBRLGrammar.Node element)
This method is invoked when an element of a grammar construction can be predicted.
|
boolean |
acceptExpression(IlrBRLSemanticContext context,
IlrSyntaxTree.Node node,
IlrBRLGrammar.Node expression)
This method is invoked when an expression (grammar construction) can be predicted.
|
boolean |
acceptSentence(IlrBRLSemanticContext context,
IlrSyntaxTree.Node node,
IlrSentence sentence)
States if a sentence is accepted.
|
boolean |
acceptVariable(IlrBRLSemanticContext context,
IlrSyntaxTree.Node node,
IlrBRLVariable variable)
States if a variable is accepted.
|
acceptConceptInstance, acceptValuepublic boolean acceptSentence(IlrBRLSemanticContext context, IlrSyntaxTree.Node node, IlrSentence sentence)
IlrBRLSemanticFilteracceptSentence in interface IlrBRLSemanticFilteracceptSentence in class IlrBRLSemanticFilterAdaptercontext - The associated semantic context.node - The node under which a sentence can be added.sentence - The predicted sentence.true if the sentence is accepted, false otherwise.public boolean acceptConcept(IlrBRLSemanticContext conttext, IlrSyntaxTree.Node node, IlrConcept concept)
IlrBRLSemanticFilteracceptConcept in interface IlrBRLSemanticFilteracceptConcept in class IlrBRLSemanticFilterAdapterconttext - The associated semantic context.node - The node under which a concept can be added.concept - The predicted concept.true if the concept is accepted, false otherwise.public boolean acceptVariable(IlrBRLSemanticContext context, IlrSyntaxTree.Node node, IlrBRLVariable variable)
IlrBRLSemanticFilteracceptVariable in interface IlrBRLSemanticFilteracceptVariable in class IlrBRLSemanticFilterAdaptercontext - The associated semantic context.node - The node under which a variable can be added.variable - The predicted variable.true if the variable is accepted, false otherwise.IlrBRLVariablepublic boolean acceptExpression(IlrBRLSemanticContext context, IlrSyntaxTree.Node node, IlrBRLGrammar.Node expression)
IlrBRLSemanticFilteracceptExpression in interface IlrBRLSemanticFilteracceptExpression in class IlrBRLSemanticFilterAdaptercontext - The associated semantic context.node - The node under which an expression can be added.expression - The predicted expression.true if the expression is accepted, false otherwise.public boolean acceptElement(IlrBRLSemanticContext context, IlrSyntaxTree.Node node, IlrBRLGrammar.Node element)
IlrBRLSemanticFilterExtensionacceptElement in interface IlrBRLSemanticFilterExtensionacceptElement in class IlrBRLSemanticFilterAdaptercontext - The associated semantic context.node - The node under which an element can be added.element - The predicted element.true if the element is accepted, and false otherwise.© Copyright IBM Corp. 1987, 2017