Home
last modified time | relevance | path

Searched refs:ASTExpression (Results 1 – 25 of 25) sorted by relevance

/external/skia/src/sksl/
DSkSLParser.h31 struct ASTExpression;
181 std::unique_ptr<ASTExpression> expression();
183 std::unique_ptr<ASTExpression> commaExpression();
185 std::unique_ptr<ASTExpression> assignmentExpression();
187 std::unique_ptr<ASTExpression> ternaryExpression();
189 std::unique_ptr<ASTExpression> logicalOrExpression();
191 std::unique_ptr<ASTExpression> logicalXorExpression();
193 std::unique_ptr<ASTExpression> logicalAndExpression();
195 std::unique_ptr<ASTExpression> bitwiseOrExpression();
197 std::unique_ptr<ASTExpression> bitwiseXorExpression();
[all …]
DSkSLParser.cpp438 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
492 std::vector<std::unique_ptr<ASTExpression>> currentVarSizes; in varDeclarationEnd()
497 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
507 std::unique_ptr<ASTExpression> value; in varDeclarationEnd()
526 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
962 std::vector<std::unique_ptr<ASTExpression>> sizes; in interfaceBlock()
967 std::unique_ptr<ASTExpression> size = this->expression(); in interfaceBlock()
995 std::unique_ptr<ASTExpression> test(this->expression()); in ifStatement()
1036 std::unique_ptr<ASTExpression> test(this->expression()); in doStatement()
1060 std::unique_ptr<ASTExpression> test(this->expression()); in whileStatement()
[all …]
DSkSLIRGenerator.h101 std::unique_ptr<Expression> convertExpression(const ASTExpression& expression);
139 const ASTExpression& index);
DSkSLIRGenerator.cpp812 std::unique_ptr<Expression> IRGenerator::convertExpression(const ASTExpression& expr) { in convertExpression()
814 case ASTExpression::kIdentifier_Kind: in convertExpression()
816 case ASTExpression::kBool_Kind: in convertExpression()
819 case ASTExpression::kInt_Kind: in convertExpression()
822 case ASTExpression::kFloat_Kind: in convertExpression()
825 case ASTExpression::kBinary_Kind: in convertExpression()
827 case ASTExpression::kPrefix_Kind: in convertExpression()
829 case ASTExpression::kSuffix_Kind: in convertExpression()
831 case ASTExpression::kTernary_Kind: in convertExpression()
1667 const ASTExpression& index) { in convertIndex()
[all …]
/external/skia/src/sksl/ast/
DSkSLASTTernaryExpression.h18 struct ASTTernaryExpression : public ASTExpression {
19 ASTTernaryExpression(std::unique_ptr<ASTExpression> test, in ASTTernaryExpression()
20 std::unique_ptr<ASTExpression> ifTrue, in ASTTernaryExpression()
21 std::unique_ptr<ASTExpression> ifFalse) in ASTTernaryExpression()
32 const std::unique_ptr<ASTExpression> fTest;
33 const std::unique_ptr<ASTExpression> fIfTrue;
34 const std::unique_ptr<ASTExpression> fIfFalse;
36 typedef ASTExpression INHERITED;
DSkSLASTBinaryExpression.h19 struct ASTBinaryExpression : public ASTExpression {
20 ASTBinaryExpression(std::unique_ptr<ASTExpression> left, Token op, in ASTBinaryExpression()
21 std::unique_ptr<ASTExpression> right) in ASTBinaryExpression()
32 const std::unique_ptr<ASTExpression> fLeft;
34 const std::unique_ptr<ASTExpression> fRight;
36 typedef ASTExpression INHERITED;
DSkSLASTPrefixExpression.h19 struct ASTPrefixExpression : public ASTExpression {
20 ASTPrefixExpression(Token op, std::unique_ptr<ASTExpression> operand) in ASTPrefixExpression()
30 const std::unique_ptr<ASTExpression> fOperand;
32 typedef ASTExpression INHERITED;
DSkSLASTSuffixExpression.h19 struct ASTSuffixExpression : public ASTExpression {
20 ASTSuffixExpression(std::unique_ptr<ASTExpression> base, std::unique_ptr<ASTSuffix> suffix) in ASTSuffixExpression()
29 const std::unique_ptr<ASTExpression> fBase;
32 typedef ASTExpression INHERITED;
DSkSLASTForStatement.h20 std::unique_ptr<ASTExpression> test, std::unique_ptr<ASTExpression> next, in ASTForStatement()
47 const std::unique_ptr<ASTExpression> fTest;
48 const std::unique_ptr<ASTExpression> fNext;
DSkSLASTVarDeclaration.h26 std::vector<std::unique_ptr<ASTExpression>> sizes, in ASTVarDeclaration()
27 std::unique_ptr<ASTExpression> value) in ASTVarDeclaration()
50 std::vector<std::unique_ptr<ASTExpression>> fSizes;
53 std::unique_ptr<ASTExpression> fValue;
DSkSLASTBoolLiteral.h18 struct ASTBoolLiteral : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTFloatLiteral.h18 struct ASTFloatLiteral : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTIntLiteral.h19 struct ASTIntLiteral : public ASTExpression {
30 typedef ASTExpression INHERITED;
DSkSLASTIdentifier.h18 struct ASTIdentifier : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTExpression.h18 struct ASTExpression : public ASTPositionNode { struct
30 ASTExpression(Position position, Kind kind) in ASTExpression() argument
DSkSLASTExpressionStatement.h19 ASTExpressionStatement(std::unique_ptr<ASTExpression> expression) in ASTExpressionStatement()
27 const std::unique_ptr<ASTExpression> fExpression;
DSkSLASTReturnStatement.h20 ASTReturnStatement(Position position, std::unique_ptr<ASTExpression> expression) in ASTReturnStatement()
32 const std::unique_ptr<ASTExpression> fExpression;
DSkSLASTIndexSuffix.h25 ASTIndexSuffix(std::unique_ptr<ASTExpression> expression) in ASTIndexSuffix()
38 std::unique_ptr<ASTExpression> fExpression;
DSkSLASTDoStatement.h20 std::unique_ptr<ASTExpression> test) in ASTDoStatement()
30 const std::unique_ptr<ASTExpression> fTest;
DSkSLASTWhileStatement.h19 ASTWhileStatement(Position position, std::unique_ptr<ASTExpression> test, in ASTWhileStatement()
29 const std::unique_ptr<ASTExpression> fTest;
DSkSLASTCallSuffix.h20 ASTCallSuffix(Position position, std::vector<std::unique_ptr<ASTExpression>> arguments) in ASTCallSuffix()
36 std::vector<std::unique_ptr<ASTExpression>> fArguments;
DSkSLASTSwitchCase.h20 ASTSwitchCase(Position position, std::unique_ptr<ASTExpression> value, in ASTSwitchCase()
40 const std::unique_ptr<ASTExpression> fValue;
DSkSLASTSwitchStatement.h20 ASTSwitchStatement(Position position, bool isStatic, std::unique_ptr<ASTExpression> value, in ASTSwitchStatement()
41 const std::unique_ptr<ASTExpression> fValue;
DSkSLASTIfStatement.h19 ASTIfStatement(Position position, bool isStatic, std::unique_ptr<ASTExpression> test, in ASTIfStatement()
44 const std::unique_ptr<ASTExpression> fTest;
DSkSLASTInterfaceBlock.h31 std::vector<std::unique_ptr<ASTExpression>> sizes) in ASTInterfaceBlock()
62 const std::vector<std::unique_ptr<ASTExpression>> fSizes;