ilog.rules.brl.translation

Interface IlrTranslatorInput

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getDocumentation()
      Gets the documentation of the element to translate.
      IlrBRLLogger getLogger()
      Gets the BRL logger associated to this translator input.
      java.lang.String getName()
      Gets the name of the rule as it will be printed in generated code.
      java.lang.String getPackageName()
      Gets the name of the package as it will be printed in generated code.
      java.util.Map getProperties()
      Gets the map of properties of the element to translate.
      IlrSyntaxTree getSyntaxTree()
      Gets the syntax tree of the element to translate.
    • Method Detail

      • getSyntaxTree

        IlrSyntaxTree getSyntaxTree()
        Gets the syntax tree of the element to translate.
        Returns:
        The abstract syntax tree.
      • getName

        java.lang.String getName()
        Gets the name of the rule as it will be printed in generated code.
        Returns:
        the name
      • getPackageName

        java.lang.String getPackageName()
        Gets the name of the package as it will be printed in generated code.
        Returns:
        the name of the package containing the element to translate, or null.
      • getProperties

        java.util.Map getProperties()
        Gets the map of properties of the element to translate. Notice that the values contained in the map will be printed as they are. No formating will be done by the code generator.
        Returns:
        The map of all properties.
      • getDocumentation

        java.lang.String getDocumentation()
        Gets the documentation of the element to translate.
        Returns:
        The documentation.
      • getLogger

        IlrBRLLogger getLogger()
        Gets the BRL logger associated to this translator input.
        Returns:
        An instance of IlrBRLLogger.

© Copyright IBM Corp. 1987, 2017