Lines Matching refs:LiteralElement
256 class LiteralElement : public Element { class
258 LiteralElement(StringRef literal) in LiteralElement() function in __anon81548fc80411::LiteralElement
276 bool LiteralElement::isValidLiteral(StringRef value) { in isValidLiteral()
1056 } else if (auto *literal = dyn_cast<LiteralElement>(firstElement)) { in genElementParser()
1096 } else if (LiteralElement *literal = dyn_cast<LiteralElement>(element)) { in genElementParser()
1619 if (LiteralElement *literal = dyn_cast<LiteralElement>(element)) in genElementPrinter()
2281 auto *literal = dyn_cast<LiteralElement>(&*nextIt); in verifyAttributes()
2605 if (!LiteralElement::isValidLiteral(value)) in parseLiteral()
2608 element = std::make_unique<LiteralElement>(value); in parseLiteral()
2642 !isa<LiteralElement>(firstElement) && in parseOptional()
2723 .Case<LiteralElement, SpaceElement, CustomDirective, in parseOptionalChildElement()
2918 if (isa<LiteralElement>(element.get())) in parseTypeDirectiveOperand()