Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/ets2panda/parser/
DETSFormattedParser.cpp79 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType(); in ParseExpressionFormatPlaceholder() local
80 if (std::get<0>(nodeFormat)) { in ParseExpressionFormatPlaceholder()
84 if (auto const placeholderType = std::get<1>(nodeFormat); placeholderType == TYPE_FORMAT_NODE) { in ParseExpressionFormatPlaceholder()
85 return ParseTypeFormatPlaceholder(std::make_optional(std::move(nodeFormat))); in ParseExpressionFormatPlaceholder()
87 return ParseIdentifierFormatPlaceholder(std::make_optional(std::move(nodeFormat))); in ParseExpressionFormatPlaceholder()
92 auto const placeholderNumber = std::get<2>(nodeFormat); in ParseExpressionFormatPlaceholder()
104 …peNode *ETSParser::ParseTypeFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat) in ParseTypeFormatPlaceholder() argument
106 if (!nodeFormat.has_value()) { in ParseTypeFormatPlaceholder()
111 nodeFormat = GetFormatPlaceholderType(); in ParseTypeFormatPlaceholder()
112 if (std::get<0>(*nodeFormat) || std::get<1>(*nodeFormat) != TYPE_FORMAT_NODE) { in ParseTypeFormatPlaceholder()
[all …]
DETSparser.h213 …ir::Identifier *ParseIdentifierFormatPlaceholder(std::optional<NodeFormatType> nodeFormat) const o…
214 … ir::TypeNode *ParseTypeFormatPlaceholder(std::optional<NodeFormatType> nodeFormat = std::nullopt);
DparserImpl.h416 …l ir::Identifier *ParseIdentifierFormatPlaceholder(std::optional<NodeFormatType> nodeFormat) const;
DparserImpl.cpp1102 [[maybe_unused]] std::optional<NodeFormatType> nodeFormat) const in ParseIdentifierFormatPlaceholder()