Lefteris Karapetsas
46fd746cd8
Changes after rebase on top of Array Parsing
10 years ago
Christian
ccc1d974d1
Comments and warnings.
10 years ago
Christian
1d518d66f2
Renames and comments.
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Lefteris Karapetsas
c3c1b5c63c
Addressing issues with Enums in Solidity
10 years ago
Lefteris Karapetsas
e5ccf5e2be
Typo in EnumValue
10 years ago
Lefteris Karapetsas
b4302da542
EnumDeclaration -> EnumValue
10 years ago
Lefteris Karapetsas
082bfb2300
Parsing enums for Solidity - WIP
10 years ago
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
Gav Wood
f6955b370e
Fixes for named-args.
10 years ago
Christian
76da204e17
Visibility specifiers.
10 years ago
Christian
9a7e588a37
Fix: No parameters for event.
10 years ago
Christian
d3e2d2adf3
Parsing of events.
10 years ago
Lu Guanqun
b0c3579e25
implement named arguments
10 years ago
Lefteris Karapetsas
37eb587dd9
Adding isStateVariable attribute to a VarDecl
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
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
54e5068268
Some fixes in parser.
10 years ago
Christian
2566466a6c
Type resolution for function modifiers.
10 years ago
Christian
133610be56
Function modifier parsing.
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
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
04c8d8bdc0
Improved external interface for multi-source and multi-contract compilation.
10 years ago
Christian
8621949067
Import directive.
10 years ago
Christian
ea6d58a0d1
Contract compiler and also add ExpressionStatement to AST.
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.
10 years ago
Christian
2c5b1c5262
Documentation for AST, Parser, Scanner and other classes.
10 years ago
Christian
8bb71c4ebf
Use boost errinfo.
10 years ago
Christian
fa22722e0e
Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
10 years ago
Christian
c253a90fc4
Coding style cleanup: const and vecptr.
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
2f9d821967
Type system, not yet complete.
10 years ago
Christian
a5a577d35c
Name resolution.
10 years ago
Christian
8aad54050c
AST printer and command line tool, some fixes.
10 years ago
Christian
f070d3bdea
Initial implementation of Solidity parser finished, not yet tested much.
10 years ago
Christian
3fd9358c3e
Corrected indentation.
10 years ago
Christian
4c1739169a
Parse everything up to function bodies and report parser errors with location.
10 years ago
Christian
961327ee7d
Solidity parser, can not parse much yet.
10 years ago