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
Liana Husikyan
dd15c53ae4
added externalTypes function to functionType
removed flag for externalSigniture
10 years ago
Lefteris Karapetsas
4e234b30ed
Moving contract fullyImplemented check to TypeRequirements
10 years ago
Liana Husikyan
8b14b4f4d1
two more tests
style fixes
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
f3e8d2b7e9
tests for external types
10 years ago
Liana Husikyan
ba8d0f615c
renamed externalTypes to externalSignature
10 years ago
Liana Husikyan
0ca313ec85
renamed getCanonicalSignature
added externalTypes instead of types for interface functions
added simple test
todo
testing
10 years ago
Liana Husikyan
3e0f3fd514
added test to check anonymous events with user specified topics
added initial value for m_anonymous of EventDefinition
10 years ago
Liana Husikyan
7cb944c903
added anonymous to ABI
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
chriseth
77b9fdcfbc
Fix type checks for storage variable initializer.
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
Liana Husikyan
a545b8a7a4
removed unused member
added some comments for ModifierInvocation::checkTypeRequirements
cleanup
10 years ago
Liana Husikyan
df4746d5e7
Implemented passing arguments to the base constructor.
10 years ago
Lefteris Karapetsas
de6e9f4f54
Using normal pointer in getInheritableMembers()
10 years ago
Lefteris Karapetsas
b1dcc2a77f
VisibleInDerivedContracts() is now virtual()
- Plus an extra test for internal visibility in a base class variable
10 years ago
Lefteris Karapetsas
345e84baea
Adding inheritable members to a contract
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
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
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
952350bec1
Bugfix for functions override
- Functions with byte array type parameters can now be safely
overriden. Parameter location is now set at the right place.
- Also made a test for the fix
10 years ago
Christian
27d436a04c
Rename "protected" to "inheritable".
10 years ago
Christian
ed0384b759
No write access to parameters of external functions.
10 years ago
Christian
0185ac5a0d
"external" visibility specifier.
10 years ago
Christian
4b0a566e70
Some changes to enums.
10 years ago
Lefteris Karapetsas
58c598b8cb
Moving getMemberValue from EnumDefinition to EnumType
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
07886f42bb
Enum type conversion and member value access.
- Added tests for the type conversion part.
- Enum member value access still needs some work
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
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