Home
last modified time | relevance | path

Searched refs:nonemptyList (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/flang/lib/Parser/
DFortran-parsers.cpp362 defaulted(parenthesized(nonemptyList(name)))))
389 "::" >> nonemptyList("expected type parameter declarations"_err_en_US,
411 nonemptyList(
441 nonemptyList("expected explicit shape specifications"_err_en_US,
452 "," >> nonemptyList(Parser<ProcComponentAttrSpec>{}), ok),
454 "::" >> nonemptyList(procDecl), SkipTo<'\n'>{})))
477 "/" >> nonemptyList("expected values"_err_en_US,
512 "," >> nonemptyList(Parser<BindAttr>{}), ok),
518 nonemptyList(
545 defaulted(parenthesized(nonemptyList(
[all …]
Dexecutable-parsers.cpp66 parenthesized(nonemptyList(Parser<AllocateShapeSpec>{}))))))};
151 "ASSOCIATE" >> parenthesized(nonemptyList(Parser<Association>{}))))
201 defaulted("," >> nonemptyList(Parser<CoarrayAssociation>{})),
202 defaulted("," >> nonemptyList(statOrErrmsg))) /
242 maybe(integerTypeSpec / "::"), nonemptyList(Parser<ConcurrentControl>{}),
352 nonemptyList(Parser<CaseValueRange>{}))) || in parenthesized()
433 construct<ComputedGotoStmt>("GO TO" >> parenthesized(nonemptyList(label)),
460 defaulted("," >> nonemptyList(statOrErrmsg))))) in TYPE_PARSER()
470 defaulted("," >> nonemptyList(statOrErrmsg)) / ")")) in TYPE_PARSER()
476 defaulted("," >> nonemptyList(statOrErrmsg)) / ")")) in TYPE_PARSER()
[all …]
Dmisc-parsers.h24 template <typename PA> inline constexpr auto nonemptyList(const PA &p) { in nonemptyList() function
29 inline constexpr auto nonemptyList(MessageFixedText error, const PA &p) { in nonemptyList() function
45 constexpr auto listOfNames{nonemptyList("expected names"_err_en_US, name)};
Dio-parsers.cpp36 "OPEN (" >> nonemptyList("expected connection specifications"_err_en_US,
137 construct<CloseStmt>("CLOSE" >> parenthesized(nonemptyList(closeSpec))))
155 defaulted("," >> nonemptyList(ioControlSpec)) / ")", inputItemList) ||
159 defaulted("," >> nonemptyList(ioControlSpec)) / ")",
163 parenthesized(nonemptyList(ioControlSpec)), inputItemList) ||
236 defaulted("," >> nonemptyList(ioControlSpec)) / ")", outputItemList) ||
240 defaulted("," >> nonemptyList(ioControlSpec)) / ")",
244 parenthesized(nonemptyList(ioControlSpec)), outputItemList))
249 "PRINT" >> format, defaulted("," >> nonemptyList(outputItem))))
272 construct<InputImpliedDo>(nonemptyList(inputItem / lookAhead(","_tok)),
[all …]
Dopenmp-parsers.cpp105 Parser<OmpReductionOperator>{} / ":", nonemptyList(designator)))
126 "SINK :" >> nonemptyList(Parser<OmpDependSinkVec>{}))) ||
130 Parser<OmpDependenceType>{}, ":" >> nonemptyList(designator))))
143 Parser<OmpLinearModifier>{}, parenthesized(nonemptyList(name)),
146 nonemptyList(name), maybe(":" >> scalarIntConstantExpr)))))
150 nonemptyList(name), maybe(":" >> scalarIntConstantExpr)))
192 parenthesized(nonemptyList(name)))) ||
239 parenthesized(nonemptyList(name)))) ||
241 parenthesized(nonemptyList(name)))) ||
249 TYPE_PARSER(construct<OmpObjectList>(nonemptyList(Parser<OmpObject>{})))
[all …]
Dopenacc-parsers.cpp70 parenthesized(maybe(nonemptyList(scalarIntExpr))))) ||
123 TYPE_PARSER(construct<AccObjectList>(nonemptyList(Parser<AccObject>{})))
131 "QUEUES:" >> nonemptyList(scalarIntExpr) || nonemptyList(scalarIntExpr)))
138 TYPE_PARSER(construct<AccSizeExprList>(nonemptyList(Parser<AccSizeExpr>{})))
146 TYPE_PARSER(construct<AccTileExprList>(nonemptyList(Parser<AccTileExpr>{})))
Dexpr-parsers.cpp39 nonemptyList("expected array constructor values"_err_en_US,
54 construct<AcImpliedDo>(nonemptyList(Parser<AcValue>{} / lookAhead(","_tok)),
428 parenthesized(nonemptyList(Parser<BoundsRemapping>{})), "=>" >> expr) ||
430 defaulted(parenthesized(nonemptyList(Parser<BoundsSpec>{}))),
Dprogram-parsers.cpp258 nonemptyList("expected renamings"_err_en_US, Parser<Rename>{})) /
344 nonemptyList("expected specific procedure names"_err_en_US, name)};
389 nonemptyList("expected procedure declarations"_err_en_US, procDecl)))
Dtoken-parsers.h599 return "," >> nonemptyList(p) / "::" || in optionalListBeforeColons()