com.caucho.quercus.env
Class ProEnv

java.lang.Object
  extended by com.caucho.quercus.env.Env
      extended by com.caucho.quercus.env.ProEnv

public class ProEnv
extends Env

Represents the Quercus environment.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.quercus.env.Env
Env.OVERLOADING_TYPES
 
Field Summary
 
Fields inherited from class com.caucho.quercus.env.Env
_anonymousFunMap, _classDef, _const, _fun, _qClass, _quercus, B_COMPILE_ERROR, B_COMPILE_WARNING, B_CORE_ERROR, B_CORE_WARNING, B_ERROR, B_LAST, B_NOTICE, B_PARSE, B_RECOVERABLE_ERROR, B_STRICT, B_USER_ERROR, B_USER_NOTICE, B_USER_WARNING, B_WARNING, DEFAULT_QUERY_SEPARATOR_MAP, E_ALL, E_COMPILE_ERROR, E_COMPILE_WARNING, E_CORE_ERROR, E_CORE_WARNING, E_DEFAULT, E_ERROR, E_NOTICE, E_PARSE, E_RECOVERABLE_ERROR, E_STRICT, E_USER_ERROR, E_USER_NOTICE, E_USER_WARNING, E_WARNING, EMPTY_VALUE
 
Constructor Summary
ProEnv(QuercusContext quercus)
           
ProEnv(QuercusContext quercus, QuercusPage page, WriteStream out, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 Location getLocation()
          Returns the current execution location.
 int getSourceLine(java.lang.String className, int javaLine)
           
 
Methods inherited from class com.caucho.quercus.env.Env
addAutoloadFunction, addClass, addClass, addClassDef, addCleanup, addConstant, addConstant, addConstant, addFunction, addFunctionFromPage, addInitializedClass, addObjectCleanup, addRemovePath, addShutdown, addWildcardImport, allocateRegexpState, call, call, call, call, call, call, call, callRef, callRef, callRef, callRef, callRef, callRef, callRef, cast, checkTimeout, checkTypeHint, clearClassCache, close, closeDuplex, comma, comma, comma, comma, comma, comma, comma, comma, comma, comma, compileError, compileWarning, createAnonymousFunction, createBinaryBuilder, createBinaryBuilder, createBinaryBuilder, createBinaryBuilder, createBinaryString, createErrorException, createErrorException, createErrorException, createException, createException, createIncompleteObject, createLargeBinaryBuilder, createObject, createSession, createStaticName, createString, createString, createString, createString, createString, createStringBuilder, createUnicodeBuilder, dbgId, decodeValue, deprecatedArgument, destroySession, die, die, error, error, error, error, error, error, error, error, evalCode, execute, executePage, executePageTop, executeTop, exit, exit, expectBoolean, expectNumeric, expectString, fillPost, findAbstractClass, findClass, findClass, findClass, findClassDef, findDatabase, findFunction, findFunction, findFunction, findFunctionId, findMethod, first, first, first, first, first, first, first, first, first, first, first, flush, freeRegexpState, generateId, generateSessionId, getAutoloadFunctions, getByteToChar, getCallDepth, getCallingClass, getCallingClass, getCallingClassName, getClass, getClass, getConfigVar, getConnection, getConnectionStatus, getConstant, getConstant, getConstant, getContentType, getCookies, getCurrent, getCurrentTime, getDatabase, getDataSource, getDate, getDeclaredClasses, getDefaultFunctionMap, getDefaultStreamContext, getDefaultTimeZone, getDefinedConstants, getDefinedFunctions, getDuplex, getEmptyString, getEnv, getEnvVar, getEnvVar, getErrorMask, getExactTime, getExceptionHandler, getExtensionFuncs, getFunction, getFunction, getFunctionArgs, getFunctionLocation, getGlobalEnv, getGlobalEnvVar, getGlobalEnvVar, getGlobalRaw, getGlobalRef, getGlobalScriptContextRef, getGlobalSpecialRef, getGlobalValue, getGlobalValue, getGlobalVar, getGlobalVar, getGlobalVar, getGmtDate, getGzStream, getHttpInputEncoding, getIncludedFiles, getIni, getIniBoolean, getIniBytes, getIniLong, getIniMap, getIniString, getInputData, getInstance, getJavaClassDefinition, getJavaClassDefinition, getJavaSession, getLoadedExtensions, getLocalDate, getLocaleInfo, getLocalValue, getLocalVar, getLocationImpl, getLogger, getMicroTime, getModuleContext, getOriginalOut, getOut, getOutputBuffer, getOutputEncoding, getPwd, getQuercus, getQueryString, getRealPath, getRef, getRef, getRequest, getResponse, getRuntimeEncoding, getRuntimeEncodingFactory, getScriptEncoding, getSelfDirectory, getSelfPath, getServletContext, getSession, getSessionCallback, getShellPwd, getSourceLine, getSpecialValue, getStackTrace, getStartTime, getStaticValue, getStaticVar, getTempDirectory, getThis, getUploadDirectory, getValue, getValue, getVar, getVar, getVar, getWorkDir, ifNull, importJavaClass, importPhpClass, include, include, includeOnce, includeOnce, invalidArgument, isAllowUrlFopen, isAllowUrlInclude, isDefined, isExtensionLoaded, isGlobalEnv, isInitializedClass, isStrict, isUnicodeSemantics, lookup, lookupInclude, lookupPwd, normalizePath, notice, notice, nullAsFalse, pageInit, parse, peekArgs, peekCall, peekCallThis, popCall, popEnv, popFieldGet, popOutputBuffer, popProfile, print, print, print, print, print, print, print, println, println, println, println, pushCall, pushEnv, pushFieldGet, pushOutputBuffer, pushProfile, putQualifiedImport, removeAutoloadFunction, removeCleanup, removeConstant, removeSpecialValue, require, requireOnce, resetTimeout, restoreErrorHandler, restoreExceptionHandler, restoreFunctionArgs, restoreIncludePath, restoreState, saveState, sessionWriteClose, setArgs, setCallingClass, setDefaultTimeZone, setDefaultTimeZone, setEnvRef, setErrorHandler, setErrorMask, setExceptionHandler, setFieldVar, setFunctionArgs, setFunctionArgsNoCopy, setGlobalValue, setGlobalValue, setGzStream, setIncludePath, setIni, setIni, setInputData, setLocalVar, setLocation, setPwd, setRef, setRef, setRuntimeEncoding, setScriptContext, setScriptGlobal, setSelfPath, setSession, setSessionCallback, setSpecialValue, setStaticRef, setThis, setTimeLimit, setValue, setValue, setVar, setVar, start, startDuplex, strict, stub, suppress, toString, toValue, toValue, toVar, unsetGlobalVar, unsetLocalVar, unsetVar, updateFunction, updateTimeout, warning, warning, warning, warning, warning, warning, wrapJava, wrapJava, wrapJava, wrapJava, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProEnv

public ProEnv(QuercusContext quercus,
              QuercusPage page,
              WriteStream out,
              HttpServletRequest request,
              HttpServletResponse response)

ProEnv

public ProEnv(QuercusContext quercus)
Method Detail

getLocation

public Location getLocation()
Returns the current execution location. Use with care, for compiled code this can be a relatively expensive operation.

Overrides:
getLocation in class Env

getSourceLine

public int getSourceLine(java.lang.String className,
                         int javaLine)
Overrides:
getSourceLine in class Env