Class FunTableImpl

    • Constructor Detail

      • FunTableImpl

        protected FunTableImpl()
        Creates a FunTableImpl.
    • Method Detail

      • init

        public final void init()
        Initializes the function table.
      • isReserved

        public boolean isReserved​(String s)
        Description copied from interface: FunTable
        Returns whether a string is a reserved word.
        Specified by:
        isReserved in interface FunTable
      • isProperty

        public boolean isProperty​(String s)
        Description copied from interface: FunTable
        Returns whether a string is a property-style (postfix) operator. This is used during parsing to disambiguate functions from unquoted member names.
        Specified by:
        isProperty in interface FunTable
      • getResolvers

        public List<Resolver> getResolvers​(String name,
                                           Syntax syntax)
        Description copied from interface: FunTable
        Returns a list of resolvers for an operator with a given name and syntax. Never returns null; if there are no resolvers, returns the empty list.
        Specified by:
        getResolvers in interface FunTable
        Parameters:
        name - Operator name
        syntax - Operator syntax
        Returns:
        List of resolvers for the operator