Class FunctionCall


  • public class FunctionCall
    extends java.lang.Object
    Represents a function call.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IFunction function
      The function name.
      protected java.util.List paramsources
      The sources of the parameter values.
    • Field Detail

      • function

        protected IFunction function
        The function name.
      • paramsources

        protected java.util.List paramsources
        The sources of the parameter values.
    • Constructor Detail

      • FunctionCall

        public FunctionCall​(IFunction function)
        Create a new function call.
      • FunctionCall

        public FunctionCall​(IFunction function,
                            java.util.List paramsources)
        Create a new function call.
      • FunctionCall

        public FunctionCall​(IFunction function,
                            java.lang.Object[] paramsources)
        Create a new function call.
    • Method Detail

      • getFunction

        public IFunction getFunction()
        Get the function.
        Returns:
        The function.
      • addParameterSource

        public void addParameterSource​(java.lang.Object paramsource)
        Add a new parameter source. Can be - constant value - variable (value) - function call (value)
      • getParameterSources

        public java.util.List getParameterSources()
        Get the parameter sources.
        Returns:
        The param sources.
      • getVariables

        public java.util.List getVariables()
        Get the variables.
        Returns:
        The declared variables.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.