Djordje Mijovic
|
8cc16eb128
|
Refactoring nextConstructor by moving it from CompilerContext to ContractDefinition
|
2020-04-06 17:35:08 +02:00 |
|
chriseth
|
173f234860
|
Refactor: Replace inheritance hierarchy by most derived contract.
|
2020-03-26 18:27:39 +01:00 |
|
chriseth
|
fa148f2483
|
Parsing of immutable state variable.
|
2020-03-12 17:11:24 +01:00 |
|
chriseth
|
1488a1ceb8
|
Refactor isConstant to add "immutable".
|
2020-03-02 14:20:17 +01:00 |
|
Daniel Kirchner
|
ee5ff4df4e
|
Clean up visibility via contract name and fix ICE on calling unimplemented base function.
|
2020-01-16 19:13:04 +01:00 |
|
djudjuu
|
e8556fa1b2
|
Ast-Import from standard-json
|
2020-01-14 17:15:53 +01:00 |
|
chriseth
|
a4e34b378a
|
Merge pull request #8105 from ethereum/functionTypeRefactor
Add a new Function Type referring to FunctionDefinition's without calling context and use it to allow selector lookup.
|
2020-01-09 17:15:46 +01:00 |
|
Daniel Kirchner
|
9535c0f520
|
Introduce FunctionKind::Declaration and allow accessing function signatures via contract name.
|
2020-01-09 15:40:41 +01:00 |
|
Jason Cobb
|
dc380f017f
|
Make CallableDeclaration::annotation pure virtual
|
2020-01-09 08:37:32 -05:00 |
|
Jason Cobb
|
dc6c19cafa
|
Add methods for AST annotation implementation
|
2020-01-09 08:37:32 -05:00 |
|
chriseth
|
5ca3abd7cb
|
Merge pull request #8106 from random-internet-cat/move-contract-kind
Move ContractKind from ContractDefinition to file-scope
|
2020-01-08 13:06:26 +01:00 |
|
Christian Parpart
|
345f9928ab
|
Library libdevcore renamed to libsolutil.
|
2020-01-07 15:51:50 +01:00 |
|
Christian Parpart
|
6b23412fae
|
C++ namespace cleanup (except tests).
|
2020-01-07 15:51:50 +01:00 |
|
Jason Cobb
|
529405deb6
|
Move ContractKind from ContractDefinition to file-scope
|
2020-01-07 09:11:29 -05:00 |
|
Jason Cobb
|
69fd185903
|
Add new annotations for Scopables
|
2019-12-19 21:45:16 -05:00 |
|
Jason Cobb
|
be14d5f28d
|
Add DeclarationAnnotation
|
2019-12-19 21:45:16 -05:00 |
|
Gaith Hallak
|
371e6a4801
|
Add function selector to FunctionDefinition AST JSON
|
2019-12-16 15:16:54 +03:00 |
|
chriseth
|
90feb8f72a
|
Move Visibility out of Declaration.
|
2019-12-11 00:38:59 +01:00 |
|
chriseth
|
152f42c6b2
|
Make ambigous override checker generic.
|
2019-12-09 18:41:39 +01:00 |
|
chriseth
|
1ebcc757e1
|
Merge remote-tracking branch 'origin/develop' into develop_060
|
2019-11-27 19:14:08 +01:00 |
|
chriseth
|
23181f549e
|
Remove plain new operators from AST.
|
2019-11-27 18:03:09 +01:00 |
|
chriseth
|
5388c919f0
|
Some changes to "abstract".
|
2019-11-05 13:55:31 +01:00 |
|
Daniel Kirchner
|
3321fc56ea
|
Split fallback function and introduce "fallback()" and "receive()" syntax.
|
2019-11-04 17:17:58 +01:00 |
|
Alexander Arlt
|
62950a9234
|
Support for abstract contracts.
|
2019-11-01 14:54:47 -05:00 |
|
chriseth
|
8e736a9f49
|
Type Checker for try/catch.
|
2019-09-23 17:22:56 +02:00 |
|
chriseth
|
a66c354698
|
AST for try and catch.
|
2019-09-23 17:22:09 +02:00 |
|
Daniel Kirchner
|
b0a5666b43
|
Better error messages when writing to expressions that cannot be written to.
|
2019-08-14 17:59:48 +02:00 |
|
Leonardo Alt
|
7b22496b1f
|
[SMTChecker] Fix ICE when inlining functions that use state vars and are in a different source
|
2019-08-09 17:50:52 +02:00 |
|
Leonardo Alt
|
dcd6cb94bf
|
Add function that retrieves first FunctionDefinition up the scope path
|
2019-05-09 09:15:11 +02:00 |
|
Leonardo Alt
|
371b37b660
|
Fix direct call to base class overloaded functions
|
2019-04-26 09:34:15 +02:00 |
|
Christian Parpart
|
721bf367a3
|
[libsolidity] TypeProvider: eliminate redundant "Type" suffix in provider function signatures.
|
2019-04-17 14:42:07 +02:00 |
|
Christian Parpart
|
a2a3b007f3
|
TypeProvider: storageType() to make all parameters explicit
|
2019-04-16 18:26:46 +02:00 |
|
Christian Parpart
|
bf43eebea9
|
libsolidity: Introducing TypeProvider API, for clear type system ownership.
|
2019-04-16 18:26:45 +02:00 |
|
chriseth
|
1a823f0bf8
|
Fix tabs/spaces.
|
2019-02-13 17:05:48 +01:00 |
|
chriseth
|
a9fa2658d8
|
Add helper to show if contract can be deployed.
|
2019-01-17 20:36:48 +01:00 |
|
Leonardo Alt
|
b185d01a26
|
Sort includes in libsolidity/ast
|
2018-12-17 15:33:15 +01:00 |
|
Mathias Baumann
|
2f6dc2e773
|
Replace push_back with emplace_back where it makes sense
|
2018-12-10 19:02:39 +01:00 |
|
chriseth
|
e78b95d9d4
|
Renamed SHA3.{h,cpp} files.
|
2018-10-18 14:31:36 +02:00 |
|
Christian Parpart
|
9fb835b710
|
Fixes #5051 (introduced in #4684), effectively allowing underscores in address literals.
|
2018-10-02 15:37:15 +02:00 |
|
Anurag Dashputre
|
3321000f67
|
Removing extra default cases to force compile time error, instead of runtime.
|
2018-09-30 12:40:38 +05:30 |
|
Chase McDermott
|
551e0bf47c
|
Rename Location::Default to Location::Unspecified.
|
2018-08-17 18:15:22 -05:00 |
|
liangdzou
|
74c37935f0
|
fix a typo: declaratoion => declaration
|
2018-08-16 13:42:46 +08:00 |
|
Chase McDermott
|
683bce1869
|
Refactor data location check.
|
2018-08-14 18:07:15 +02:00 |
|
Christian Parpart
|
4c90ddf64a
|
libsolidity: Remove dead code wrt. VariableDeclaration::canHaveAutoType()
Closes #4667
|
2018-08-07 11:34:13 +02:00 |
|
Alex Beregszaszi
|
bd75d4268b
|
Move fullyQualifiedName to ContractDefinition only
|
2018-08-06 18:58:27 +02:00 |
|
Daniel Kirchner
|
fc370591f0
|
Disallow multi variable declarations with mismatching number of values.
|
2018-07-12 20:33:51 +02:00 |
|
mingchuan
|
3cd57866a9
|
Fix assert message about function visibility
|
2018-05-20 22:29:11 +08:00 |
|
chriseth
|
17fc0f54b5
|
Use FunctionTypePointer (adds `const `).
|
2018-04-12 13:09:37 +02:00 |
|
Alex Beregszaszi
|
8bae2dba7c
|
Introduce inContractKind helper on FunctionDefinition
|
2018-03-26 11:37:38 +01:00 |
|
chriseth
|
6b9dda06f3
|
Enable C99-scoping with the 0.5.0-experimental pragma.
|
2018-02-27 12:17:25 +01:00 |
|