Interface IlrTranslatorInput

    • Method Detail

      • getSyntaxTree

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

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

        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

        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

        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.