Home
last modified time | relevance | path

Searched refs:lineIndex (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
Dconcurrent.cpp30 …etConcurrent(ir::ScriptFunction *func, const ir::AstNode * node, const lexer::LineIndex &lineIndex) in SetConcurrent() argument
34 … ThrowInvalidConcurrentFunction(lineIndex, node, ConcurrentInvalidFlag::NOT_ORDINARY_FUNCTION); in SetConcurrent()
40 void Concurrent::ThrowInvalidConcurrentFunction(const lexer::LineIndex &lineIndex, const ir::AstNod… in ThrowInvalidConcurrentFunction() argument
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() argument
74 ThrowInvalidConcurrentFunction(lineIndex, node, ConcurrentInvalidFlag::NOT_IMPORT_VARIABLE, in VerifyImportVarForConcurrentFunction()
Dconcurrent.h50 …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…
Dhelpers.h102 static void ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex);
123 const lexer::LineIndex &lineIndex);
Dhelpers.cpp674 void Helpers::ScanDirectives(ir::ScriptFunction *func, const lexer::LineIndex &lineIndex) in ScanDirectives() argument
699 keepScan = SetFuncFlagsForDirectives(expr->AsStringLiteral(), func, lineIndex); in ScanDirectives()
706 const lexer::LineIndex &lineIndex) in SetFuncFlagsForDirectives() argument
714 util::Concurrent::SetConcurrent(func, strLit, lineIndex); in SetFuncFlagsForDirectives()
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp235 size_t lineIndex = 0; // index of "\n". in ParseStackInfo() local
240 while (lineIndex != stackInfo.length() - 1) { in ParseStackInfo()
241 firstIndex = stackInfo.find(" at ", lineIndex + 1); in ParseStackInfo()
242 nextIndex = stackInfo.find("(", lineIndex + 1); in ParseStackInfo()
246 lineIndex = stackInfo.find("\n", lineIndex + 1); in ParseStackInfo()