/arkcompiler/ets_frontend/ets2panda/lexer/token/ |
H A D | sourceLocation.h | 102 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 D | sourceLocation.cpp | 42 LineIndex::LineIndex(const util::StringView &source) noexcept 72 SourceLocation LineIndex::GetLocation(SourcePosition pos) const noexcept
|
/arkcompiler/ets_frontend/es2panda/util/ |
H A D | concurrent.h | 36 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 D | concurrent.cpp | 31 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 D | helpers.h | 68 class LineIndex; 146 static void ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex, bool enableSendableClass, 206 const lexer::LineIndex &lineIndex, bool enableSendableClass,
|
H A D | helpers.cpp | 818 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 D | sourceLocation.h | 98 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 D | sourceLocation.cpp | 43 LineIndex::LineIndex(const util::StringView &source) noexcept 81 SourceLocation LineIndex::GetLocation(SourcePosition pos) noexcept
|
/arkcompiler/ets_frontend/es2panda/parser/program/ |
H A D | program.h | 108 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 D | errorHandler.cpp | 22 lexer::LineIndex index(program_->SourceCode()); in ThrowSyntaxError()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | checker.cpp | 85 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 D | defaultParameterLowering.h | 28 lexer::LineIndex index(program->SourceCode()); in ThrowSyntaxError()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.cpp | 79 lexer::LineIndex index(binder_->Program()->SourceCode()); in ThrowTypeError()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | binder.cpp | 91 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 D | astDump.h | 203 lexer::LineIndex index_;
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
H A D | emitter.h | 103 lexer::LineIndex &GetLineIndex() const;
|
H A D | emitter.cpp | 125 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 D | astDump.h | 245 const lexer::LineIndex index_;
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | etsWarningAnalyzer.cpp | 387 lexer::LineIndex index(program_->SourceCode()); in ETSThrowWarning()
|
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/ |
H A D | declgenEts2Ts.cpp | 108 lexer::LineIndex index(program_->SourceCode()); in ThrowError()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | varbinder.cpp | 133 lexer::LineIndex index(program_->SourceCode()); in ThrowError()
|
/arkcompiler/ets_frontend/ets2panda/lexer/ |
H A D | lexer.cpp | 215 lexer::LineIndex index(source_); in ThrowError()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | parserImpl.cpp | 1255 lexer::LineIndex index(program_->SourceCode()); in ThrowSyntaxError() 1292 lexer::LineIndex index(program_->SourceCode()); in LogSyntaxError()
|
/arkcompiler/ets_frontend/es2panda/lexer/ |
H A D | lexer.cpp | 215 lexer::LineIndex lineIndex = parserContext_->GetProgram()->GetLineIndex(); in ThrowError()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.cpp | 4360 lexer::LineIndex index(program_.SourceCode()); in ThrowSyntaxError() 4464 lexer::LineIndex index(program_.SourceCode()); in RecursiveDepthException()
|