Lefteris Karapetsas
4bbb9eb264
Using iterators in Natspec comment parsing
- Used iterators in the entirety of the InterfaceHandler natspec comment
parsing pipeline
- Fixed issue where @param continuing in new line would not get a space
10 years ago
Lefteris Karapetsas
69bb2a38b9
Natspec @return tag parsing
- Also omitting tags from the output JSON file if they are missing
instead of providing an empty string for their value
10 years ago
Lefteris Karapetsas
112c583ddb
Natspec parsing @param doctags
- Plus additional work on generally parsing doctags.
One important missing feature is to parse a tag midline
- Adding more tests
10 years ago
Lefteris Karapetsas
5fe1133583
Parsing notice and dev doxytags.
- Only initial work done. Still need to refine the logic and
incorporate all the other types of tags.
- Added/Modified some tests
- Work in progress
10 years ago
Lefteris Karapetsas
4613214098
Moving all Interface and Documentation functionality to own class
- Creating the Interface Handler class which will take care of the
parsing of Natspec comments and of interfacing with and outputing to
JSON files.
- Will also handle the ABI interface creation
10 years ago
Lefteris Karapetsas
994e891078
Separate user and dev natspec documentation
- plus other small changes according to the spec
10 years ago
CJentzsch
e7be724496
test update due to CALLCODA <-> RETURN
10 years ago
Gav Wood
8cbea38df9
PV46. Minor protocol alterations.
10 years ago
Lefteris Karapetsas
88b1bb2540
More Natspec JSON export tests and better error reporting
10 years ago
CJentzsch
8245dd6978
style
Conflicts:
libevm/VM.h
10 years ago
CJentzsch
934d366cdb
updated createRandomTest to correct exception behavior
10 years ago
CJentzsch
c4138a5ad4
added logs to state tests
10 years ago
Lefteris Karapetsas
eed32824c3
Using jsoncpp for exporting ABI interface from solidity
- Also changing the interface JSON test to have a shorter name
plus to provide meaningful error message in case of failure
10 years ago
Christian
a2aa117a6b
Disallow assignments to structs and mappings.
10 years ago
Lefteris Karapetsas
60ac4d3a2c
Exporting Natspec documentation to a JSON interface
- Adding a getDocumentation() function to solidity compiler stack
so that we can obtain the natspec interface for a contract
- Adding libjsoncpp as a dependency of libsolidity. This is done
in a dirty way, using libjsonrpc-cpp s an intermediate dependency
for the moment. Will fix soon.
- Start of a test file for Natspec exporting to JSON
10 years ago
Lefteris Karapetsas
70dd83f887
Adding natspec comment test being between keyword and signature
10 years ago
Lefteris Karapetsas
7ac651726f
Solidity natspec docstring test improvements
- Adding a test for docstring being between function signature and
function body
- Properly checking for exceptions in parsing
- Small parser fix
10 years ago
Lefteris Karapetsas
4bb7cc9f67
Solidity FunctionDefinition used ASTString shared ptr for docstrings
10 years ago
Lefteris Karapetsas
3e42b5ff0d
Adding solidity natspec comment inside function body
10 years ago
Lefteris Karapetsas
170ff1a07f
Fixing multiline comment parsing in solidity
10 years ago
Lefteris Karapetsas
e5da1ba6c6
Solidity work for documentation strings
- Still a work in progress
- Parser now properly gets each function's doc comment
- Small changes in the scanner
- Multiline comments are considered
10 years ago
Lefteris Karapetsas
43f269ce9a
Solidity function AST nodes get documentation attribute
10 years ago
Christian
68acfc0544
Global functions.
10 years ago
Christian
898f989aa1
Sending ether.
10 years ago
Christian
d759075528
More general function types and references.
10 years ago
Christian
b185a748a5
Access to blockchain data.
10 years ago
Christian
60a62708c4
Another test for struct references.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Christoph Jentzsch
c74f5ae0e5
style
10 years ago
Lefteris Karapetsas
06e2c08af7
extra comments scanning test
10 years ago
Christoph Jentzsch
648da92534
style
10 years ago
Christoph Jentzsch
1da0ca9aa6
Specify user defined test
10 years ago
Christoph Jentzsch
b5210dd1c8
add make money test
10 years ago
Lefteris Karapetsas
be1d8881af
documentation comments are now always skipped but saved as special tokens at the Scanner
10 years ago
Christoph Jentzsch
1dff07b1b4
more log tests
10 years ago
Christoph Jentzsch
946f7d3d85
Add Log tests
10 years ago
Christian
c7972ba850
Special handling for constructor.
10 years ago
Paweł Bylica
732e5c2b0f
In VM tests, check only if an exception occurred if an exception expected (no post state and output checking)
10 years ago
Christoph Jentzsch
c7032ff55c
new push32 test and renaming
10 years ago
Christoph Jentzsch
7e8b65b607
Changed name of some tests
10 years ago
Christoph Jentzsch
056e201e8e
more precompiled contract tests
Conflicts:
libevm/VM.h
10 years ago
Lefteris Karapetsas
0c101d89f8
solidity scanner takes triple slash doc comments into account
- Conditionally scanning for the documentation comments and gettings their
contents.
- Adding tests for this functionality of the scanner
10 years ago
Marek Kotewicz
ee7c423868
common changes
10 years ago
Marek Kotewicz
e2948c7040
logs in spec
10 years ago
Gav Wood
7a0cb2bf23
Renaming and fixes.
10 years ago
Gav Wood
5c17838ca1
Build fix.
10 years ago
Gav Wood
908e0c498a
Remove overly verbose log.
10 years ago
wanderer
df42afec64
added filler.json
10 years ago
Marek Kotewicz
4c4dd302f2
ethereum.js not minified, serpent compiler, jsonrpc handles compilers exceptions
10 years ago