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
e5ccf5e2be
Typo in EnumValue
10 years ago
Lefteris Karapetsas
b4302da542
EnumDeclaration -> EnumValue
10 years ago
Lefteris Karapetsas
fc6210e00f
Indentation fixes
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
133969bd2a
Parsing an enum AST node
10 years ago
Lefteris Karapetsas
082bfb2300
Parsing enums for Solidity - WIP
10 years ago
Lefteris Karapetsas
830f0ec52a
ExpressionCompiler's enums to CamelCase
10 years ago
Lefteris Karapetsas
6bb8233d15
Changing Solidity Code to use CamelCase enum values
10 years ago
Liana Husikyan
f6b64f0dbd
trying to avoid win_build problems
10 years ago
liana
2c7bf41047
- added assertion
10 years ago
liana
5a3cc313f1
- some more changes
10 years ago
Liana Husikyan
1db350b06a
- removed unnesessary braces but one in if statement is still there because of warrning about ambiguous "else"
- added marking of position in node factory to the function
Conflicts:
libsolidity/Parser.cpp
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
Christian
a90ec7576c
Some fixes for the ether units parser.
10 years ago
Lefteris Karapetsas
c11c26c094
Tests and fixes for ether subdenominations
10 years ago
Lefteris Karapetsas
13d9cbf5ab
Tests for ether subdenominations. Work in progress
10 years ago
Lefteris Karapetsas
28e99bbd7d
Adding ether subdenominations after constan literals
10 years ago
Gav Wood
eb8b02d22f
Fixes.
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
edefb95aae
Fallback functions.
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
cd677c0921
Fix in addStateVariableAccessor and adjustment of parser tests
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
a89e21d2a3
Style changes.
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
Christian
c1834466a2
Inheritance parser.
10 years ago
Christian
de3e6a09db
Specify value for contract creation.
10 years ago
Lefteris Karapetsas
bcc263070b
Moving comment to function body
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
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
5026c5855d
Create contracts.
10 years ago
Lefteris Karapetsas
01e419fcaf
Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
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
d67e263989
Remove std::.
10 years ago