Home
last modified time | relevance | path

Searched refs:LineIndex (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.h98 class LineIndex {
100 explicit LineIndex(const util::StringView &source) noexcept;
101 explicit LineIndex() noexcept = default;
102 DEFAULT_COPY_SEMANTIC(LineIndex);
103 DEFAULT_MOVE_SEMANTIC(LineIndex);
104 ~LineIndex() = default;
DsourceLocation.cpp43 LineIndex::LineIndex(const util::StringView &source) noexcept in LineIndex() function in panda::es2panda::lexer::LineIndex
81 SourceLocation LineIndex::GetLocation(SourcePosition pos) noexcept in GetLocation()
/arkcompiler/ets_frontend/es2panda/util/
Dconcurrent.h36 class LineIndex; variable
50 …etConcurrent(ir::ScriptFunction *func, const ir::AstNode *node, const lexer::LineIndex &lineIndex);
51 …static void ThrowInvalidConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstNode *e…
53 …static void VerifyImportVarForConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstN…
Dconcurrent.cpp30 …etConcurrent(ir::ScriptFunction *func, const ir::AstNode * node, const lexer::LineIndex &lineIndex) in SetConcurrent()
40 void Concurrent::ThrowInvalidConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstNod… in ThrowInvalidConcurrentFunction()
44 …auto column = (const_cast<lexer::LineIndex &>(lineIndex)).GetLocation(expr->Range().start).col - 1; in ThrowInvalidConcurrentFunction()
63 void Concurrent::VerifyImportVarForConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::… in VerifyImportVarForConcurrentFunction()
Dhelpers.h46 class LineIndex; variable
102 static void ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex);
123 const lexer::LineIndex &lineIndex);
Dhelpers.cpp678 void Helpers::ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex) in ScanDirectives()
710 const lexer::LineIndex &lineIndex) in SetFuncFlagsForDirectives()
/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h108 const lexer::LineIndex &GetLineIndex() const in GetLineIndex()
132 lineIndex_ = lexer::LineIndex(SourceCode()); in SetSource()
181 lexer::LineIndex lineIndex_ {};
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.cpp79 lexer::LineIndex index(binder_->Program()->SourceCode()); in ThrowTypeError()
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
Demitter.h90 lexer::LineIndex &GetLineIndex() const;
Demitter.cpp105 lexer::LineIndex &FunctionEmitter::GetLineIndex() const in GetLineIndex()
107 return const_cast<lexer::LineIndex &>(pg_->Binder()->Program()->GetLineIndex()); in GetLineIndex()
/arkcompiler/ets_frontend/es2panda/ir/
DastDump.h203 lexer::LineIndex index_;
/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()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp3802 lexer::LineIndex index(program_.SourceCode()); in ThrowSyntaxError()
3849 lexer::LineIndex index(program_.SourceCode()); in RecursiveDepthException()