Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/parser/program/
Dprogram.cpp28 ir::AstDumper dumper {ast_, SourceCode()}; in Dump()
34 [[maybe_unused]] ir::AstDumper dumper {ast_, SourceCode()}; in DumpSilent()
Dprogram.h92 util::StringView SourceCode() const in SourceCode() function
/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.cpp138 util::StringView ScriptFunction::SourceCode(binder::Binder *binder) const in SourceCode() function in panda::es2panda::ir::ScriptFunction
149 return binder->Program()->SourceCode().Substr(startIndex, endIndex); in SourceCode()
DscriptFunction.h235 util::StringView SourceCode(binder::Binder *binder) const;
/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h88 util::StringView SourceCode() const in SourceCode() function
132 lineIndex_ = lexer::LineIndex(SourceCode()); in SetSource()
Dprogram.cpp86 ir::AstDumper dumper {ast_, SourceCode()}; in Dump()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
Demitter.cpp122 util::StringView FunctionEmitter::SourceCode() const in SourceCode() function in panda::es2panda::compiler::FunctionEmitter
124 return cg_->VarBinder()->Program()->SourceCode(); in SourceCode()
203 pandaIns->insDebug.wholeLine = WholeLine(SourceCode(), astNode->Range()); in GenInstructionDebugInfo()
267 func->sourceCode = SourceCode().EscapeSymbol<util::StringView::Mutf8Encode>(); in GenSourceFileDebugInfo()
Demitter.h77 util::StringView SourceCode() const;
/arkcompiler/ets_frontend/ets2panda/checker/
Dchecker.cpp85 lexer::LineIndex index(program_->SourceCode()); in ThrowTypeError()
93 lexer::LineIndex index(program_->SourceCode()); in Warning()
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.cpp79 lexer::LineIndex index(binder_->Program()->SourceCode()); in ThrowTypeError()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp98 util::StringView FunctionEmitter::SourceCode() const in SourceCode() function in panda::es2panda::compiler::FunctionEmitter
101 return pg_->Binder()->Program()->SourceCode(); in SourceCode()
103 return static_cast<const ir::ScriptFunction *>(pg_->RootNode())->SourceCode(pg_->Binder()); in SourceCode()
261 func_->source_code = SourceCode().Mutf8(); in GenSourceFileDebugInfo()
272 func_->source_code = SourceCode().Mutf8(); in GenFunctionSource()
Demitter.h90 util::StringView SourceCode() const;
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp88 lexer::LineIndex index(program_->SourceCode()); in ThrowRedeclaration()
98 lexer::LineIndex index(program_->SourceCode()); in ThrowUndeclaredExport()
108 lexer::LineIndex index(program_->SourceCode()); in ThrowInvalidDstrTarget()
385 auto funcContentNameStr = func->SourceCode(this).Mutf8() + name.Mutf8(); in BuildFunction()
1052 lexer::LineIndex index(program_->SourceCode()); in CheckPrivateDeclaration()
/arkcompiler/ets_frontend/ets2panda/util/
DdeclgenEts2Ts.cpp103 lexer::LineIndex index(program_->SourceCode()); in ThrowError()
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvarbinder.cpp132 lexer::LineIndex index(program_->SourceCode()); in ThrowError()
/arkcompiler/ets_frontend/ets2panda/lexer/
Dlexer.cpp33 source_(parserContext->GetProgram()->SourceCode()), in Lexer()
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp33 source_(parserContext->GetProgram()->SourceCode()), in Lexer()
/arkcompiler/ets_frontend/ets2panda/parser/
DparserImpl.cpp1144 lexer::LineIndex index(program_->SourceCode()); in ThrowSyntaxError()
DETSparser.cpp268 GetProgram()->SetSource(GetProgram()->SourceCode(), GetProgram()->SourceFilePath(), in PrepareExternalGlobalClass()
5148 savedSourceCode_(parser_->GetProgram()->SourceCode()), in InnerSourceParser()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
DscopesInitPhase.cpp323 lexer::LineIndex index(program_->SourceCode()); in ThrowSyntaxError()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp4214 lexer::LineIndex index(program_.SourceCode()); in ThrowSyntaxError()
4318 lexer::LineIndex index(program_.SourceCode()); in RecursiveDepthException()