Package com.caucho.quercus.env

Examples of com.caucho.quercus.env.QuercusClass$StaticField


      return null;
    }
   
    public String getComment(Env env)
    {
      QuercusClass cls = getDeclaringClass(env, _cls);
     
      ClassDef def = cls.getClassDef();

      return def.getFieldComment(_nameV);
    }
View Full Code Here


    protected QuercusClass getDeclaringClassImpl(Env env, QuercusClass cls)
    {
      if (cls == null)
        return null;
     
      QuercusClass refClass = getDeclaringClassImpl(env, cls.getParent());

      if (refClass != null)
        return refClass;
      else if (cls.getStaticField(env, _name) != null)
        return cls;
View Full Code Here

      return null;
    }
   
    public String getComment(Env env)
    {
      QuercusClass cls = getDeclaringClass(env, _cls);
     
      ClassDef def = cls.getClassDef();

      return def.getStaticFieldComment(_name);
    }
View Full Code Here

    }
   
    env.pushCall(this, NullValue.NULL, args);
   
    try {
      QuercusClass cl = env.findAbstractClass(_name);

      env.checkTimeout();

      return cl.callNew(env, args);
    } finally {
      env.popCall();
    }
  }
View Full Code Here

   *
   * @return the expression value.
   */
  public Value eval(Env env)
  {
    QuercusClass cls = env.getCallingClass();
   
    if (cls == null) {
      env.error(getLocation(), L.l("no calling class found"));
     
      return NullValue.NULL;
    }
   
    return cls.getStaticField(env, _varName).toValue();
  }
View Full Code Here

   *
   * @return the expression value.
   */
  public Value evalCopy(Env env)
  {
    QuercusClass cls = env.getCallingClass();
   
    if (cls == null) {
      env.error(getLocation(), L.l("no calling class found"));
     
      return NullValue.NULL;
    }
   
    return cls.getStaticField(env, _varName).copy();
  }
View Full Code Here

   * @return the expression value.
   */
  @Override
  public Value evalArg(Env env, boolean isTop)
  {
    QuercusClass cls = env.getCallingClass();
   
    if (cls == null) {
      env.error(getLocation(), L.l("no calling class found"));
     
      return NullValue.NULL;
    }
   
    return cls.getStaticField(env, _varName);
  }
View Full Code Here

   *
   * @return the expression value.
   */
  public Value evalArray(Env env)
  {
    QuercusClass cls = env.getCallingClass();
   
    if (cls == null) {
      env.error(getLocation(), L.l("no calling class found"));
     
      return NullValue.NULL;
    }
   
    return cls.getStaticField(env, _varName).getArray();
  }
View Full Code Here

   *
   * @return the expression value.
   */
  public Value evalObject(Env env)
  {
    QuercusClass cls = env.getCallingClass();
   
    if (cls == null) {
      env.error(getLocation(), L.l("no calling class found"));
     
      return NullValue.NULL;
    }
   
    return cls.getStaticField(env, _varName).getObject(env);
  }
View Full Code Here

   *
   * @return the expression value.
   */
  public Value evalRef(Env env)
  {
    QuercusClass cls = env.getCallingClass();
   
    if (cls == null) {
      env.error(getLocation(), L.l("no calling class found"));
     
      return NullValue.NULL;
    }
   
    return cls.getStaticField(env, _varName);
  }
View Full Code Here

TOP

Related Classes of com.caucho.quercus.env.QuercusClass$StaticField

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.