Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h88 util::StringView SourceCode() const in SourceCode() function
132 lineIndex_ = lexer::LineIndex(SourceCode()); in SetSource()
Dprogram.cpp82 ir::AstDumper dumper {ast_, SourceCode()}; in Dump()
/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.h211 util::StringView SourceCode(binder::Binder *binder) const;
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.cpp97 util::StringView FunctionEmitter::SourceCode() const in SourceCode() function in panda::es2panda::compiler::FunctionEmitter
100 return pg_->Binder()->Program()->SourceCode(); in SourceCode()
102 return static_cast<const ir::ScriptFunction *>(pg_->RootNode())->SourceCode(pg_->Binder()); in SourceCode()
240 func_->source_code = SourceCode().Mutf8(); in GenSourceFileDebugInfo()
254 func_->source_code = SourceCode().Mutf8(); in GenFunctionSource()
Demitter.h89 util::StringView SourceCode() const;
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.cpp79 lexer::LineIndex index(binder_->Program()->SourceCode()); in ThrowTypeError()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp86 lexer::LineIndex index(program_->SourceCode()); in ThrowRedeclaration()
96 lexer::LineIndex index(program_->SourceCode()); in ThrowUndeclaredExport()
106 lexer::LineIndex index(program_->SourceCode()); in ThrowInvalidDstrTarget()
369 auto funcContentNameStr = func->SourceCode(this).Mutf8() + name.Mutf8(); in BuildFunction()
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp33 source_(parserContext->GetProgram()->SourceCode()), in Lexer()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp3802 lexer::LineIndex index(program_.SourceCode()); in ThrowSyntaxError()