Home
last modified time | relevance | path

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

/external/skqp/src/sksl/
DSkSLParser.h28 struct ASTDeclaration;
107 std::vector<std::unique_ptr<ASTDeclaration>> file();
168 std::unique_ptr<ASTDeclaration> precision();
170 std::unique_ptr<ASTDeclaration> directive();
172 std::unique_ptr<ASTDeclaration> section();
174 std::unique_ptr<ASTDeclaration> enumDeclaration();
176 std::unique_ptr<ASTDeclaration> declaration();
210 std::unique_ptr<ASTDeclaration> interfaceBlock(Modifiers mods);
DSkSLParser.cpp142 std::vector<std::unique_ptr<ASTDeclaration>> Parser::file() { in file()
143 std::vector<std::unique_ptr<ASTDeclaration>> result; in file()
149 std::unique_ptr<ASTDeclaration> decl = this->directive(); in file()
156 std::unique_ptr<ASTDeclaration> section = this->section(); in file()
163 std::unique_ptr<ASTDeclaration> decl = this->declaration(); in file()
251 std::unique_ptr<ASTDeclaration> Parser::directive() { in directive()
279 return std::unique_ptr<ASTDeclaration>(new ASTExtension(start.fOffset, in directive()
289 std::unique_ptr<ASTDeclaration> Parser::section() { in section()
334 return std::unique_ptr<ASTDeclaration>(new ASTSection(start.fOffset, in section()
342 std::unique_ptr<ASTDeclaration> Parser::enumDeclaration() { in enumDeclaration()
[all …]
DSkSLIRGenerator.cpp2263 std::vector<std::unique_ptr<ASTDeclaration>> parsed = parser.file(); in convertProgram()
2268 ASTDeclaration& decl = *parsed[i]; in convertProgram()
2270 case ASTDeclaration::kVar_Kind: { in convertProgram()
2279 case ASTDeclaration::kEnum_Kind: { in convertProgram()
2283 case ASTDeclaration::kFunction_Kind: { in convertProgram()
2287 case ASTDeclaration::kModifiers_Kind: { in convertProgram()
2295 case ASTDeclaration::kInterfaceBlock_Kind: { in convertProgram()
2303 case ASTDeclaration::kExtension_Kind: { in convertProgram()
2310 case ASTDeclaration::kSection_Kind: { in convertProgram()
/external/skqp/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
30 ASTDeclaration(int offset, Kind kind) in ASTDeclaration() argument
DSkSLASTPrecision.h19 struct ASTPrecision : public ASTDeclaration {
40 typedef ASTDeclaration INHERITED;
DSkSLASTSection.h18 struct ASTSection : public ASTDeclaration {
38 typedef ASTDeclaration INHERITED;
DSkSLASTEnum.h14 struct ASTEnum : public ASTDeclaration {
39 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;