Lines Matching defs:nodeFormat
79 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType();
80 if (std::get<0>(nodeFormat)) {
84 if (auto const placeholderType = std::get<1>(nodeFormat); placeholderType == TYPE_FORMAT_NODE) {
85 return ParseTypeFormatPlaceholder(std::make_optional(std::move(nodeFormat)));
87 return ParseIdentifierFormatPlaceholder(std::make_optional(std::move(nodeFormat)));
92 auto const placeholderNumber = std::get<2>(nodeFormat);
104 ir::TypeNode *ETSParser::ParseTypeFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat)
106 if (!nodeFormat.has_value()) {
111 nodeFormat = GetFormatPlaceholderType();
112 if (std::get<0>(*nodeFormat) || std::get<1>(*nodeFormat) != TYPE_FORMAT_NODE) {
117 auto const placeholderNumber = std::get<2>(*nodeFormat);
129 ir::Identifier *ETSParser::ParseIdentifierFormatPlaceholder(std::optional<ParserImpl::NodeFormatType> nodeFormat) const
131 if (!nodeFormat.has_value()) {
136 nodeFormat = GetFormatPlaceholderType();
137 if (std::get<0>(*nodeFormat) || std::get<1>(*nodeFormat) != IDENTIFIER_FORMAT_NODE) {
142 auto const placeholderNumber = std::get<2>(*nodeFormat);
160 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType();
161 if (std::get<0>(nodeFormat) || std::get<1>(nodeFormat) != STATEMENT_FORMAT_NODE) {
165 auto const placeholderNumber = std::get<2>(nodeFormat);
178 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType();
179 if (std::get<0>(nodeFormat) || std::get<1>(nodeFormat) != EXPRESSION_FORMAT_NODE) {
183 auto const placeholderNumber = std::get<2>(nodeFormat);
204 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType();
205 if (!std::get<0>(nodeFormat) || std::get<1>(nodeFormat) != GENERAL_FORMAT_NODE) {
209 auto const placeholderNumber = std::get<2>(nodeFormat);
226 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType();
227 if (!std::get<0>(nodeFormat) || std::get<1>(nodeFormat) != STATEMENT_FORMAT_NODE) {
231 auto const placeholderNumber = std::get<2>(nodeFormat);
248 ParserImpl::NodeFormatType nodeFormat = GetFormatPlaceholderType();
249 if (!std::get<0>(nodeFormat) || std::get<1>(nodeFormat) != EXPRESSION_FORMAT_NODE) {
253 auto const placeholderNumber = std::get<2>(nodeFormat);