chriseth
3bc78361d6
Bugfixes concerning variable declarations.
Fixes #1637
10 years ago
Lefteris Karapetsas
dfcaf8a414
Abstract contract and inheritance
- Checking the linearized base contracts for abstract functions and
handle their existence appropriately
- If a contract is abstract it can't be created with new
- An abstract contract is not compiled (no backend code is generated)
- Of course tests
10 years ago
Lefteris Karapetsas
4e234b30ed
Moving contract fullyImplemented check to TypeRequirements
10 years ago
Lefteris Karapetsas
742002b05a
Parsing of not fully implemented functions
- Adding the possibility of omitting a function body by simply ending a
function definition with a semicolon
- Such a function is marked as not fully implemented and any contract
that contains such a function is considered a not fully implemented contract
10 years ago
Liana Husikyan
7fe63e36e9
changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
10 years ago
Liana Husikyan
0b14d26f6b
Added anonymous flag to event.
added test
10 years ago
Liana Husikyan
581cd68fcf
restyleing
removed unnecessary check
10 years ago
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
Liana Husikyan
304256b546
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
10 years ago
Liana Husikyan
6f11b6a73f
added parsing for constant variables
10 years ago
Lu Guanqun
17f79a5c6e
implement overload resolution
10 years ago
Lu Guanqun
defd6cfa21
mark an identifier as callable if its next token is '('
10 years ago
Gav Wood
e2f1bc4133
Add date/time language to solidity.
10 years ago
Gav Wood
2719aaf830
Add date/time language to solidity.
10 years ago
Gav Wood
d14df543ff
Add date/time language to solidity.
10 years ago
Lefteris Karapetsas
a157ccae4d
Move SourceLocation to evmcore
10 years ago
Lefteris Karapetsas
46fd746cd8
Changes after rebase on top of Array Parsing
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
ccc1d974d1
Comments and warnings.
10 years ago
Christian
1d518d66f2
Renames and comments.
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
Liana Husikyan
87e956729c
Inline member initialisation
renamed VariableDefinition class to VariableDeclarationStatement
added tests
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
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