Class AliasModifier

    • Field Detail

      • alias

        protected String alias
    • Constructor Detail

      • AliasModifier

        public AliasModifier​(String alias)
        Constructor that takes the alias to use for functions.
        Parameters:
        alias - The alias to replace the incoming function name with
    • Method Detail

      • translate

        public List<?> translate​(Function function)
        Description copied from class: FunctionModifier
        Return a List of translated parts (LanguageObjects and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.
        Specified by:
        translate in class FunctionModifier
        Parameters:
        function - IFunction to be translated
        Returns:
        List of translated parts, or null
      • modify

        protected void modify​(Function function)