Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefV8StackFrame

CefBaseRefCounted
   |
   +--CefV8StackFrame

   in cef_v8.h

class CefV8StackFrame
extends CefBaseRefCounted

Class representing a V8 stack frame handle. V8 handles can only be accessed from the thread on which they are created. Valid threads for creating a V8 handle include the render process main thread (TID_RENDERER) and WebWorker threads. A task runner for posting tasks on the associated thread can be retrieved via the CefV8Context::GetTaskRunner() method.


Method Summary
 virtual int GetColumn()= 0
          Returns the 1-based column offset on the line for the function call or 0 if unknown.
 virtual CefString GetFunctionName()= 0
          Returns the name of the function.
 virtual int GetLineNumber()= 0
          Returns the 1-based line number for the function call or 0 if unknown.
 virtual CefString GetScriptName()= 0
          Returns the name of the resource script that contains the function.
 virtual CefString GetScriptNameOrSourceURL()= 0
          Returns the name of the resource script that contains the function or the sourceURL value if the script name is undefined and its source ends with a "//@ sourceURL=..." string.
 virtual bool IsConstructor()= 0
          Returns true if the function was called as a constructor via "new".
 virtual bool IsEval()= 0
          Returns true if the function was compiled using eval().
 virtual bool IsValid()= 0
          Returns true if the underlying handle is valid and it can be accessed on the current thread.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

GetColumn

public virtual int GetColumn()= 0;
Returns the 1-based column offset on the line for the function call or 0 if unknown.

GetFunctionName

public virtual CefString GetFunctionName()= 0;
Returns the name of the function.

GetLineNumber

public virtual int GetLineNumber()= 0;
Returns the 1-based line number for the function call or 0 if unknown.

GetScriptName

public virtual CefString GetScriptName()= 0;
Returns the name of the resource script that contains the function.

GetScriptNameOrSourceURL

public virtual CefString GetScriptNameOrSourceURL()= 0;
Returns the name of the resource script that contains the function or the sourceURL value if the script name is undefined and its source ends with a "//@ sourceURL=..." string.

IsConstructor

public virtual bool IsConstructor()= 0;
Returns true if the function was called as a constructor via "new".

IsEval

public virtual bool IsEval()= 0;
Returns true if the function was compiled using eval().

IsValid

public virtual bool IsValid()= 0;
Returns true if the underlying handle is valid and it can be accessed on the current thread. Do not call any other methods if this method returns false.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt