Home
last modified time | relevance | path

Searched refs:LineIndex (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A DsourceLocation.h102 class LineIndex { class
104 explicit LineIndex(const util::StringView &source) noexcept;
105 NO_COPY_SEMANTIC(LineIndex);
106 NO_MOVE_SEMANTIC(LineIndex);
107 ~LineIndex() = default;
H A DsourceLocation.cpp42 LineIndex::LineIndex(const util::StringView &source) noexcept
72 SourceLocation LineIndex::GetLocation(SourcePosition pos) const noexcept
/arkcompiler/ets_frontend/es2panda/util/
H A Dconcurrent.h36 class LineIndex;
54 static void SetConcurrent(ir::ScriptFunction *func, const ir::AstNode *node, const lexer::LineIndex &lineIndex);
55 static void ThrowInvalidConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstNode *expr,
58 static void ProcessConcurrent(const lexer::LineIndex &lineIndex, const ir::AstNode *node,
H A Dconcurrent.cpp31 void Concurrent::SetConcurrent(ir::ScriptFunction *func, const ir::AstNode * node, const lexer::LineIndex &lineIndex) in SetConcurrent()
41 void Concurrent::ThrowInvalidConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstNode *expr, in ThrowInvalidConcurrentFunction()
45 auto column = (const_cast<lexer::LineIndex &>(lineIndex)).GetLocation(expr->Range().start).col - 1; in ThrowInvalidConcurrentFunction()
64 void Concurrent::ProcessConcurrent(const lexer::LineIndex &lineIndex, const ir::AstNode *node, in ProcessConcurrent()
H A Dhelpers.h68 class LineIndex;
146 static void ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex, bool enableSendableClass,
206 const lexer::LineIndex &lineIndex, bool enableSendableClass,
H A Dhelpers.cpp818 void Helpers::ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex, bool enableSendableClass, in ScanDirectives()
852 const lexer::LineIndex &lineIndex, bool enableSendableClass, in SetFuncFlagsForDirectives()
919 lexer::LineIndex index(program->SourceCode()); in ThrowError()
/arkcompiler/ets_frontend/es2panda/lexer/token/
H A DsourceLocation.h98 class LineIndex { class
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;
H A DsourceLocation.cpp43 LineIndex::LineIndex(const util::StringView &source) noexcept
81 SourceLocation LineIndex::GetLocation(SourcePosition pos) noexcept
/arkcompiler/ets_frontend/es2panda/parser/program/
H A Dprogram.h108 const lexer::LineIndex &GetLineIndex() const in GetLineIndex()
132 lineIndex_ = lexer::LineIndex(SourceCode()); in SetSource()
251 lexer::LineIndex lineIndex_ {};
/arkcompiler/ets_frontend/ets2panda/util/
H A DerrorHandler.cpp22 lexer::LineIndex index(program_->SourceCode()); in ThrowSyntaxError()
/arkcompiler/ets_frontend/ets2panda/checker/
H A Dchecker.cpp85 lexer::LineIndex index(program_->SourceCode()); in ThrowTypeError()
98 lexer::LineIndex index(program_->SourceCode()); in LogTypeError()
106 lexer::LineIndex index(program_->SourceCode()); in Warning()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DdefaultParameterLowering.h28 lexer::LineIndex index(program->SourceCode()); in ThrowSyntaxError()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.cpp79 lexer::LineIndex index(binder_->Program()->SourceCode()); in ThrowTypeError()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dbinder.cpp91 lexer::LineIndex index(program_->SourceCode()); in ThrowRedeclaration()
101 lexer::LineIndex index(program_->SourceCode()); in ThrowUndeclaredExport()
111 lexer::LineIndex index(program_->SourceCode()); in ThrowInvalidDstrTarget()
121 lexer::LineIndex index(program_->SourceCode()); in ThrowInvalidAnnotationDeclaration()
1140 lexer::LineIndex index(program_->SourceCode()); in CheckPrivateDeclaration()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastDump.h203 lexer::LineIndex index_;
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
H A Demitter.h103 lexer::LineIndex &GetLineIndex() const;
H A Demitter.cpp125 lexer::LineIndex &FunctionEmitter::GetLineIndex() const in GetLineIndex()
127 return const_cast<lexer::LineIndex &>(pg_->Binder()->Program()->GetLineIndex()); in GetLineIndex()
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastDump.h245 const lexer::LineIndex index_;
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DetsWarningAnalyzer.cpp387 lexer::LineIndex index(program_->SourceCode()); in ETSThrowWarning()
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
H A DdeclgenEts2Ts.cpp108 lexer::LineIndex index(program_->SourceCode()); in ThrowError()
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvarbinder.cpp133 lexer::LineIndex index(program_->SourceCode()); in ThrowError()
/arkcompiler/ets_frontend/ets2panda/lexer/
H A Dlexer.cpp215 lexer::LineIndex index(source_); in ThrowError()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DparserImpl.cpp1255 lexer::LineIndex index(program_->SourceCode()); in ThrowSyntaxError()
1292 lexer::LineIndex index(program_->SourceCode()); in LogSyntaxError()
/arkcompiler/ets_frontend/es2panda/lexer/
H A Dlexer.cpp215 lexer::LineIndex lineIndex = parserContext_->GetProgram()->GetLineIndex(); in ThrowError()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp4360 lexer::LineIndex index(program_.SourceCode()); in ThrowSyntaxError()
4464 lexer::LineIndex index(program_.SourceCode()); in RecursiveDepthException()

Completed in 25 milliseconds