diff options
author | Christian <c@ethdev.com> | 2014-10-13 23:13:48 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-13 23:13:48 +0800 |
commit | bdac5c7b4b5c23ea4f2cfe4a779da05b4722f1be (patch) | |
tree | 02c6fedf6d5c3e24a9175829b45cda29bf30c3d4 | |
parent | 4f791179640fdcfbbd62c4c7a2a5273081b7b742 (diff) | |
download | dexon-solidity-bdac5c7b4b5c23ea4f2cfe4a779da05b4722f1be.tar.gz dexon-solidity-bdac5c7b4b5c23ea4f2cfe4a779da05b4722f1be.tar.zst dexon-solidity-bdac5c7b4b5c23ea4f2cfe4a779da05b4722f1be.zip |
Added copyright blocks.
-rw-r--r-- | ASTForward.h | 22 | ||||
-rw-r--r-- | ASTPrinter.cpp | 22 | ||||
-rw-r--r-- | ASTPrinter.h | 22 | ||||
-rw-r--r-- | ASTVisitor.h | 22 | ||||
-rw-r--r-- | BaseTypes.h | 22 | ||||
-rw-r--r-- | NameAndTypeResolver.cpp | 22 | ||||
-rw-r--r-- | NameAndTypeResolver.h | 22 | ||||
-rw-r--r-- | Scope.h | 22 |
8 files changed, 176 insertions, 0 deletions
diff --git a/ASTForward.h b/ASTForward.h index 963e3d47..e3876795 100644 --- a/ASTForward.h +++ b/ASTForward.h @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Forward-declarations of AST classes. + */ + #pragma once #include <string> diff --git a/ASTPrinter.cpp b/ASTPrinter.cpp index 12969621..7e57732b 100644 --- a/ASTPrinter.cpp +++ b/ASTPrinter.cpp @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Pretty-printer for the abstract syntax tree (the "pretty" is arguable), used for debugging. + */ + #include <libsolidity/ASTPrinter.h> #include <libsolidity/AST.h> diff --git a/ASTPrinter.h b/ASTPrinter.h index 8e908a84..6a864f38 100644 --- a/ASTPrinter.h +++ b/ASTPrinter.h @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Pretty-printer for the abstract syntax tree (the "pretty" is arguable), used for debugging. + */ + #pragma once #include <ostream> diff --git a/ASTVisitor.h b/ASTVisitor.h index f3ae3be7..c28d2330 100644 --- a/ASTVisitor.h +++ b/ASTVisitor.h @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * AST visitor base class. + */ + #pragma once #include <libsolidity/ASTForward.h> diff --git a/BaseTypes.h b/BaseTypes.h index a037f655..6d57b74b 100644 --- a/BaseTypes.h +++ b/BaseTypes.h @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Some elementary types for the parser. + */ + #pragma once diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp index c4f0612b..c3932ca9 100644 --- a/NameAndTypeResolver.cpp +++ b/NameAndTypeResolver.cpp @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Parser part that determines the declarations corresponding to names and the types of expressions. + */ + #include <libsolidity/NameAndTypeResolver.h> #include <libsolidity/AST.h> diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h index ca714ac2..42efd57a 100644 --- a/NameAndTypeResolver.h +++ b/NameAndTypeResolver.h @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Parser part that determines the declarations corresponding to names and the types of expressions. + */ + #pragma once #include <map> @@ -1,3 +1,25 @@ +/* + This file is part of cpp-ethereum. + + cpp-ethereum is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + cpp-ethereum is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>. +*/ +/** + * @author Christian <c@ethdev.com> + * @date 2014 + * Scope - object that holds declaration of names. + */ + #pragma once #include <map> |