Home
last modified time | relevance | path

Searched refs:lineIndex (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
H A Dconcurrent.cpp31 void Concurrent::SetConcurrent(ir::ScriptFunction *func, const ir::AstNode * node, const lexer::LineIndex &lineIndex) in SetConcurrent() argument
35 ThrowInvalidConcurrentFunction(lineIndex, node, ConcurrentInvalidFlag::NOT_ORDINARY_FUNCTION); in SetConcurrent()
41 void Concurrent::ThrowInvalidConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstNode *expr, in ThrowInvalidConcurrentFunction() argument
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() argument
76 ThrowInvalidConcurrentFunction(lineIndex, node, ConcurrentInvalidFlag::NOT_IMPORT_VARIABLE, in ProcessConcurrent()
H A Dconcurrent.h54 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 Dhelpers.h146 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() argument
844 keepScan = SetFuncFlagsForDirectives(expr->AsStringLiteral(), func, lineIndex, enableSendableClass, in ScanDirectives()
852 const lexer::LineIndex &lineIndex, bool enableSendableClass, in SetFuncFlagsForDirectives()
856 util::Concurrent::SetConcurrent(func, strLit, lineIndex); in SetFuncFlagsForDirectives()
851 SetFuncFlagsForDirectives(const ir::StringLiteral *strLit, ir::ScriptFunction *func, const lexer::LineIndex &lineIndex, bool enableSendableClass, bool enableSendableFunc) SetFuncFlagsForDirectives() argument
/arkcompiler/ets_runtime/ecmascript/patch/
H A Dquick_fix_manager.cpp276 size_t lineIndex = 0; // index of "\n". in ParseStackInfo() local
281 while (lineIndex != stackInfo.length() - 1) { in ParseStackInfo()
282 firstIndex = stackInfo.find(" at ", lineIndex + 1); in ParseStackInfo()
283 nextIndex = stackInfo.find("(", lineIndex + 1); in ParseStackInfo()
287 lineIndex = stackInfo.find("\n", lineIndex + 1); in ParseStackInfo()
/arkcompiler/ets_frontend/es2panda/lexer/
H A Dlexer.cpp215 lexer::LineIndex lineIndex = parserContext_->GetProgram()->GetLineIndex(); in ThrowError() local
216 SourceLocation loc = lineIndex.GetLocation(SourcePosition(Iterator().Index(), pos_.line + pos_.nextTokenLine)); in ThrowError()

Completed in 6 milliseconds