Home
last modified time | relevance | path

Searched refs:nodeFormat (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
DETSparser.cpp4849 if (auto nodeFormat = GetFormatPlaceholderIdent(); nodeFormat.first == EXPRESSION_FORMAT_NODE) { in ParseFormatPlaceholder() local
4850 return ParseExpressionFormatPlaceholder(std::make_optional(nodeFormat)); in ParseFormatPlaceholder()
4851 … } else if (nodeFormat.first == IDENTIFIER_FORMAT_NODE) { // NOLINT(readability-else-after-return) in ParseFormatPlaceholder()
4852 return ParseIdentifierFormatPlaceholder(std::make_optional(nodeFormat)); in ParseFormatPlaceholder()
4853 } else if (nodeFormat.first == TYPE_FORMAT_NODE) { // NOLINT(readability-else-after-return) in ParseFormatPlaceholder()
4854 return ParseTypeFormatPlaceholder(std::make_optional(nodeFormat)); in ParseFormatPlaceholder()
4855 … } else if (nodeFormat.first == STATEMENT_FORMAT_NODE) { // NOLINT(readability-else-after-return) in ParseFormatPlaceholder()
4856 return ParseStatementFormatPlaceholder(std::make_optional(nodeFormat)); in ParseFormatPlaceholder()
4862 … *ETSParser::ParseExpressionFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat) in ParseExpressionFormatPlaceholder() argument
4864 if (!nodeFormat.has_value()) { in ParseExpressionFormatPlaceholder()
[all …]
DETSparser.h275 …ir::Statement *ParseStatementFormatPlaceholder(std::optional<NodeFormatType> nodeFormat = std::nul…
276 …ir::Expression *ParseExpressionFormatPlaceholder(std::optional<NodeFormatType> nodeFormat = std::n…
278 …ir::Identifier *ParseIdentifierFormatPlaceholder(std::optional<NodeFormatType> nodeFormat = std::n…
279 … ir::TypeNode *ParseTypeFormatPlaceholder(std::optional<NodeFormatType> nodeFormat = std::nullopt);
DparserImpl.h520 [[maybe_unused]] std::optional<NodeFormatType> nodeFormat = std::nullopt)