Liana Husikyan
8fe9d0a335
changed the implementation
10 years ago
Liana Husikyan
b2b723400a
style fix
10 years ago
Liana Husikyan
f2502b01f7
fixed the output of the test
10 years ago
chriseth
cdc38ab28a
Use non-implemented functions for solidity interface output.
10 years ago
Lefteris Karapetsas
04d0415e52
Detect if non-existant parameter is documented with natspec
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
7cb944c903
added anonymous to ABI
10 years ago
Liana Husikyan
0b14d26f6b
Added anonymous flag to event.
added test
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
Lefteris Karapetsas
5b48aad97d
Removing events from Solidity Interface
10 years ago
Lefteris Karapetsas
d53dcd3183
Styling in Natspec Enums
10 years ago
Gav Wood
d5c2a6b26a
Code for outputing events as well as functions.
10 years ago
arkpar
2677a6ea90
style
10 years ago
arkpar
de531cb274
json and solidity ABI generted for events
10 years ago
arkpar
bf3e6fc62d
fixed ABI generator
10 years ago
Lefteris Karapetsas
93abe45771
FunctionType now returns const ref for Declaration
10 years ago
Lefteris Karapetsas
941a424e71
Minor fixes plus a rebase merge fix
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
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
Lefteris Karapetsas
221e0c93fa
Absence of tag in Natspec is now considered @notice
10 years ago
Lefteris Karapetsas
5b36d3c163
Natspec method key is now the Canonical Signature
10 years ago
Lefteris Karapetsas
5a44a670aa
Fixing bug where empty tagless docstring in Natspec would result in infinite loop
10 years ago
Christian
8e84acb98b
Buildfix after semantical merge conflict.
10 years ago
Lefteris Karapetsas
299305548f
Adjustments to Solidity compiler code for Function Hash
10 years ago
Gav Wood
0ca84e5a0d
Basic logging in Solidity (though no tests yet).
10 years ago
Lefteris Karapetsas
b8b75c841b
Solidity getInterfaceFunctions is now a map of hash to Function
- Also introduced dependency between libsolidity and libdevcrypto
- Compler's appendFunctionSelector now has a first version of using
function signature hash instead of index
10 years ago
Gav Wood
78c202cae4
Fixed #683
10 years ago
Lefteris Karapetsas
29261206b9
Adding const attribute to ABI output
10 years ago
Lefteris Karapetsas
0b5b6c7cd4
Adressing some natspec issues
10 years ago
Lefteris Karapetsas
30beaca359
Changes in InterfaceHandler to deal with multiline natspec
- Also now Solidity scanner considers Carriage Return as whitespace
- Tests for Natspec generation with the new multiline comments
10 years ago
Christian
46664c44b3
Assertions that throw InternalCompilerErrors.
10 years ago
Christian
5026c5855d
Create contracts.
10 years ago
Lefteris Karapetsas
c29108a9d8
Styling issues and add TODO in Interfacehandler
10 years ago
Lefteris Karapetsas
01e419fcaf
Natspec title and author tag.
- Adding the title and author natspec documentation tags for contracts
- Also using the author tag for functions now
- Tests
10 years ago
Lefteris Karapetsas
8857a7a75e
Replacing old cstyle enums with c++11 enums in natspec
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
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