Interface IFunctionSymbol

All Superinterfaces:
IHasType, IReducedSymbol, ISymbol
All Known Subinterfaces:
ICapturedSymbol, IDynamicFunctionSymbol, IDynamicPropertySymbol, IDynamicSymbol, IInitConstructorFunctionSymbol, IInitializerSymbol, IProgramClassFunctionSymbol, ITypedSymbol
All Known Implementing Classes:
AbstractDynamicSymbol, AmbiguousSymbol, CapturedSymbol, CommonSymbolsScope.LockedDownSymbol, CompileTimeExpressionParser.CompileTimeFieldSymbol, DelegateFunctionSymbol, DynamicFunctionSymbol, DynamicPropertySymbol, DynamicSymbol, EnhancementDynamicFunctionSymbol, EnumAllValuesFunctionSymbol, EnumAllValuesPropertySymbol, EnumCodeFunctionSymbol, EnumCodePropertySymbol, EnumDisplayNameFunctionSymbol, EnumDisplayNamePropertySymbol, EnumNameFunctionSymbol, EnumNamePropertySymbol, EnumOrdinalFunctionSymbol, EnumOrdinalPropertySymbol, EnumValueFunctionSymbol, EnumValueOfFunctionSymbol, EnumValuePropertySymbol, EnumValuesFunctionSymbol, GosuObjectFunctionSymbol, InitConstructorFunctionSymbol, InitializerSymbol, IntrinsicTypeFunctionSymbol, IntrinsicTypePropertySymbol, OuterFunctionSymbol, ParameterizedDynamicFunctionSymbol, ParameterizedDynamicPropertySymbol, ProgramClassFunctionSymbol, ProgramExecuteFunctionSymbol, QueryPathRootSymbol, ReadOnlySymbol, ReducedSymbol.SyntheticSymbol, SuperConstructorFunctionSymbol, Symbol, TemplateGenerator.LockedDownSymbol, TemplateRenderFunctionSymbol, ThisConstructorFunctionSymbol, ThisSymbol, TypedSymbol, VarPropertyGetFunctionSymbol, VarPropertySetFunctionSymbol

public interface IFunctionSymbol extends ISymbol
  • Method Details

    • invoke

      Object invoke(Object[] args)
      Invokes the method represented by this symbol.
      Parameters:
      args - An array of arguments to forward to the function.
    • getSignatureDescription

      String getSignatureDescription()
      Returns a description of arguments of the form ( < argName1 >, < argName2 >, etc. ) appropriate for display in a source editor ui.
    • isStackSymbol

      boolean isStackSymbol()
      Returns true if the value of this function symbol is stored on the stack as a variable
    • getModifiers

      int getModifiers()
      Returns the modifiers for this function symbol
      Specified by:
      getModifiers in interface IReducedSymbol
    • isFromJava

      boolean isFromJava()
      Returns:
      true if this function symbol came from a java superclass