Lines Matching refs:skstd
80 std::unordered_map<skstd::string_view, DSLParser::LayoutToken>* DSLParser::layoutTokens;
83 layoutTokens = new std::unordered_map<skstd::string_view, LayoutToken>;
200 skstd::string_view DSLParser::text(Token token) {
201 return skstd::string_view(fText->data() + token.fOffset, token.fLength);
281 skstd::string_view text = this->text(start);
294 skstd::string_view behaviorText = this->text(behavior);
335 skstd::optional<DSLType> type = this->type(&modifiers);
364 skstd::optional<DSLWrapper<DSLParameter>> parameter = this->parameter();
387 skstd::optional<DSLBlock> body = this->block();
446 dsl::DSLType baseType, skstd::string_view name) {
485 dsl::DSLType baseType, skstd::string_view name) {
558 skstd::optional<DSLType> type = this->type(&prefixData->fModifiers);
577 skstd::optional<DSLType> DSLParser::structDeclaration() {
580 return skstd::nullopt;
583 return skstd::nullopt;
587 return skstd::nullopt;
590 return skstd::nullopt;
595 skstd::optional<DSLType> type = this->type(&modifiers);
597 return skstd::nullopt;
604 return skstd::nullopt;
610 return skstd::nullopt;
617 return skstd::nullopt;
628 skstd::optional<DSLType> type = this->structDeclaration();
643 skstd::optional<DSLWrapper<DSLParameter>> DSLParser::parameter() {
645 skstd::optional<DSLType> type = this->type(&modifiers);
647 return skstd::nullopt;
651 return skstd::nullopt;
654 return skstd::nullopt;
668 skstd::string_view resultFrag = this->text(resultToken);
678 skstd::string_view DSLParser::layoutIdentifier() {
800 skstd::optional<DSLBlock> result = this->block();
818 skstd::optional<DSLType> DSLParser::type(DSLModifiers* modifiers) {
821 return skstd::nullopt;
825 return skstd::nullopt;
858 skstd::optional<dsl::DSLType> type = this->type(&fieldModifiers);
886 skstd::string_view instanceName;
997 skstd::optional<DSLCase> DSLParser::switchCase() {
1044 skstd::optional<DSLCase> c = this->switchCase();
1192 skstd::optional<DSLBlock> DSLParser::block() {
1195 return skstd::nullopt;
1199 return skstd::nullopt;
1210 return skstd::nullopt;
1214 return skstd::nullopt;
1567 skstd::string_view swizzleMask) {
1645 skstd::string_view text;
1654 skstd::string_view field = this->text(next);
1702 skstd::string_view text;
1756 skstd::string_view s = this->text(t);
1770 skstd::string_view s = this->text(t);
1795 bool DSLParser::identifier(skstd::string_view* dest) {