Home
last modified time | relevance | path

Searched refs:ASTDeclaration (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/sksl/
DSkSLParser.h28 struct ASTDeclaration;
63 std::vector<std::unique_ptr<ASTDeclaration>> file();
119 std::unique_ptr<ASTDeclaration> precision();
121 std::unique_ptr<ASTDeclaration> directive();
123 std::unique_ptr<ASTDeclaration> section();
125 std::unique_ptr<ASTDeclaration> declaration();
155 std::unique_ptr<ASTDeclaration> interfaceBlock(Modifiers mods);
DSkSLParser.cpp113 std::vector<std::unique_ptr<ASTDeclaration>> Parser::file() { in file()
114 std::vector<std::unique_ptr<ASTDeclaration>> result; in file()
120 std::unique_ptr<ASTDeclaration> precision = this->precision(); in file()
127 std::unique_ptr<ASTDeclaration> decl = this->directive(); in file()
134 std::unique_ptr<ASTDeclaration> section = this->section(); in file()
141 std::unique_ptr<ASTDeclaration> decl = this->declaration(); in file()
228 std::unique_ptr<ASTDeclaration> Parser::precision() { in precision()
254 return std::unique_ptr<ASTDeclaration>(new ASTPrecision(p.fPosition, result)); in precision()
259 std::unique_ptr<ASTDeclaration> Parser::directive() { in directive()
285 return std::unique_ptr<ASTDeclaration>(new ASTExtension(start.fPosition, in directive()
[all …]
DSkSLIRGenerator.cpp1936 std::vector<std::unique_ptr<ASTDeclaration>> parsed = parser.file(); in convertProgram()
1942 ASTDeclaration& decl = *parsed[i]; in convertProgram()
1944 case ASTDeclaration::kVar_Kind: { in convertProgram()
1953 case ASTDeclaration::kFunction_Kind: { in convertProgram()
1957 case ASTDeclaration::kModifiers_Kind: { in convertProgram()
1965 case ASTDeclaration::kInterfaceBlock_Kind: { in convertProgram()
1973 case ASTDeclaration::kExtension_Kind: { in convertProgram()
1980 case ASTDeclaration::kSection_Kind: { in convertProgram()
1987 case ASTDeclaration::kPrecision_Kind: { in convertProgram()
/external/skia/src/sksl/ast/
DSkSLASTModifiersDeclaration.h21 struct ASTModifiersDeclaration : public ASTDeclaration {
32 typedef ASTDeclaration INHERITED;
DSkSLASTExtension.h18 struct ASTExtension : public ASTDeclaration {
29 typedef ASTDeclaration INHERITED;
DSkSLASTDeclaration.h18 struct ASTDeclaration : public ASTPositionNode { struct
29 ASTDeclaration(Position position, Kind kind) in ASTDeclaration() function
DSkSLASTPrecision.h19 struct ASTPrecision : public ASTDeclaration {
40 typedef ASTDeclaration INHERITED;
DSkSLASTSection.h18 struct ASTSection : public ASTDeclaration {
38 typedef ASTDeclaration INHERITED;
DSkSLASTFunction.h21 struct ASTFunction : public ASTDeclaration {
54 typedef ASTDeclaration INHERITED;
DSkSLASTInterfaceBlock.h24 struct ASTInterfaceBlock : public ASTDeclaration {
64 typedef ASTDeclaration INHERITED;
DSkSLASTVarDeclaration.h59 struct ASTVarDeclarations : public ASTDeclaration {
83 typedef ASTDeclaration INHERITED;