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

gw.lang.debugger.AbstractActivationContext Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.debugger;

import gw.lang.parser.IActivationContext;

/**
 * @deprecated
 */
public abstract class AbstractActivationContext implements IActivationContext
{
  private Object _ctx;
  private int _iCurrentScopeIndex;
  private int _iCurrentPrivateGlobalScopeIndex;

  public AbstractActivationContext( Object ctx )
  {
    _ctx = ctx;
  }

  public Object getContext()
  {
    return _ctx;
  }

  public int getCurrentScopeIndex()
  {
    return _iCurrentScopeIndex;
  }

  public void setCurrentScopeIndex( int iIndex )
  {
    _iCurrentScopeIndex = iIndex;
  }

  public int getCurrentPrivateGlobalScopeIndex()
  {
    return _iCurrentPrivateGlobalScopeIndex;
  }

  public void setCurrentPrivateGlobalScopeIndex( int iIndex )
  {
    _iCurrentPrivateGlobalScopeIndex = iIndex;
  }

  public boolean isTransparent()
  {
    return false;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy