67 Commits
Author SHA1 Message Date
Alex Beregszaszi efa4598c23 Mark functions static 2017-09-20 01:23:21 +01:00
chriseth 342367d5dc Store super function. 2017-09-06 13:50:49 +02:00
Alex Beregszaszi deeac7e2e0 Rename statemutability to stateMutability in ABI/AST 2017-08-24 15:23:00 +01:00
Alex Beregszaszi f646247dfb Consider pure as constant for the AST JSON (to aid static analyzers) 2017-08-24 14:13:34 +01:00
chriseth c5f11d938f Merge pull request #2656 from ethereum/performance1
Avoid some Json copy operations.
2017-08-23 13:26:43 +02:00
Alex Beregszaszi efe4d68a7b Introduce view (and keep constant as an alias) 2017-08-22 18:24:22 +01:00
chriseth 9b6caa3fc4 Remove visits to abstract AST class TypeName. 2017-08-22 15:12:38 +02:00
Alex Beregszaszi 4b56829ac3 Create children node in ASTJsonConverter when neccesary 2017-08-21 16:28:30 +01:00
chriseth e3f90565d8 Avoid some Json copy operations. 2017-08-21 16:28:30 +01:00
Alex Beregszaszi 7700f4033e Remove isDeclaredConst() from functions 2017-08-16 17:23:09 +01:00
Alex Beregszaszi 33ea314a24 Add statemutability to AST JSON 2017-08-16 17:23:09 +01:00
Alex Beregszaszi b210db8058 Make toString(visibility) a helper 2017-08-09 14:58:59 +01:00
Alex Beregszaszi c835bcec62 Replace isFullyImplemented with unimplementedFunctions in ASTAnnotations 2017-08-04 14:03:37 +01:00
Alex Beregszaszi 8098030986 Use solAssert instead of boost throw where possible 2017-07-26 22:23:21 +01:00
Alex Beregszaszi d5f8ce90c7 Merge interface/Exceptions and interface/Utils 2017-06-22 11:25:07 +01:00
chriseth 21aafaa704 Merge pull request #2331 from ethereum/ASTDocumentationEntry
documentation field added to ContractDefinition-Node
2017-06-14 14:32:27 +02:00
djudjuu 62eafdd010 adjusted testcase and renaming 2017-06-06 13:26:23 +02:00
djudjuu 597bf8a43d fix Literalprint 2017-05-30 19:53:32 +02:00
djudjuu 2e7190534b documentation field added to ContractDefinition-Node 2017-05-30 18:52:43 +02:00
chriseth 451acd4c9f Merge pull request #2301 from ethereum/ASTFunctionTypeFix
insert ParameterList-node in FunctionType-json
2017-05-24 14:28:07 +02:00
djudjuu 26abd61d9b insert ParameterList-node in FunctionType-json 2017-05-24 13:52:16 +02:00
Alex Beregszaszi 604d254e8c Fix AST JSON converter type lookup 2017-05-23 23:12:40 +01:00
djudjuu e82df073d1 minor fixes and changelog update 2017-05-22 12:25:50 +02:00
djudjuu 1d22233a43 refactoring functionCallAnnotation 2017-05-19 15:48:07 +02:00
djudjuu e3583d04f7 include new InlineAssemblyInformation into JSON 2017-05-17 15:58:28 +02:00
djuju a4ba5ace8a prefixChanges and contractKind-field 2017-05-17 11:14:33 +02:00
djuju 2fa7646944 fixed styletypos, renaming and added helperfunction 2017-05-17 11:14:33 +02:00
Alex Beregszaszi 487eef18cc Use different AST node names in legacy and new format 2017-05-17 11:14:33 +02:00
chriseth dea7b864e6 Compact format for AST-Json with backwards compatibility 2017-05-17 11:14:33 +02:00
chriseth 44a0329921 Comment. 2017-03-17 14:44:44 +01:00
djudjuu 616a9854e9 AST entry for VariableDeclaration 2017-03-16 16:56:44 +01:00
chriseth c16e141ffb Fix JSON output on macos. 2017-01-18 14:09:40 +01:00
chriseth 99eaadd2cd Deterministic AST node identifiers. 2017-01-17 10:45:45 +01:00
Federico Bond 9ed65f2ab9 Include visibility level for functions in AST 2016-12-12 16:21:57 -03:00
Federico Bond df76230240 Fix names of JSON AST nodes 2016-12-11 02:07:08 -03:00
Alex Beregszaszi a9e92cb686 Rename dev::validate to dev::validateUTF8 2016-11-28 22:28:21 +00:00
Alex Beregszaszi c01426efec Make position optional in dev::validate 2016-11-28 22:27:55 +00:00
VoR0220 3f9f725737 Fix licensing headers
Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-23 12:22:33 +01:00
chriseth ec31d08775 Change encoding to address-funid and add "function" as ABI type. 2016-11-16 14:37:19 +01:00
chriseth 62492b67e7 Changelog entry and small fixes. 2016-11-16 14:37:18 +01:00
chriseth cc8583ec7d Function types. 2016-11-16 14:37:17 +01:00
Rhett Aultman 4524ad0870 Add support for do/while loops
This commit adds support for a standard do <statement> while <expr>;
form of statement.  While loops were already being supported; supporting
a do/while loop mostly involves reusing code from while loops but putting
the conditional checking last.
2016-11-10 07:07:25 -08:00
yann300 02416d4460 add payable to AST 2016-11-03 16:36:38 +01:00
chriseth ada31fa9b7 Do not emit non-utf8 strings for ast json. 2016-09-02 00:22:03 +02:00
chriseth 3c412ed2f6 Version pragma. 2016-09-01 00:02:51 +02:00
chriseth 35276d99e0 JSON AST: Some attribute cleanup. Add linearized base contracts. 2016-08-19 13:05:12 +02:00
Alex Sinyagin 4b9eb299d0 Rename root AST JSON node to SourceUnit 2016-08-18 15:38:20 +00:00
Alex Sinyagin 4387d8bbe3 Do not add children to EnumValue and PlaceholderStatement elements in JSON AST 2016-08-18 13:29:44 +00:00
Alex Sinyagin 9139d763d3 Use the full names for JSON AST nodes 2016-08-18 13:12:15 +00:00
Alex Sinyagin 5061eb2b2b Move creation of the root element of JSON AST to the SourceUnit visitor 2016-08-18 12:51:17 +00:00