Lines Matching defs:position

204 PositionInfo DSLParser::position(Token t) {
205 return this->position(t.fLine);
208 PositionInfo DSLParser::position(int line) {
217 GetErrorReporter().error(msg.c_str(), this->position(line));
328 Declare(modifiers, position(lookahead));
346 this->globalVarDeclarationEnd(this->position(name), modifiers, *type, this->text(name));
381 DSLFunction result(modifiers, type, this->text(name), parameterPointers, this->position(name));
391 result.define(std::move(*body), this->position(name));
423 *type = Array(*type, this->arraySize(), this->position(line));
475 this->position(line));
477 AddToSymbolTable(next, this->position(identifierName));
514 this->position(line));
516 AddToSymbolTable(next, this->position(identifierName));
556 prefixData->fPosition = this->position(this->peek());
608 actualType = dsl::Array(actualType, this->arraySize(), this->position(memberName));
614 this->position(memberName)));
623 return dsl::Struct(this->text(name), SkMakeSpan(fields), this->position(name));
634 this->globalVarDeclarationEnd(this->position(name), modifiers, std::move(*type),
656 return {{DSLParameter(modifiers, *type, this->text(name), this->position(name))}};
703 result.originUpperLeft(this->position(t));
706 result.pushConstant(this->position(t));
709 result.blendSupportAllEquations(this->position(t));
712 result.srgbUnpremul(this->position(t));
715 result.location(this->layoutInt(), this->position(t));
718 result.offset(this->layoutInt(), this->position(t));
721 result.binding(this->layoutInt(), this->position(t));
724 result.index(this->layoutInt(), this->position(t));
727 result.set(this->layoutInt(), this->position(t));
730 result.builtin(this->layoutInt(), this->position(t));
733 result.inputAttachmentIndex(this->layoutInt(), this->position(t));
827 DSLType result(this->text(type), modifiers, this->position(type));
830 result = Array(result, this->arraySize(), this->position(type));
872 this->position(typeName));
882 this->text(fieldName), this->position(fieldName)));
902 arraySize, this->position(typeName));
937 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start));
940 ifFalse.hasValue() ? std::move(ifFalse) : DSLStatement(), this->position(start));
970 return Do(std::move(statement), std::move(test), this->position(start));
993 return While(std::move(test), std::move(statement), this->position(start));
1066 cases.push_back(DSLCase(DSLExpression(), std::move(statements), this->position(start)));
1072 return StaticSwitch(std::move(value), std::move(cases), this->position(start));
1074 return Switch(std::move(value), std::move(cases), this->position(start));
1131 this->position(start));
1152 this->position(start));
1164 return Break(this->position(start));
1176 return Continue(this->position(start));
1188 return Discard(this->position(start));
1570 return base.field(swizzleMask, this->position(line));
1615 return DSLExpression(base(std::move(args), this->position(line)), this->position(line));
1639 result.reportErrors(this->position(next));
1704 return dsl::Symbol(text, this->position(t));
1713 return DSLExpression(i, this->position(t));
1720 return DSLExpression(f, this->position(t));
1726 return DSLExpression(b, this->position(t));