Lines Matching refs:createNode
137 ASTNode::ID Parser::createNode(Args&&... args) { in createNode() function in SkSL::Parser
158 ASTNode::ID result = this->createNode(/*offset=*/0, ASTNode::Kind::kFile); in compilationUnit()
318 return this->createNode(start.fOffset, ASTNode::Kind::kExtension, this->text(name)); in directive()
376 return this->createNode(start.fOffset, ASTNode::Kind::kSection, in section()
398 ASTNode::ID result = this->createNode(name.fOffset, ASTNode::Kind::kEnum, this->text(name)); in enumDeclaration()
410 result, this->createNode(id.fOffset, ASTNode::Kind::kEnumCase, this->text(id))); in enumDeclaration()
414 this->createNode(id.fOffset, ASTNode::Kind::kEnumCase, this->text(id))); in enumDeclaration()
430 this->createNode(id.fOffset, ASTNode::Kind::kEnumCase, this->text(id))); in enumDeclaration()
435 this->createNode(id.fOffset, ASTNode::Kind::kEnumCase, this->text(id))); in enumDeclaration()
467 return this->createNode(lookahead.fOffset, ASTNode::Kind::kModifiers, modifiers); in declaration()
478 ASTNode::ID result = this->createNode(name.fOffset, ASTNode::Kind::kFunction); in declaration()
634 return this->createNode(name.fOffset, ASTNode::Kind::kType, this->text(name)); in structDeclaration()
655 ASTNode::ID result = this->createNode(offset, ASTNode::Kind::kVarDeclarations); in varDeclarationEnd()
656 this->addChild(result, this->createNode(offset, ASTNode::Kind::kModifiers, mods)); in varDeclarationEnd()
693 ASTNode::ID currentVar = this->createNode(offset, ASTNode::Kind::kVarDeclaration); in varDeclarationEnd()
741 ASTNode::ID result = this->createNode(name.fOffset, ASTNode::Kind::kParameter); in parameter()
759 this->addChild(result, this->createNode(sizeToken.fOffset, ASTNode::Kind::kInt, arraySize)); in parameter()
1078 return this->createNode(start.fOffset, ASTNode::Kind::kBlock); in statement()
1097 ASTNode::ID result = this->createNode(type.fOffset, ASTNode::Kind::kType, this->text(type)); in type()
1107 this->addChild(result, this->createNode(this->peek().fOffset, in type()
1136 ASTNode::ID result = this->createNode(name.fOffset, ASTNode::Kind::kInterfaceBlock); in interfaceBlock()
1189 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kIf, isStatic); in ifStatement()
1223 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kDo); in doStatement()
1258 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kWhile); in whileStatement()
1281 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kSwitchCase); in switchCase()
1322 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kSwitch, isStatic); in switchStatement()
1340 result, this->createNode(defaultStart.fOffset, ASTNode::Kind::kSwitchCase)); in switchStatement()
1366 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kFor); in forStatement()
1420 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kReturn); in returnStatement()
1443 return this->createNode(start.fOffset, ASTNode::Kind::kBreak); in breakStatement()
1455 return this->createNode(start.fOffset, ASTNode::Kind::kContinue); in continueStatement()
1467 return this->createNode(start.fOffset, ASTNode::Kind::kDiscard); in discardStatement()
1480 ASTNode::ID result = this->createNode(start.fOffset, ASTNode::Kind::kBlock); in block()
1528 ASTNode::ID newResult = this->createNode(t.fOffset, ASTNode::Kind::kBinary, in expression()
1568 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, in assignmentExpression()
1601 ASTNode::ID ternary = this->createNode(getNode(base).fOffset, ASTNode::Kind::kTernary); in ternaryExpression()
1628 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, ASTNode::Kind::kBinary, in logicalOrExpression()
1653 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, ASTNode::Kind::kBinary, in logicalXorExpression()
1678 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, ASTNode::Kind::kBinary, in logicalAndExpression()
1703 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, ASTNode::Kind::kBinary, in bitwiseOrExpression()
1728 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, ASTNode::Kind::kBinary, in bitwiseXorExpression()
1753 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, ASTNode::Kind::kBinary, in bitwiseAndExpression()
1781 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, in equalityExpression()
1815 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, in relationalExpression()
1847 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, in shiftExpression()
1879 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, in additiveExpression()
1912 ASTNode::ID newResult = this->createNode(getNode(result).fOffset, in multiplicativeExpression()
1943 ASTNode::ID result = this->createNode(t.fOffset, ASTNode::Kind::kPrefix, in unaryExpression()
2000 ASTNode::ID result = this->createNode(next.fOffset, ASTNode::Kind::kIndex); in suffix()
2009 ASTNode::ID result = this->createNode(next.fOffset, ASTNode::Kind::kIndex); in suffix()
2018 ASTNode::ID result = this->createNode(offset, ASTNode::Kind::kScope, in suffix()
2029 ASTNode::ID result = this->createNode(offset, ASTNode::Kind::kField, in suffix()
2057 ASTNode::ID result = this->createNode(next.fOffset, ASTNode::Kind::kField, field); in suffix()
2062 ASTNode::ID result = this->createNode(next.fOffset, ASTNode::Kind::kCall); in suffix()
2081 ASTNode::ID result = this->createNode(next.fOffset, ASTNode::Kind::kPostfix, in suffix()
2100 return this->createNode(t.fOffset, ASTNode::Kind::kIdentifier, std::move(text)); in term()
2107 return this->createNode(t.fOffset, ASTNode::Kind::kInt, i); in term()
2114 return this->createNode(t.fOffset, ASTNode::Kind::kFloat, f); in term()
2122 return this->createNode(t.fOffset, ASTNode::Kind::kBool, b); in term()