debris
548dda844a
solidity compiling under msvc && boosts cmake file fixed
10 years ago
debris
5063433df4
solidity compiling on windows, fixed Compiler Error C2797
10 years ago
Lefteris Karapetsas
8857a7a75e
Replacing old cstyle enums with c++11 enums in natspec
10 years ago
Lefteris Karapetsas
78938ac468
Stack compiler now correctly returns a string and not a pointer
10 years ago
Lefteris Karapetsas
9977229d75
Newline right after doctag is now a valid natspec entry
- Plus tests for that
10 years ago
Lefteris Karapetsas
cfb8e74a75
Introducing Docstring parsing error exception and style fixes
10 years ago
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
67da8798cf
Addressing styling and miscellaneous issue with Natspec
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
Marek Kotewicz
6b5d89d559
removed automocs
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
2f16217574
Styling in libsolidity's InterfaceHandler
10 years ago
Lefteris Karapetsas
eeb186c834
Work in progress for parsing natspec doxytags
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
Christian
735fdf72a1
Comments for the TOKEN_LIST usage.
10 years ago
Gav Wood
240f6b0df7
Warnings fixes (well.. the UPnP was actually a crash fix.)
10 years ago
Christian
92b0ff7a10
Fix: Storage offset of first struct member should be zero.
10 years ago
Lefteris Karapetsas
9ff245ab52
Simplifying lambda function in CompilerStack::getInterface()
10 years ago
Lefteris Karapetsas
c89fc7df63
Removing unneeded local variable in CompilerStack::getDocumentation()
10 years ago
Lefteris Karapetsas
93c488ce73
Handle absence of Natspec doc and add option to solc
10 years ago
Lefteris Karapetsas
88b1bb2540
More Natspec JSON export tests and better error reporting
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
Christian
b514546927
Save the scope for every declaration.
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
Christian
53608c9d77
Cleanup of scanner.
Removed redundancy of keyword definitions and removed some unused token
predicates.
10 years ago
Lefteris Karapetsas
6e0839efe3
simplifying Scanner::reset()
10 years ago
Lefteris Karapetsas
87c58e4866
Moving LiteralScope to Scanner.cpp
10 years ago
Lefteris Karapetsas
eb5369d6f2
Simplifying scanning for natspec documentation
- Scanner no longer remembers the last natspect comment until
a new one is encountered. It remembers it only until the next
scan()
10 years ago
Gav Wood
362e5d8145
Warning fix.
ECDSA recover fix.
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
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
Christian
390e2e8634
Minor changes to magic variables.
gas moves to "msg", ripemd160 returns hash160.
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
chriseth
0669eb8d4c
Whitespace change.
10 years ago
Christian
27d20cd849
Magic variables.
10 years ago
Christian
638960f22f
Contracts as types and framework for special global variables.
10 years ago
Christian
6ee07c2cb8
Convenience class for type members.
10 years ago
Christian
ad1a1f3ee2
We only care about member types.
10 years ago
Lefteris Karapetsas
86e5a3bb48
no c_ prefix for const parameter names
10 years ago
Lefteris Karapetsas
d455d6f651
modifying solidity scanner class to conform with the coding standards
10 years ago
Lefteris Karapetsas
7f959f1292
simplifying scanDocumentationComment()
10 years ago