Searched refs:ASTDeclaration (Results 1 – 11 of 11) sorted by relevance
28 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);
113 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 …]
1936 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()
21 struct ASTModifiersDeclaration : public ASTDeclaration {32 typedef ASTDeclaration INHERITED;
18 struct ASTExtension : public ASTDeclaration {29 typedef ASTDeclaration INHERITED;
18 struct ASTDeclaration : public ASTPositionNode { struct29 ASTDeclaration(Position position, Kind kind) in ASTDeclaration() function
19 struct ASTPrecision : public ASTDeclaration {40 typedef ASTDeclaration INHERITED;
18 struct ASTSection : public ASTDeclaration {38 typedef ASTDeclaration INHERITED;
21 struct ASTFunction : public ASTDeclaration {54 typedef ASTDeclaration INHERITED;
24 struct ASTInterfaceBlock : public ASTDeclaration {64 typedef ASTDeclaration INHERITED;
59 struct ASTVarDeclarations : public ASTDeclaration {83 typedef ASTDeclaration INHERITED;