chriseth
220fc130bd
Removed visit functions for abstract AST nodes.
10 years ago
Lefteris Karapetsas
f85aee0826
Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
10 years ago
Christian
30bd6f271f
Parsing of array types and basic implementation.
10 years ago
Liana Husikyan
d66c448d82
corrected accept for variableDeclaration
changes after code review
10 years ago
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Lefteris Karapetsas
e5ccf5e2be
Typo in EnumValue
10 years ago
Lefteris Karapetsas
b4302da542
EnumDeclaration -> EnumValue
10 years ago
Lefteris Karapetsas
133969bd2a
Parsing an enum AST node
10 years ago
Lefteris Karapetsas
082bfb2300
Parsing enums for Solidity - WIP
10 years ago
Christian
d3e2d2adf3
Parsing of events.
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
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
5026c5855d
Create contracts.
10 years ago
Christian
169139a066
Const functions for ASTVisitor and const ASTPrinter.
10 years ago
Christian
dcce76392b
Renamed url to identifier and added some comments.
10 years ago
Christian
8621949067
Import directive.
10 years ago
Christian
104dd11456
Provide interface for calls in JSON and some other formatting changes.
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
fd7fc4293e
Removed std:: where it made sense.
10 years ago
Christian
2c5b1c5262
Documentation for AST, Parser, Scanner and other classes.
10 years ago
Christian
c5698b7341
Use endl instead of "\n".
10 years ago
Christian
19e7a08b0e
Remove nullptr comparisons.
10 years ago
Christian
8756c4bf96
Type information for AST printer.
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
2f9d821967
Type system, not yet complete.
10 years ago
Christian
cdf2ff14e6
Added copyright blocks.
10 years ago
Christian
a5a577d35c
Name resolution.
10 years ago
Christian
8aad54050c
AST printer and command line tool, some fixes.
10 years ago