Skip to content

Commit

Permalink
File renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
b-scholz committed Jul 28, 2020
1 parent 96d763f commit 285408b
Show file tree
Hide file tree
Showing 21 changed files with 88 additions and 88 deletions.
4 changes: 2 additions & 2 deletions src/ast/AstAbstract.h → src/ast/Abstract.h
Expand Up @@ -8,15 +8,15 @@

/************************************************************************
*
* @file AstAbstract.h
* @file Abstract.h
*
* Abstract class definitions for AST nodes
*
***********************************************************************/

#pragma once

#include "ast/AstNode.h"
#include "ast/Node.h"

namespace souffle {

Expand Down
8 changes: 4 additions & 4 deletions src/ast/AstArgument.h → src/ast/Argument.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstArgument.h
* @file Argument.h
*
* Define the classes Argument, Variable, and Constant to represent
* variables and constants in literals. Variable and Constant are
Expand All @@ -22,9 +22,9 @@
#include "FunctorOps.h"
#include "RamTypes.h"
#include "SrcLocation.h"
#include "ast/AstAbstract.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/Abstract.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
Expand Down
6 changes: 3 additions & 3 deletions src/ast/AstAttribute.h → src/ast/Attribute.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstAttribute.h
* @file Attribute.h
*
* Defines an attribute for a relation
*
Expand All @@ -17,8 +17,8 @@
#pragma once

#include "SrcLocation.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include <ostream>
#include <string>
#include <utility>
Expand Down
8 changes: 4 additions & 4 deletions src/ast/AstClause.h → src/ast/Clause.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstClause.h
* @file Clause.h
*
* Defines AST Clauses
*
Expand All @@ -17,9 +17,9 @@
#pragma once

#include "SrcLocation.h"
#include "ast/AstAbstract.h"
#include "ast/AstLiteral.h"
#include "ast/AstNode.h"
#include "ast/Abstract.h"
#include "ast/Literal.h"
#include "ast/Node.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
Expand Down
14 changes: 7 additions & 7 deletions src/ast/AstComponent.h → src/ast/Component.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstComponent.h
* @file Component.h
*
* Defines the class utilized to model a component within the input program.
*
Expand All @@ -17,12 +17,12 @@
#pragma once

#include "SrcLocation.h"
#include "ast/AstClause.h"
#include "ast/AstIO.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/AstRelation.h"
#include "ast/AstType.h"
#include "ast/Clause.h"
#include "ast/IO.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include "ast/Relation.h"
#include "ast/Type.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
Expand Down
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstFunctorDeclaration.h
* @file FunctorDeclaration.h
*
* Defines external functors.
*
Expand All @@ -18,7 +18,7 @@

#include "RamTypes.h"
#include "SrcLocation.h"
#include "ast/AstNode.h"
#include "ast/Node.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
#include "utility/tinyformat.h"
Expand Down
6 changes: 3 additions & 3 deletions src/ast/AstIO.h → src/ast/IO.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstIO.h
* @file IO.h
*
* Define the classes representing IO operations.
*
Expand All @@ -17,8 +17,8 @@
#pragma once

#include "SrcLocation.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
#include <map>
Expand Down
8 changes: 4 additions & 4 deletions src/ast/AstLiteral.h → src/ast/Literal.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstLiteral.h
* @file Literal.h
*
* Define classes for Literals and its subclasses atoms, negated atoms,
* and binary relations.
Expand All @@ -19,9 +19,9 @@

#include "BinaryConstraintOps.h"
#include "SrcLocation.h"
#include "ast/AstAbstract.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/Abstract.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ast/AstNode.h → src/ast/Node.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstNode.h
* @file Node.h
*
* Abstract class definitions for AST nodes
*
Expand Down
12 changes: 6 additions & 6 deletions src/ast/AstParserUtils.cpp → src/ast/ParserUtils.cpp
Expand Up @@ -8,17 +8,17 @@

/************************************************************************
*
* @file AstParserUtils.cpp
* @file ParserUtils.cpp
*
* Defines class RuleBody to represents rule bodies.
*
***********************************************************************/

#include "ast/AstParserUtils.h"
#include "ast/AstClause.h"
#include "ast/AstLiteral.h"
#include "ast/AstNode.h"
#include "ast/AstUtils.h"
#include "ast/ParserUtils.h"
#include "ast/Clause.h"
#include "ast/Literal.h"
#include "ast/Node.h"
#include "ast/Utils.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ast/AstParserUtils.h → src/ast/ParserUtils.h
Expand Up @@ -8,15 +8,15 @@

/************************************************************************
*
* @file AstParserUtils.h
* @file ParserUtils.h
*
* Defines class RuleBody to represents rule bodies.
*
***********************************************************************/

#pragma once

#include "ast/AstAbstract.h"
#include "ast/Abstract.h"
#include "utility/MiscUtil.h"
#include <iosfwd>
#include <memory>
Expand Down
4 changes: 2 additions & 2 deletions src/ast/AstPragma.h → src/ast/Pragma.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstPragma.h
* @file Pragma.h
*
* Define the class AstPragma to update global options based on parameter.
*
Expand All @@ -17,7 +17,7 @@
#pragma once

#include "SrcLocation.h"
#include "ast/AstNode.h"
#include "ast/Node.h"
#include <ostream>
#include <string>
#include <utility>
Expand Down
22 changes: 11 additions & 11 deletions src/ast/AstProgram.h → src/ast/Program.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstProgram.h
* @file Program.h
*
* Define a class that represents a Datalog program consisting of types,
* relations, and clauses.
Expand All @@ -17,16 +17,16 @@

#pragma once

#include "ast/AstClause.h"
#include "ast/AstComponent.h"
#include "ast/AstFunctorDeclaration.h"
#include "ast/AstIO.h"
#include "ast/AstNode.h"
#include "ast/AstPragma.h"
#include "ast/AstQualifiedName.h"
#include "ast/AstRelation.h"
#include "ast/AstType.h"
#include "ast/AstUtils.h"
#include "ast/Clause.h"
#include "ast/Component.h"
#include "ast/FunctorDeclaration.h"
#include "ast/IO.h"
#include "ast/Node.h"
#include "ast/Pragma.h"
#include "ast/QualifiedName.h"
#include "ast/Relation.h"
#include "ast/Type.h"
#include "ast/Utils.h"
#include "utility/ContainerUtil.h"
#include "utility/StreamUtil.h"
#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion src/ast/AstQualifiedName.h → src/ast/QualifiedName.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstQualifiedName.h
* @file QualifiedName.h
*
* Defines qualified names so that objects in components (types,
* relations, etc.) can be accessed via either a fully/partially
Expand Down
8 changes: 4 additions & 4 deletions src/ast/AstRelation.h → src/ast/Relation.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstRelation.h
* @file Relation.h
*
* Defines class Relation that represents relations in a Datalog program.
* A relation can either be an IDB or EDB relation.
Expand All @@ -19,9 +19,9 @@

#include "RelationTag.h"
#include "SrcLocation.h"
#include "ast/AstAttribute.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/Attribute.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include "utility/ContainerUtil.h"
#include "utility/StreamUtil.h"
#include <algorithm>
Expand Down
4 changes: 2 additions & 2 deletions src/ast/AstTranslationUnit.h → src/ast/TranslationUnit.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstTranslationUnit.h
* @file TranslationUnit.h
*
* Define AST translation unit class consisting of
* an symbol table, AST program, error reports, and
Expand All @@ -20,7 +20,7 @@

#include "DebugReport.h"
#include "Global.h"
#include "ast/AstProgram.h"
#include "ast/Program.h"
#include "ast/analysis/AstAnalysis.h"
#include "ast/analysis/RecursiveClauses.h"
#include "ast/analysis/SCCGraph.h"
Expand Down
8 changes: 4 additions & 4 deletions src/ast/AstType.h → src/ast/Type.h
Expand Up @@ -8,7 +8,7 @@

/************************************************************************
*
* @file AstType.h
* @file Type.h
*
* Defines a type, i.e., disjoint supersets of the universe
*
Expand All @@ -18,9 +18,9 @@

#include "RamTypes.h"
#include "SrcLocation.h"
#include "ast/AstAttribute.h"
#include "ast/AstNode.h"
#include "ast/AstQualifiedName.h"
#include "ast/Attribute.h"
#include "ast/Node.h"
#include "ast/QualifiedName.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
#include "utility/StreamUtil.h"
Expand Down
2 changes: 1 addition & 1 deletion src/ast/TypeSystem.h
Expand Up @@ -17,7 +17,7 @@
#pragma once

#include "RamTypes.h"
#include "ast/AstQualifiedName.h"
#include "ast/QualifiedName.h"
#include "utility/ContainerUtil.h"
#include "utility/FunctionalUtil.h"
#include "utility/MiscUtil.h"
Expand Down
26 changes: 13 additions & 13 deletions src/ast/AstUtils.cpp → src/ast/Utils.cpp
Expand Up @@ -8,26 +8,26 @@

/************************************************************************
*
* @file AstUtils.cpp
* @file Utils.cpp
*
* A collection of utilities operating on AST constructs.
*
***********************************************************************/

#include "ast/AstUtils.h"
#include "ast/Utils.h"
#include "BinaryConstraintOps.h"
#include "TypeSystem.h"
#include "ast/AstAbstract.h"
#include "ast/AstArgument.h"
#include "ast/AstClause.h"
#include "ast/AstFunctorDeclaration.h"
#include "ast/AstLiteral.h"
#include "ast/AstNode.h"
#include "ast/AstProgram.h"
#include "ast/AstQualifiedName.h"
#include "ast/AstRelation.h"
#include "ast/AstType.h"
#include "ast/AstVisitor.h"
#include "ast/Abstract.h"
#include "ast/Argument.h"
#include "ast/Clause.h"
#include "ast/FunctorDeclaration.h"
#include "ast/Literal.h"
#include "ast/Node.h"
#include "ast/Program.h"
#include "ast/QualifiedName.h"
#include "ast/Relation.h"
#include "ast/Type.h"
#include "ast/Visitor.h"
#include "ast/analysis/AstType.h"
#include "utility/ContainerUtil.h"
#include "utility/MiscUtil.h"
Expand Down

0 comments on commit 285408b

Please sign in to comment.