• Home
  • Raw
  • Download

Lines Matching refs:nodeFormat

4849     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()
4869 if (nodeFormat = GetFormatPlaceholderIdent(); nodeFormat->first == TYPE_FORMAT_NODE) { in ParseExpressionFormatPlaceholder()
4870 return ParseTypeFormatPlaceholder(std::move(nodeFormat)); in ParseExpressionFormatPlaceholder()
4871 …} else if (nodeFormat->first == IDENTIFIER_FORMAT_NODE) { // NOLINT(readability-else-after-return) in ParseExpressionFormatPlaceholder()
4872 return ParseIdentifierFormatPlaceholder(std::move(nodeFormat)); in ParseExpressionFormatPlaceholder()
4873 …} else if (nodeFormat->first != EXPRESSION_FORMAT_NODE) { // NOLINT(readability-else-after-return) in ParseExpressionFormatPlaceholder()
4879 nodeFormat->second < insertingNodes_.size() ? insertingNodes_[nodeFormat->second] : nullptr; in ParseExpressionFormatPlaceholder()
4889 …peNode *ETSParser::ParseTypeFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat) in ParseTypeFormatPlaceholder() argument
4891 if (!nodeFormat.has_value()) { in ParseTypeFormatPlaceholder()
4896 if (nodeFormat = GetFormatPlaceholderIdent(); nodeFormat->first != TYPE_FORMAT_NODE) { in ParseTypeFormatPlaceholder()
4902 nodeFormat->second < insertingNodes_.size() ? insertingNodes_[nodeFormat->second] : nullptr; in ParseTypeFormatPlaceholder()
4913 … *ETSParser::ParseIdentifierFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat) in ParseIdentifierFormatPlaceholder() argument
4915 if (!nodeFormat.has_value()) { in ParseIdentifierFormatPlaceholder()
4920 if (nodeFormat = GetFormatPlaceholderIdent(); nodeFormat->first != IDENTIFIER_FORMAT_NODE) { in ParseIdentifierFormatPlaceholder()
4926 nodeFormat->second < insertingNodes_.size() ? insertingNodes_[nodeFormat->second] : nullptr; in ParseIdentifierFormatPlaceholder()
4936 …t *ETSParser::ParseStatementFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat) in ParseStatementFormatPlaceholder() argument
4938 if (!nodeFormat.has_value()) { in ParseStatementFormatPlaceholder()
4943 if (nodeFormat = GetFormatPlaceholderIdent(); nodeFormat->first != STATEMENT_FORMAT_NODE) { in ParseStatementFormatPlaceholder()
4949 nodeFormat->second < insertingNodes_.size() ? insertingNodes_[nodeFormat->second] : nullptr; in ParseStatementFormatPlaceholder()