Christian
ed0384b759
No write access to parameters of external functions.
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
81ecc03e9d
implement getType() for EnumValue
10 years ago
Lefteris Karapetsas
b4302da542
EnumDeclaration -> EnumValue
10 years ago
Lefteris Karapetsas
5c164fb42c
Enum Value member access should now work properly
- Also detection of duplicate enum values and tests for them have been
added
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
Christian
02f2070ddb
Copying structs.
10 years ago
Christian
10667e0b41
Tests and some code for msg.data.
10 years ago
Christian
8b3dec6773
Arbitrary parameters for call() and all hash functions.
10 years ago
Lefteris Karapetsas
c68f7f2790
Addressing issues in Enum style fix
10 years ago
Lefteris Karapetsas
830f0ec52a
ExpressionCompiler's enums to CamelCase
10 years ago
Lefteris Karapetsas
46dfdc97af
Camelcasing enums in Types.h
10 years ago
Lefteris Karapetsas
6bb8233d15
Changing Solidity Code to use CamelCase enum values
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
a7a14c07ba
Small cleanup.
10 years ago
Lefteris Karapetsas
8d239921e9
SHA3 of string literals now should work
10 years ago
Christian
a90ec7576c
Some fixes for the ether units parser.
10 years ago
Lefteris Karapetsas
bbede4c31c
appendArgumentsCopyToMemory() has more complicated logic now
- Plus other fixes.
10 years ago
Lefteris Karapetsas
d3f9c89ee0
Fixes after rebase
10 years ago
Lefteris Karapetsas
5b1adccf6d
Renaming a function for clarity
10 years ago
Lefteris Karapetsas
04aa0cc9ba
Solidity SHA3 can now take multiple arguments
10 years ago
Lu Guanqun
07ecb2c1f2
disallow declaration of void type
https://www.pivotaltracker.com/n/projects/1189488/stories/86318578
10 years ago
Lefteris Karapetsas
e296d86cc6
More style changes in enums
10 years ago
Lefteris Karapetsas
c0151476ad
Minor Style fixes
10 years ago
Lefteris Karapetsas
13d9cbf5ab
Tests for ether subdenominations. Work in progress
10 years ago
Lu Guanqun
0a25d83f27
fix string comparision bug revealed by previous test case
This is due to refactoring of m_names using ASTPointer.
10 years ago
Lefteris Karapetsas
28e99bbd7d
Adding ether subdenominations after constan literals
10 years ago
Gav Wood
f6955b370e
Fixes for named-args.
10 years ago
Christian
76da204e17
Visibility specifiers.
10 years ago
arkpar
de531cb274
json and solidity ABI generted for events
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
941a424e71
Minor fixes plus a rebase merge fix
10 years ago
Lefteris Karapetsas
23d92e0d2e
Removing Function and Param Description
- Removing FunctionDescription and ParamDescription. All the data should
now be in the FunctionType
- Plus using the FunctionTypePointer alias in a few places
10 years ago
Lefteris Karapetsas
122aada70f
Contract Interface Functions now return FunctionType
- Enchanced Function Type by declaration so that it can provide all the
required information at each place interface functions are consumed
- Changed all places where interface functions was used.
- Simplified Mix's FunctionDefinition code
10 years ago
Lefteris Karapetsas
2fcfb45760
Various fixes pertaining to State Variable accessors
10 years ago
Lefteris Karapetsas
ffa06e1a05
Explicitly specify insertion to exported functions
10 years ago
Lefteris Karapetsas
50a4b6055b
Fixes after rebasing on develop
10 years ago
Lefteris Karapetsas
94ca9f0040
All interface functions are external.
10 years ago
Lefteris Karapetsas
3732d42ce8
Various small fixes for Sol Automatic Accessors
10 years ago
Lefteris Karapetsas
3d1c0a9bef
Modifications to Mix to adapt to FunctionDescription
10 years ago
Lefteris Karapetsas
06764f026e
State variable accessors code is now more organized
- FunctionDescription is the abstraction of what should describe a
function. It can either be a VariableDeclaration of a
FunctionDefinition.
- ParamDescription is what FunctionDescription uses to describe its
parameters for outside use purposes with a pair of (name, type)
strings
- Modified code around Solidity and especially interface handler to
adapt to this change
10 years ago