Home
last modified time | relevance | path

Searched defs:lexer (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordsUtil.h33 …explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags) : lexer_(lexer), flags_(flag… in KeywordsUtil()
34 explicit KeywordsUtil(Lexer *lexer, lexer::LexerNextTokenFlags flags, char32_t cp) in KeywordsUtil()
DkeywordsUtil.cpp21 namespace panda::es2panda::lexer { namespace
Dlexer.h187 explicit TemplateLiteralParserContext(Lexer *lexer) : lexer_(lexer), prev_(lexer_->tlCtx_) {} in TemplateLiteralParserContext()
/arkcompiler/ets_frontend/ets2panda/lexer/
DkeywordsUtil.h33 … explicit KeywordsUtil(Lexer *lexer, lexer::NextTokenFlags flags) : lexer_(lexer), flags_(flags) {} in KeywordsUtil()
34 explicit KeywordsUtil(Lexer *lexer, lexer::NextTokenFlags flags, char32_t cp) in KeywordsUtil()
DTSLexer.cpp19 namespace ark::es2panda::lexer { namespace
DASLexer.cpp19 namespace ark::es2panda::lexer { namespace
DkeywordsBase.h26 …explicit Keywords(Lexer *lexer, lexer::NextTokenFlags flags) : util_(KeywordsUtil(lexer, flags)) {} in Keywords()
DETSLexer.cpp19 namespace ark::es2panda::lexer { namespace
Dkeywords.cpp20 namespace ark::es2panda::lexer { namespace
DkeywordsUtil.cpp23 namespace ark::es2panda::lexer { namespace
/arkcompiler/ets_frontend/ets2panda/parser/
DETSFormattedParser.cpp288 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateStatement() local
339 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateFormattedTypeAnnotation() local
358 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateStatements() local
428 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateClassElement() local
452 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateClassDeclaration() local
495 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateConstructorDefinition() local
528 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateExpression() local
557 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateTopLevelStatement() local
577 auto const lexer = InitLexer({GetContext().FormattingFileName(), source.View().Utf8()}); in CreateTypeAnnotation() local
DTSparser.cpp124 auto lexer = std::make_unique<lexer::TSLexer>(&GetContext(), DiagnosticEngine()); in InitLexer() local
1046 static ir::TypeNode *GetTypeAnnotationFromLiteral(TSParser *parser, lexer::Lexer *lexer) in GetTypeAnnotationFromLiteral() argument
1089 static ir::TypeNode *GetTypeAnnotation(TSParser *parser, lexer::Lexer *lexer) in GetTypeAnnotation() argument
1273 …static ir::TypeNode *ParseKeywordTokens(TSParser *parser, lexer::Lexer *lexer, ir::TypeNode *typeA… in ParseKeywordTokens() argument
1327 …static ir::TypeNode *ParsePunctuatorTokens(TSParser *parser, lexer::Lexer *lexer, ir::TypeNode *ty… in ParsePunctuatorTokens() argument
DETSparserExpressions.cpp34 static std::string GetArgumentsSourceView(lexer::Lexer *lexer, const util::StringView::Iterator &le… in GetArgumentsSourceView() argument
454 bool TypedParser::EatArrowFunctionParams(lexer::Lexer *lexer) in EatArrowFunctionParams() argument
DparserImpl.h551 void SetLexer(lexer::Lexer *lexer) in SetLexer() argument
DexpressionTSParser.cpp415 static ir::ArrowFunctionExpression *CreateCallExpression(TSParser *parser, lexer::Lexer *lexer, in CreateCallExpression() argument
/arkcompiler/ets_frontend/ets2panda/util/
DerrorRecovery.cpp20 ErrorRecursionGuard::ErrorRecursionGuard(lexer::Lexer *lexer) : lexer_(lexer), savedPos_(lexer_->Sa… in ErrorRecursionGuard() argument
/arkcompiler/ets_frontend/ets2panda/lsp/src/
Dclassifier.cpp39 …std::unique_ptr<lexer::Lexer> lexer = std::make_unique<lexer::Lexer>(&parserContext, *ctx->diagnos… in InitLexer() local
137 auto lexer = InitLexer(context); in GetSyntacticClassifications() local
191 auto lexer = InitLexer(context); in GetSemanticClassifications() local
/arkcompiler/ets_frontend/ets2panda/lexer/token/
Dnumber.cpp19 namespace ark::es2panda::lexer { namespace
Dtoken.cpp18 namespace ark::es2panda::lexer { namespace
DsourceLocation.cpp23 namespace ark::es2panda::lexer { namespace
/arkcompiler/ets_frontend/es2panda/lexer/token/
DsourceLocation.cpp20 namespace panda::es2panda::lexer { namespace
Dtoken.cpp20 namespace panda::es2panda::lexer { namespace
/arkcompiler/runtime_core/static_core/assembler/
Dpandasm.cpp108 bool Tokenize(ark::pandasm::Lexer &lexer, std::vector<std::vector<ark::pandasm::Token>> &tokens, in Tokenize()
257 ark::pandasm::Lexer lexer; in main() local
/arkcompiler/runtime_core/assembler/
Dpandasm.cpp107 bool Tokenize(panda::pandasm::Lexer &lexer, std::vector<std::vector<panda::pandasm::Token>> &tokens, in Tokenize()
242 panda::pandasm::Lexer lexer; in main() local
/arkcompiler/ets_frontend/ets2panda/lexer/regexp/
Dregexp.cpp24 namespace ark::es2panda::lexer { namespace

12