Liana Husikyan
7359f68b9f
- added more tests to check constant specifier implementation
- deny use of const for local variables
- deny unitialized const variables
- only int, fixed strings, and enums can be declaired as const
10 years ago
Lefteris Karapetsas
f488fc4753
Some fixes on Types.cpp for FixedBytesType
10 years ago
Lefteris Karapetsas
98f0d04a94
Style fixes and some additional hash to bytes32 renaming
10 years ago
Lefteris Karapetsas
bb205103c4
Most EndToEndTests are now compliant with the Bytes renaming
10 years ago
Lefteris Karapetsas
cc653ffbbb
Move ETH_TEST() Macros to TestHelper.h
- Also use them in Solidity Parser
10 years ago
Lu Guanqun
c99f8fa4ea
add several var related test cases
10 years ago
Christian
fba4484151
Replaced "inheritable" by "internal".
10 years ago
Christian
92507f5bf0
Allow conversion to dynamic arrays and update grammar.
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Christian
27d436a04c
Rename "protected" to "inheritable".
10 years ago
Christian
0185ac5a0d
"external" visibility specifier.
10 years ago
Lefteris Karapetsas
c3c52d59b2
Removing ';' from the end of EnumDefinition
10 years ago
Lefteris Karapetsas
c3c1b5c63c
Addressing issues with Enums in Solidity
10 years ago
Lefteris Karapetsas
31014b3457
Disallow trailing comma in Enum Declaration
10 years ago
Lefteris Karapetsas
9232b4cd88
Introducing EnumType and some Parser tests
10 years ago
Lefteris Karapetsas
ec47c759ea
Adding test for Enum Parsing
10 years ago
Lu Guanqun
e85fe2348f
add exponent operator
https://www.pivotaltracker.com/n/projects/1189488/stories/83746404
10 years ago
Christian
a90ec7576c
Some fixes for the ether units parser.
10 years ago
Lefteris Karapetsas
13d9cbf5ab
Tests for ether subdenominations. Work in progress
10 years ago
Lu Guanqun
544c9ef09e
add two test cases parser error for named args
10 years ago
Christian
76da204e17
Visibility specifiers.
10 years ago
Christian
edefb95aae
Fallback functions.
10 years ago
Christian
d3e2d2adf3
Parsing of events.
10 years ago
Lefteris Karapetsas
3732d42ce8
Various small fixes for Sol Automatic Accessors
10 years ago
Lefteris Karapetsas
cd677c0921
Fix in addStateVariableAccessor and adjustment of parser tests
10 years ago
Christian
2566466a6c
Type resolution for function modifiers.
10 years ago
Christian
133610be56
Function modifier parsing.
10 years ago
Christian
50c0a0ed66
Constructor arguments for base classes.
10 years ago
Christian
c1834466a2
Inheritance parser.
10 years ago
Gav Wood
f1f34cbe32
Fixes/workarounds for tests.
10 years ago
Lefteris Karapetsas
4165e45464
updating solidity parser natspec tests to comply with recent changes
10 years ago
Lefteris Karapetsas
8edb5b8b54
Solidity Tests names are now more consistent
- File names and Boost Test Suite have the same name now for
every solidity Test, so that there is no need to guess or check
when you want to run a specific suite from the command line
10 years ago
Lefteris Karapetsas
1f0346396a
Minor issues, grammar update, new ForStatement test
10 years ago
Lefteris Karapetsas
b2992bd659
Solidity ForStatements expressions are now optional
10 years ago
Lefteris Karapetsas
e934aa0bef
new ForStatement parsing test and small grammar fix
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
8621949067
Import directive.
10 years ago
Lefteris Karapetsas
70dd83f887
Adding natspec comment test being between keyword and signature
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
3e42b5ff0d
Adding solidity natspec comment inside function body
10 years ago
Lefteris Karapetsas
170ff1a07f
Fixing multiline comment parsing in solidity
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
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
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
c6c7f86b82
Further const placement changes.
10 years ago