All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.lang.parser.IFunctionSymbol Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */
package gw.lang.parser;


public interface IFunctionSymbol extends ISymbol
{
  /**
   * Invokes the method represented by this symbol.
   *
   * @param args An array of arguments to forward to the function.
   */
  public Object invoke( Object[] args );

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

  /**
   * Returns true if the value of this function symbol is stored on the stack as a variable
   */
  public boolean isStackSymbol();

  /**
   * Returns the modifiers for this function symbol
   */
  public int getModifiers();
  
  /**
   * @return true if this function symbol came from a java superclass
   */
  boolean isFromJava();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy