v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 607 | skipping to change at line 607 | |||
/** | /** | |||
* Returns true if the source code could not be parsed. | * Returns true if the source code could not be parsed. | |||
*/ | */ | |||
virtual bool HasError() = 0; | virtual bool HasError() = 0; | |||
}; | }; | |||
/** | /** | |||
* The origin, within a file, of a script. | * The origin, within a file, of a script. | |||
*/ | */ | |||
class V8EXPORT ScriptOrigin { | class ScriptOrigin { | |||
public: | public: | |||
V8_INLINE(ScriptOrigin( | V8_INLINE(ScriptOrigin( | |||
Handle<Value> resource_name, | Handle<Value> resource_name, | |||
Handle<Integer> resource_line_offset = Handle<Integer>(), | Handle<Integer> resource_line_offset = Handle<Integer>(), | |||
Handle<Integer> resource_column_offset = Handle<Integer>())) | Handle<Integer> resource_column_offset = Handle<Integer>())) | |||
: resource_name_(resource_name), | : resource_name_(resource_name), | |||
resource_line_offset_(resource_line_offset), | resource_line_offset_(resource_line_offset), | |||
resource_column_offset_(resource_column_offset) { } | resource_column_offset_(resource_column_offset) { } | |||
V8_INLINE(Handle<Value> ResourceName() const); | V8_INLINE(Handle<Value> ResourceName() const); | |||
V8_INLINE(Handle<Integer> ResourceLineOffset() const); | V8_INLINE(Handle<Integer> ResourceLineOffset() const); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||