Christian
d3e2d2adf3
Parsing of events.
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