Package anvil.script

Examples of anvil.script.StackFrame


  /// @param frame Frame number, zero is oldest.
  public static final Object[] p_getFrame = { null, "*frame", new Integer(-1) };
  public static final Any getFrame(Context context, int frame)
  {
    context.checkAccess(CAN_READ);
    StackFrame stackframe = null;
    if (frame == -1) {
      stackframe = context.frame();
    } else {
      if (frame >= 0 && frame < context.size()) {
        stackframe = context.peek(frame);
View Full Code Here


  public static final Object[] p_getZone = { null, "*frame", new Integer(-1) };
  public static final Any getZone(Context context, int frame)
  {
    context.checkAccess(CAN_READ);
    context.checkAccess(anvil.core.system.AnyConfigurable.CAN_READ);
    StackFrame stackframe = null;
    if (frame == -1) {
      return new anvil.core.system.AnyConfigurable(
        context.frame().getModule().getAddress().getZone());
    } else {
      if (frame >= 0 && frame < context.size()) {
View Full Code Here

TOP

Related Classes of anvil.script.StackFrame

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.