ilog.rules.brl.brldf

Interface IlrBRLGrammarContext

  • All Superinterfaces:
    ilog.rules.brl.semantic.IlrBRLSemanticContext.VerbalizationInfo, IlrTypeInfo


    public interface IlrBRLGrammarContext
    extends IlrTypeInfo, ilog.rules.brl.semantic.IlrBRLSemanticContext.VerbalizationInfo
    This interface groups information.

    The information grouped includes:

    • the specification of a type: type and cardinality
    • verbalization info: article, plural, partitive property
    • the context of the verbalization
    • a group filter

    Instances of this class are used in semantic actions processing, to specify the type and verbalization context at a given Abstract Syntax Tree node.

    • Field Detail

      • ANY

        static final java.lang.String[] ANY
        The default group ANY, represents all the possible groups.
    • Method Detail

      • getVerbalization

        IlrVerbalizationContext getVerbalization(IlrVocabulary vocabulary)
        Return a verbalization context according to this context. Can return null if one of the verbalization properties (article or plural) is unspecified.
        Parameters:
        vocabulary - The vocabulary used as resolution context.
      • getGroupFilter

        java.lang.String[] getGroupFilter()
        Returns the group filter defined for this context.

© Copyright IBM Corp. 1987, 2017