ilog.rules.brl

Class IlrBRL.CheckValue

  • All Implemented Interfaces:
    ilog.rules.brl.semantic.IlrBRLSemanticActionDef
    Enclosing class:
    IlrBRL


    public static class IlrBRL.CheckValue
    extends IlrBRLSemanticAction
    An implementation of a semantic action that checks if a node is a value. The implementation can be used for 'semanticAction' properties on grammar nodes or sentence roles.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrBRL.CheckValue(java.lang.String[] args) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrBRL.CheckValue

        public IlrBRL.CheckValue(java.lang.String[] args)
    • Method Detail

      • apply

        public void apply(IlrBRLSemanticContext context,
                 IlrSyntaxTree.Node node)
        Description copied from class: IlrBRLSemanticAction
        Invoked during the build of the Abstract Syntax Tree in order to decorate the Abstract Syntax Tree node node. When this method is invoked the Abstract Syntax Tree node node cannot yet be attached to its super node.
        Specified by:
        apply in interface ilog.rules.brl.semantic.IlrBRLSemanticActionDef
        Specified by:
        apply in class IlrBRLSemanticAction
        Parameters:
        context - The associated semantic context.
        node - The node on which the semantic action must be applied.
        See Also:
        IlrBRLSemanticContext

© Copyright IBM Corp. 1987, 2017