Home
last modified time | relevance | path

Searched refs:SourceCode (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/parser/
DSourceCode.h37 class SourceCode {
39 SourceCode() in SourceCode() function
47 SourceCode(PassRefPtr<SourceProvider> provider, int firstLine = 1)
55 SourceCode(PassRefPtr<SourceProvider> provider, int start, int end, int firstLine) in SourceCode() function
85 …inline SourceCode makeSource(const UString& source, const UString& url = UString(), int firstLine …
87 return SourceCode(UStringSourceProvider::create(source, url), firstLine);
DNodes.cpp99 ScopeNode::ScopeNode(JSGlobalData* globalData, const SourceCode& source, SourceElements* children, … in ScopeNode()
115 …ack, FunctionStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& source, CodeFea… in ProgramNode()
120 …ack, FunctionStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& source, CodeFea… in create()
133 …ack, FunctionStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& source, CodeFea… in EvalNode()
138 …ack, FunctionStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& source, CodeFea… in create()
162 …ack, FunctionStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& sourceCode, Cod… in FunctionBodyNode()
167 void FunctionBodyNode::finishParsing(const SourceCode& source, ParameterNode* firstParameter, const… in finishParsing()
185 …ack, FunctionStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& sourceCode, Cod… in create()
DParser.h53 …arse(JSGlobalObject* lexicalGlobalObject, Debugger*, ExecState*, const SourceCode& source, Functio…
69 const SourceCode* m_source;
80 …lGlobalObject, Debugger* debugger, ExecState* debuggerExecState, const SourceCode& source, Functio… in parse()
DLexer.h50 void setCode(const SourceCode&, ParserArena&);
62 SourceCode sourceCode(int openBrace, int closeBrace, int firstLine);
132 const SourceCode* m_source;
DJSParser.h35 class SourceCode; variable
162 …* jsParse(JSGlobalData*, FunctionParameters*, JSParserStrictness, JSParserMode, const SourceCode*);
DNodes.h1401 …ScopeNode(JSGlobalData*, const SourceCode&, SourceElements*, VarStack*, FunctionStack*, Identifier…
1408 const SourceCode& source() const { return m_source; } in source()
1442 void setSource(const SourceCode& source) { m_source = source; } in setSource()
1447 SourceCode m_source;
1453 …ta*, SourceElements*, VarStack*, FunctionStack*, IdentifierSet&, const SourceCode&, CodeFeatures, …
1458 …ta*, SourceElements*, VarStack*, FunctionStack*, IdentifierSet&, const SourceCode&, CodeFeatures, …
1466 …ta*, SourceElements*, VarStack*, FunctionStack*, IdentifierSet&, const SourceCode&, CodeFeatures, …
1471 …ta*, SourceElements*, VarStack*, FunctionStack*, IdentifierSet&, const SourceCode&, CodeFeatures, …
1489 …ta*, SourceElements*, VarStack*, FunctionStack*, IdentifierSet&, const SourceCode&, CodeFeatures, …
1496 void finishParsing(const SourceCode&, ParameterNode*, const Identifier&);
[all …]
DLexer.cpp247 void Lexer::setCode(const SourceCode& source, ParserArena& arena) in setCode()
1198 SourceCode Lexer::sourceCode(int openBrace, int closeBrace, int firstLine) in sourceCode()
1202 return SourceCode(m_source->provider(), openBrace, closeBrace + 1, firstLine); in sourceCode()
DNodeConstructors.h817 …ta* globalData, const Identifier& ident, FunctionBodyNode* body, const SourceCode& source, Paramet… in FuncExprNode()
824 …ta* globalData, const Identifier& ident, FunctionBodyNode* body, const SourceCode& source, Paramet… in FuncDeclNode()
/external/webkit/Source/JavaScriptCore/runtime/
DExecutable.h151 …ScriptExecutable(Structure* structure, JSGlobalData* globalData, const SourceCode& source, bool is… in ScriptExecutable()
165 …ScriptExecutable(Structure* structure, ExecState* exec, const SourceCode& source, bool isInStrictC… in ScriptExecutable()
179 const SourceCode& source() { return m_source; } in source()
199 SourceCode m_source;
227 …static EvalExecutable* create(ExecState* exec, const SourceCode& source, bool isInStrictContext) {… in create()
240 EvalExecutable(ExecState*, const SourceCode&, bool);
250 static ProgramExecutable* create(ExecState* exec, const SourceCode& source) in create()
287 ProgramExecutable(ExecState*, const SourceCode&);
298 …static FunctionExecutable* create(ExecState* exec, const Identifier& name, const SourceCode& sourc… in create()
303 …utable* create(JSGlobalData* globalData, const Identifier& name, const SourceCode& source, bool fo… in create()
[all …]
DCompletion.h32 class SourceCode; variable
58 Completion checkSyntax(ExecState*, const SourceCode&);
59 …Completion evaluate(ExecState*, ScopeChainNode*, const SourceCode&, JSValue thisValue = JSValue());
DError.h35 class SourceCode; variable
58 JSObject* addErrorInfo(JSGlobalData*, JSObject* error, int line, const SourceCode&);
60 JSObject* addErrorInfo(ExecState*, JSObject* error, int line, const SourceCode&);
DCompletion.cpp37 Completion checkSyntax(ExecState* exec, const SourceCode& source) in checkSyntax()
50 Completion evaluate(ExecState* exec, ScopeChainNode* scopeChain, const SourceCode& source, JSValue … in evaluate()
DExecutable.cpp53 EvalExecutable::EvalExecutable(ExecState* exec, const SourceCode& source, bool inStrictContext) in EvalExecutable()
64 ProgramExecutable::ProgramExecutable(ExecState* exec, const SourceCode& source) in ProgramExecutable()
75 …tionExecutable(JSGlobalData* globalData, const Identifier& name, const SourceCode& source, bool fo… in FunctionExecutable()
87 FunctionExecutable::FunctionExecutable(ExecState* exec, const Identifier& name, const SourceCode& s… in FunctionExecutable()
345 …t Identifier& functionName, ExecState* exec, Debugger* debugger, const SourceCode& source, JSObjec… in fromGlobalCode()
DError.cpp119 JSObject* addErrorInfo(JSGlobalData* globalData, JSObject* error, int line, const SourceCode& sourc… in addErrorInfo()
134 JSObject* addErrorInfo(ExecState* exec, JSObject* error, int line, const SourceCode& source) in addErrorInfo()
DFunctionConstructor.cpp100 SourceCode source = makeSource(program, sourceURL, lineNumber); in constructFunction()
/external/webkit/Source/WebCore/bindings/js/
DScriptSourceCode.h60 const JSC::SourceCode& jsSourceCode() const { return m_code; } in jsSourceCode()
71 JSC::SourceCode m_code;
DStringSourceProvider.h63 …inline JSC::SourceCode makeSource(const String& source, const String& url = String(), int firstLin…
65 return JSC::SourceCode(StringSourceProvider::create(source, url), firstLine);
DCachedScriptSourceProvider.h69 inline JSC::SourceCode makeSource(CachedScript* cachedScript) in makeSource()
71 return JSC::SourceCode(CachedScriptSourceProvider::create(cachedScript)); in makeSource()
DJSMainThreadExecState.h51 … evaluate(JSC::ExecState* exec, JSC::ScopeChainNode* chain, const JSC::SourceCode& source, JSC::JS… in evaluate()
DJSInjectedScriptManager.cpp53 SourceCode sourceCode = makeSource(stringToUString(source)); in createInjectedScript()
DScriptController.cpp120 const SourceCode& jsSourceCode = sourceCode.jsSourceCode(); in evaluateInWorld()
/external/webkit/Source/JavaScriptCore/API/
DJSBase.cpp54 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber); in JSEvaluateScript()
75 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber); in JSCheckScriptSyntax()
/external/webkit/Source/JavaScriptCore/
DJavaScriptCore.gypi52 'parser/SourceCode.h',
DGNUmakefile.list.am200 Source/JavaScriptCore/parser/SourceCode.h \
DChangeLog-2009-06-1614194 associated SourceCode and steals the ExceptionInfo from it.
20206 (JSC::Parser::reparse): Reparse the SourceCode in the FunctionBodyNode and set
20210 * parser/SourceCode.h:
20211 (JSC::SourceCode::endOffset): Added for use in the lexer.
24784 * kjs/SourceCode.h: Removed.
24804 * parser/SourceCode.h: Copied from kjs/SourceCode.h.
25488 Rename SourceRange.h to SourceCode.h.
25495 * kjs/SourceCode.h: Copied from kjs/SourceRange.h.
28883 (JSC::JSFunction::JSFunction): Try to validate our SourceCode in debug
28885 all SourceCode bugs, but it catches a lot of them.
[all …]

12