Lefteris Karapetsas
3d1c0a9bef
Modifications to Mix to adapt to FunctionDescription
10 years ago
Lefteris Karapetsas
06764f026e
State variable accessors code is now more organized
- 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
10 years ago
Lefteris Karapetsas
818742dac9
Work in progress for state variable accessors
- 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
10 years ago
Lefteris Karapetsas
cd677c0921
Fix in addStateVariableAccessor and adjustment of parser tests
10 years ago
Lefteris Karapetsas
5a6748e3df
Parsing accessor functions for public contract state variables
- During the contract parsing depending on whether or not a state
variable is public an extra acessor FunctionDefinition is parsed for it
10 years ago
Christian
4dfc7c4436
Fix stack size of typetypes.
10 years ago
Christian
b80aa77de0
Find some reasonable contract if nothing is supplied.
10 years ago
Christian
fd1f7b527f
Cleaner solution to provide standard sources.
10 years ago
Christian
54e5068268
Some fixes in parser.
10 years ago
Gav Wood
aa094e5240
LogFilter supports new, better, filter mechanism.
Exposed to JS API.
10 years ago
liana
1b5098cd04
- cosmetic changes
10 years ago
liana
16ef4eb9a7
-redesigned appendTypeConversion function
10 years ago
Gav Wood
990d279490
Fixed spurious whisper watches firing.
Additional standard APIs.
Refinement of standard.js.
10 years ago
liana
54ade2fd44
- modifications according to PR review
10 years ago
Christian
c571eeea05
Call modifiers on constructor.
10 years ago
Christian
14c5e37d55
Modifier overrides and callgraph analysis.
10 years ago
Christian
fdf791149d
Compilation of function modifiers.
10 years ago
Christian
2566466a6c
Type resolution for function modifiers.
10 years ago
Christian
133610be56
Function modifier parsing.
10 years ago
Christian
6fb537f48c
Reverse order of inheritance in base list.
10 years ago
Gav Wood
3b5a279e16
Add coins reg to standard services.
Upgrade AZ display for new API.
Upgrade requires in Sol.
10 years ago
Gav Wood
79f1460505
Minor fix.
10 years ago
Gav Wood
0973c4c82e
Fixes to ethereum.js and standard.js.
10 years ago
liana
20421bbfc1
- corrected assert
10 years ago
liana
75f01f6a76
- added conversion for string/hash of equal sizes
- added tests
10 years ago
Gav Wood
d5ce725096
Claim ether makes wallet & trasfers.
"#require" in solidity.
10 years ago
Christian
a89e21d2a3
Style changes.
10 years ago
Christian
747bf7f2d4
Include virtual function overrides in constructor context.
10 years ago
Lefteris Karapetsas
221e0c93fa
Absence of tag in Natspec is now considered @notice
10 years ago
Christian
0019c53f5c
Implicit conversion from derived to base.
10 years ago
Christian
813af2c4ee
Call constructors of base classes.
10 years ago
Christian
50c0a0ed66
Constructor arguments for base classes.
10 years ago
Christian
4fe47c5014
Explicit calls to base class function.
10 years ago
Christian
df44090ae6
Inheritance in compiler.
10 years ago
Christian
71950257c5
Magic variables are only needed durinng name and type resolution, not during compilation.
10 years ago
Christian
ffead7b4d5
Check overrides and provide inherited public interface.
10 years ago
Christian
feff325023
Import inherited members into the contract's scope.
10 years ago
Christian
c1834466a2
Inheritance parser.
10 years ago
Lefteris Karapetsas
7e145a3d1c
Some addition to Solidity Execution Framework
10 years ago
Gav Wood
e643fb3039
Warnings fix.
10 years ago
Gav Wood
d3ade37e63
Potential workaround for windows build.
10 years ago
liana
7651909bdf
- corrected delete in case we have more than one locals
- added a test
10 years ago
liana
3012ee73b2
removed spaces
10 years ago
liana
658b8d86d2
Corrected "delete" for local variables i.e. set them to 0
Added test case
10 years ago
Lefteris Karapetsas
e3b15f48c4
Style fixes and refactoring in ASTJsonConverter
10 years ago
Gav Wood
d2ba0f336e
Missing comma.
10 years ago
Gav Wood
1f7ccc48d5
Add blockhash to Solidity.
Autopadding fix.
10 years ago
Lefteris Karapetsas
50d3825f1f
Solidity AST Json Exporter
- A first version of the exporter is ready with this commit
- Further refinement will follow once it gets used
10 years ago
Lefteris Karapetsas
f91cb0c368
ASTJSonconverter stack takes objects and not pointers
10 years ago
Lefteris Karapetsas
0642bbbd8c
More work on the AST export. Work in progress
10 years ago