Lefteris Karapetsas
eb5369d6f2
Simplifying scanning for natspec documentation
- Scanner no longer remembers the last natspect comment until
a new one is encountered. It remembers it only until the next
scan()
10 years ago
Lefteris Karapetsas
7ac651726f
Solidity natspec docstring test improvements
- Adding a test for docstring being between function signature and
function body
- Properly checking for exceptions in parsing
- Small parser fix
10 years ago
Lefteris Karapetsas
4bb7cc9f67
Solidity FunctionDefinition used ASTString shared ptr for docstrings
10 years ago
Lefteris Karapetsas
e5da1ba6c6
Solidity work for documentation strings
- Still a work in progress
- Parser now properly gets each function's doc comment
- Small changes in the scanner
- Multiline comments are considered
10 years ago
Lefteris Karapetsas
43f269ce9a
Solidity function AST nodes get documentation attribute
10 years ago
Christian
edfc06e2c6
Bugfix: Special case of statements starting with type conversion.
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
0baf92d52e
Parser fix: Consume break and continue.
10 years ago
Christian
8bb71c4ebf
Use boost errinfo.
10 years ago
Christian
bf3a76f5af
Improved exceptions and reporting exceptions for command-line compiler.
10 years ago
Christian
9a059ec662
Corrected spacing around colon.
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
116070f304
Coding style and cleanup
10 years ago
Christian
68a85f4f80
Corrected coding style.
10 years ago
Christian
b71e993223
Added meaningful exception types.
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