aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Various fixes pertaining to State Variable accessorsLefteris Karapetsas2015-01-291-3/+3
|
* Explicitly specify insertion to exported functionsLefteris Karapetsas2015-01-291-1/+1
|
* Fixes after rebasing on developLefteris Karapetsas2015-01-291-2/+2
|
* All interface functions are external.Lefteris Karapetsas2015-01-291-1/+1
|
* Various small fixes for Sol Automatic AccessorsLefteris Karapetsas2015-01-291-13/+1
|
* Modifications to Mix to adapt to FunctionDescriptionLefteris Karapetsas2015-01-291-0/+10
|
* State variable accessors code is now more organizedLefteris Karapetsas2015-01-291-13/+102
| | | | | | | | | | | | | - FunctionDescription is the abstraction of what should describe a function. It can either be a VariableDeclaration of a FunctionDefinition. - ParamDescription is what FunctionDescription uses to describe its parameters for outside use purposes with a pair of (name, type) strings - Modified code around Solidity and especially interface handler to adapt to this change
* Work in progress for state variable accessorsLefteris Karapetsas2015-01-291-11/+37
| | | | | | | | | - Changed the code so that a generic declaration with the combination of a function type can be used wherer a function definition was used before - Since using an std::pair everywhere is really tiring with this commit I am in the process of abstracting it into a function
* Cleaner solution to provide standard sources.Christian2015-01-281-2/+1
|
* Compilation of function modifiers.Christian2015-01-261-2/+3
|
* Type resolution for function modifiers.Christian2015-01-261-45/+78
|
* Function modifier parsing.Christian2015-01-261-0/+5
|
* Include virtual function overrides in constructor context.Christian2015-01-201-4/+3
|
* Constructor arguments for base classes.Christian2015-01-201-0/+19
|
* Explicit calls to base class function.Christian2015-01-201-2/+3
|
* Check overrides and provide inherited public interface.Christian2015-01-201-8/+35
|
* Merge pull request #799 from chriseth/sol_gasAndValuechriseth2015-01-151-11/+4
|\ | | | | Specify gas and value for function calls and contract creation calls.
| * Specify value for contract creation.Christian2015-01-141-11/+4
| |
* | Check for hash collisions already before compiling.Christian2015-01-141-8/+30
|/
* Remove const from make_shared to allow enable_shared_from_this to work on MacOS.Christian2015-01-091-5/+5
|
* Arbitrary precision integer constants.Christian2015-01-091-3/+17
|
* Possibility for unary operators to change type.Christian2015-01-091-2/+2
|
* Use shared_from_this instead of manually supplying a shared_ptr to this.Christian2015-01-091-3/+3
|
* Fixing a solAssert in getInterfacefunctions()Lefteris Karapetsas2015-01-091-2/+1
|
* Adjustments to Solidity compiler code for Function HashLefteris Karapetsas2015-01-091-1/+3
|
* merging developLefteris Karapetsas2015-01-091-20/+15
|\
| * Merge pull request #738 from LefterisJP/sol_abiFunctionHashGav Wood2015-01-071-0/+5
| |\ | | | | | | Canonical Function signature creation in solidity
| * | Possibility for binary operators to yield types different from their operands'.Christian2014-12-191-20/+15
| | |
* | | Solidity getInterfaceFunctions is now a map of hash to FunctionLefteris Karapetsas2015-01-071-8/+8
| |/ |/| | | | | | | | | | | - Also introduced dependency between libsolidity and libdevcrypto - Compler's appendFunctionSelector now has a first version of using function signature hash instead of index
* | Small issues with Canonical Function SignatureLefteris Karapetsas2015-01-071-7/+2
| | | | | | | | - Also added an extra test
* | FunctionType also gets CanonicalSignatureLefteris Karapetsas2015-01-071-11/+3
| | | | | | | | - also using iterators in the signature creation function
* | Test for the Canonical Signature of a functionLefteris Karapetsas2015-01-071-0/+1
| |
* | Creating the canonical signature of a function, for later use in the ABILefteris Karapetsas2015-01-071-0/+17
|/
* Assertions that throw InternalCompilerErrors.Christian2014-12-171-5/+3
|
* ForStatement typecheck and initExpression is a StatementLefteris Karapetsas2014-12-171-2/+6
|
* Adding a ForStatement solidity AST Node.Lefteris Karapetsas2014-12-171-0/+7
| | | | | | | - Adding ForStatement node - Implemented Parsing for ForStatement - A simple parsing test for the ForStatement - Work in progress
* Check that constructor does not have "returns" directive.Christian2014-12-151-0/+11
|
* Create contracts.Christian2014-12-151-5/+33
|
* Move implementations of ::accept out of AST.cpp.Christian2014-12-091-458/+1
|
* More const cleanup.Christian2014-12-081-9/+9
|
* Clear separation between ASTVisitor and ASTConstVisitor and more const ↵Christian2014-12-081-30/+43
| | | | specifiers.
* Const functions for ASTVisitor and const ASTPrinter.Christian2014-12-081-4/+205
|
* Import directive.Christian2014-12-031-28/+41
|
* Disallow assignments to structs and mappings.Christian2014-12-021-4/+8
|
* More general function types and references.Christian2014-11-261-6/+6
|
* Magic variables.Christian2014-11-241-9/+8
|
* Contracts as types and framework for special global variables.Christian2014-11-241-1/+35
|
* Convenience class for type members.Christian2014-11-241-7/+3
|
* We only care about member types.Christian2014-11-241-1/+1
|
* Struct types.Christian2014-11-141-2/+11
|
* Mapping types.Christian2014-11-141-7/+33
|
* Provide interface for calls in JSON and some other formatting changes.Christian2014-11-121-0/+15
|
* Merge remote-tracking branch 'ethereum/develop' into sol_typePromotionChristian2014-11-071-19/+1
|\
| * Minor cleanup.Christian2014-11-061-19/+1
| |
* | Re-added some changes lost in merges.Christian2014-11-071-1/+1
| |
* | More information for type expectation errors.Christian2014-11-061-5/+11
| |
* | Detect integer length from literals and remove "std::".Christian2014-11-061-0/+2
|/
* Stylistic corrections.Christian2014-11-051-1/+1
|
* Converted all asserts to exceptions.Christian2014-11-051-13/+12
|
* Stylistic changes.chriseth2014-11-041-4/+0
|
* Contract compiler and also add ExpressionStatement to AST.Christian2014-10-301-15/+28
| | | | | | | | ExpressionStatement functions as glue between Statements and Expressions. This way it is possible to detect when the border between statements and expressions is crossed while walking the AST. Note that ExpressionStatement is not the only border, almost every statement can contains expressions.
* Bugfix: Allow empty return statements without type checking.Christian2014-10-301-0/+2
|
* Compiler for assignments.Christian2014-10-291-3/+10
|
* Removed std:: where it made sense.Christian2014-10-251-9/+11
|
* Replace BOOST_ASSERT by assert.Christian2014-10-251-8/+8
|
* Expression compiler.Christian2014-10-251-10/+13
|
* Remove nullptr comparisons.Christian2014-10-241-8/+8
|
* Use createTypeError everywhere and stream out Location.Christian2014-10-241-4/+1
|
* Use boost errinfo.Christian2014-10-241-15/+19
|
* Improved exceptions and reporting exceptions for command-line compiler.Christian2014-10-231-20/+17
|
* Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for typeChristian2014-10-201-48/+38
| | | | pointer.
* Coding style cleanup: const and vecptr.Christian2014-10-201-1/+1
|
* Coding style and cleanupChristian2014-10-171-25/+4
|
* Corrected coding style.Christian2014-10-161-55/+88
|
* Some fixes for the type system, should be quite usable now.Christian2014-10-161-1/+1
|
* Added meaningful exception types.Christian2014-10-161-13/+23
|
* Type system, not yet complete.Christian2014-10-161-14/+230
|
* AST printer and command line tool, some fixes.Christian2014-10-101-0/+232
|
* Corrected indentation.Christian2014-10-091-11/+11
|
* Solidity parser, can not parse much yet.Christian2014-10-081-0/+23