Home
last modified time | relevance | path

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

123

/external/skia/src/sksl/
DSkSLParser.h31 struct ASTExpression;
236 std::unique_ptr<ASTExpression> expression();
238 std::unique_ptr<ASTExpression> commaExpression();
240 std::unique_ptr<ASTExpression> assignmentExpression();
242 std::unique_ptr<ASTExpression> ternaryExpression();
244 std::unique_ptr<ASTExpression> logicalOrExpression();
246 std::unique_ptr<ASTExpression> logicalXorExpression();
248 std::unique_ptr<ASTExpression> logicalAndExpression();
250 std::unique_ptr<ASTExpression> bitwiseOrExpression();
252 std::unique_ptr<ASTExpression> bitwiseXorExpression();
[all …]
DSkSLParser.cpp361 std::vector<std::unique_ptr<ASTExpression>> values; in enumDeclaration()
369 std::unique_ptr<ASTExpression> value = this->assignmentExpression(); in enumDeclaration()
386 std::unique_ptr<ASTExpression> value = this->assignmentExpression(); in enumDeclaration()
500 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
555 std::vector<std::unique_ptr<ASTExpression>> currentVarSizes; in varDeclarationEnd()
560 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
570 std::unique_ptr<ASTExpression> value; in varDeclarationEnd()
589 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
1112 std::vector<std::unique_ptr<ASTExpression>> sizes; in interfaceBlock()
1118 std::unique_ptr<ASTExpression> size = this->expression(); in interfaceBlock()
[all …]
/external/skqp/src/sksl/
DSkSLParser.h31 struct ASTExpression;
236 std::unique_ptr<ASTExpression> expression();
238 std::unique_ptr<ASTExpression> commaExpression();
240 std::unique_ptr<ASTExpression> assignmentExpression();
242 std::unique_ptr<ASTExpression> ternaryExpression();
244 std::unique_ptr<ASTExpression> logicalOrExpression();
246 std::unique_ptr<ASTExpression> logicalXorExpression();
248 std::unique_ptr<ASTExpression> logicalAndExpression();
250 std::unique_ptr<ASTExpression> bitwiseOrExpression();
252 std::unique_ptr<ASTExpression> bitwiseXorExpression();
[all …]
DSkSLParser.cpp360 std::vector<std::unique_ptr<ASTExpression>> values; in enumDeclaration()
368 std::unique_ptr<ASTExpression> value = this->assignmentExpression(); in enumDeclaration()
385 std::unique_ptr<ASTExpression> value = this->assignmentExpression(); in enumDeclaration()
499 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
554 std::vector<std::unique_ptr<ASTExpression>> currentVarSizes; in varDeclarationEnd()
559 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
569 std::unique_ptr<ASTExpression> value; in varDeclarationEnd()
588 std::unique_ptr<ASTExpression> size(this->expression()); in varDeclarationEnd()
1125 std::vector<std::unique_ptr<ASTExpression>> sizes; in interfaceBlock()
1131 std::unique_ptr<ASTExpression> size = this->expression(); in interfaceBlock()
[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.h20 struct ASTBinaryExpression : public ASTExpression {
21 ASTBinaryExpression(std::unique_ptr<ASTExpression> left, Token op, in ASTBinaryExpression()
22 std::unique_ptr<ASTExpression> right) in ASTBinaryExpression()
33 const std::unique_ptr<ASTExpression> fLeft;
35 const std::unique_ptr<ASTExpression> fRight;
37 typedef ASTExpression INHERITED;
DSkSLASTPrefixExpression.h20 struct ASTPrefixExpression : public ASTExpression {
21 ASTPrefixExpression(Token op, std::unique_ptr<ASTExpression> operand) in ASTPrefixExpression()
31 const std::unique_ptr<ASTExpression> fOperand;
33 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;
DSkSLASTNullLiteral.h18 struct ASTNullLiteral : public ASTExpression {
26 typedef ASTExpression INHERITED;
DSkSLASTFloatLiteral.h18 struct ASTFloatLiteral : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTBoolLiteral.h18 struct ASTBoolLiteral : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTIdentifier.h18 struct ASTIdentifier : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTIntLiteral.h19 struct ASTIntLiteral : public ASTExpression {
30 typedef ASTExpression INHERITED;
/external/skqp/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.h20 struct ASTBinaryExpression : public ASTExpression {
21 ASTBinaryExpression(std::unique_ptr<ASTExpression> left, Token op, in ASTBinaryExpression()
22 std::unique_ptr<ASTExpression> right) in ASTBinaryExpression()
33 const std::unique_ptr<ASTExpression> fLeft;
35 const std::unique_ptr<ASTExpression> fRight;
37 typedef ASTExpression INHERITED;
DSkSLASTPrefixExpression.h20 struct ASTPrefixExpression : public ASTExpression {
21 ASTPrefixExpression(Token op, std::unique_ptr<ASTExpression> operand) in ASTPrefixExpression()
31 const std::unique_ptr<ASTExpression> fOperand;
33 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;
DSkSLASTFloatLiteral.h18 struct ASTFloatLiteral : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTBoolLiteral.h18 struct ASTBoolLiteral : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTIdentifier.h18 struct ASTIdentifier : public ASTExpression {
29 typedef ASTExpression INHERITED;
DSkSLASTIntLiteral.h19 struct ASTIntLiteral : public ASTExpression {
30 typedef ASTExpression INHERITED;

123