Liana Husikyan
2fd33d98cc
- implemented Empty parameter name story. Now the name of input/return parameters of function can be not specified.
- added appropriate tests
Conflicts:
test/SolidityEndToEndTest.cpp
test/SolidityNameAndTypeResolution.cpp
10 years ago
guanqun
23c597ae29
remove AST.h Utils.h's x permission
10 years ago
Christian
a90ec7576c
Some fixes for the ether units parser.
10 years ago
Lefteris Karapetsas
e296d86cc6
More style changes in enums
10 years ago
Lefteris Karapetsas
c0151476ad
Minor Style fixes
10 years ago
Lefteris Karapetsas
28e99bbd7d
Adding ether subdenominations after constan literals
10 years ago
Gav Wood
f6955b370e
Fixes for named-args.
10 years ago
Christian
76da204e17
Visibility specifiers.
10 years ago
Christian
2a329e1312
Make tests resistant to changes in order of declaration.
10 years ago
Christian
cc00f49870
Fix scoping of event arguments.
10 years ago
arkpar
de531cb274
json and solidity ABI generted for events
10 years ago
Christian
edefb95aae
Fallback functions.
10 years ago
Christian
c38dd9765b
Whitespace and error messages.
10 years ago
Christian
f57dc81889
Code generation for events.
10 years ago
Christian
d3e2d2adf3
Parsing of events.
10 years ago
Lu Guanqun
b0c3579e25
implement named arguments
10 years ago
Lefteris Karapetsas
941a424e71
Minor fixes plus a rebase merge fix
10 years ago
Lefteris Karapetsas
23d92e0d2e
Removing Function and Param Description
- Removing FunctionDescription and ParamDescription. All the data should
now be in the FunctionType
- Plus using the FunctionTypePointer alias in a few places
10 years ago
Lefteris Karapetsas
122aada70f
Contract Interface Functions now return FunctionType
- Enchanced Function Type by declaration so that it can provide all the
required information at each place interface functions are consumed
- Changed all places where interface functions was used.
- Simplified Mix's FunctionDefinition code
10 years ago
Christian
74cacce2da
Common class that contains AST node documentations.
10 years ago
Lefteris Karapetsas
2fcfb45760
Various fixes pertaining to State Variable accessors
10 years ago
Lefteris Karapetsas
50a4b6055b
Fixes after rebasing on develop
10 years ago
Lefteris Karapetsas
37eb587dd9
Adding isStateVariable attribute to a VarDecl
10 years ago
Lefteris Karapetsas
3732d42ce8
Various small fixes for Sol Automatic Accessors
10 years ago
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
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
a89e21d2a3
Style changes.
10 years ago
Christian
747bf7f2d4
Include virtual function overrides in constructor context.
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
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
Christian
e16d88c894
Check for hash collisions already before compiling.
10 years ago
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
arkpar
72628e8f32
fixed warnings for msvc build
10 years ago
Lefteris Karapetsas
b8b75c841b
Solidity getInterfaceFunctions is now a map of hash to Function
- Also introduced dependency between libsolidity and libdevcrypto
- Compler's appendFunctionSelector now has a first version of using
function signature hash instead of index
10 years ago
Lefteris Karapetsas
48080e0415
Small issues with Canonical Function Signature
- Also added an extra test
10 years ago
Lefteris Karapetsas
c2b194d4c3
Creating the canonical signature of a function, for later use in the ABI
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Lefteris Karapetsas
3c6e966160
Solidity ForStatement Compiler part
- Work in progress
10 years ago
Lefteris Karapetsas
1f0346396a
Minor issues, grammar update, new ForStatement test
10 years ago
Lefteris Karapetsas
5eec2c5ac6
ForStatement typecheck and initExpression is a Statement
10 years ago
Lefteris Karapetsas
30c000d121
Adding a ForStatement solidity AST Node.
- Adding ForStatement node
- Implemented Parsing for ForStatement
- A simple parsing test for the ForStatement
- Work in progress
10 years ago
Christian
c00153e5c1
Stylistic changes.
10 years ago
Christian
a3473ad88d
Check that constructor does not have "returns" directive.
10 years ago