Commit Graph

29 Commits

Author SHA1 Message Date
Lefteris Karapetsas
4b84507310 simplifying Scanner::reset() 2014-12-01 01:05:55 +01:00
Lefteris Karapetsas
21fdd84c09 Moving LiteralScope to Scanner.cpp 2014-11-30 23:25:42 +01:00
Lefteris Karapetsas
a595464739 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()
2014-11-30 22:43:40 +01:00
Lefteris Karapetsas
034870b4c0 Fixing multiline comment parsing in solidity 2014-11-28 00:06:38 +01:00
Lefteris Karapetsas
e11e651929 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
2014-11-27 18:57:50 +01:00
Christian
c50cd646ce Contracts as types and framework for special global variables. 2014-11-23 21:28:44 +01:00
Lefteris Karapetsas
93c98a6e52 no c_ prefix for const parameter names 2014-11-21 17:43:24 +01:00
Lefteris Karapetsas
4cbfb5a903 modifying solidity scanner class to conform with the coding standards 2014-11-21 17:08:35 +01:00
Lefteris Karapetsas
3b16ffa8ab simplifying scanDocumentationComment() 2014-11-21 09:09:39 +01:00
Lefteris Karapetsas
cda2532de6 cleaning up the external interface of Scanner::next(). No special cases 2014-11-20 23:56:24 +01:00
Lefteris Karapetsas
b4b0e37e7a styling fixes 2014-11-20 22:08:16 +01:00
Lefteris Karapetsas
43961a552d documentation comments are now always skipped but saved as special tokens at the Scanner 2014-11-19 16:21:42 +01:00
Lefteris Karapetsas
3174f5eca3 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
2014-11-19 01:58:32 +01:00
Christian
627c80f0a8 Support for negative literals. 2014-11-06 02:44:43 +01:00
Christian
b5e77678c9 Keywords for all integer types. 2014-11-06 02:40:39 +01:00
Christian
c1f7a1665f Converted all asserts to exceptions. 2014-11-05 15:01:24 +01:00
Christian
a36db1f241 Actual contract creator and add solidity to AlethZero interface. 2014-10-31 14:37:23 +01:00
Christian
6a96b6b5ad Removed std:: where it made sense. 2014-10-24 19:42:38 +02:00
Christian
58be273506 Replace BOOST_ASSERT by assert. 2014-10-24 19:40:47 +02:00
Christian
c8b008558d Cleanup of copyright headers. 2014-10-20 16:37:04 +02:00
Christian
be885dc3cf Pointer type cleanup: Use ASTPointer only for AST nodes and shared_ptr for type
pointer.
2014-10-20 16:23:49 +02:00
Christian
f0c334670d Coding style cleanup: const and vecptr. 2014-10-20 13:02:06 +02:00
Christian
646f106a34 Keyword cleanup 2014-10-17 12:52:39 +02:00
Christian
a7f9815c0f Coding style and cleanup 2014-10-17 12:37:51 +02:00
Christian
8a506b505f Corrected coding style. 2014-10-16 14:08:54 +02:00
Christian
c3faa433ef Corrected indentation. 2014-10-09 12:36:17 +02:00
Christian
0a1ebe4f51 Parse everything up to function bodies and report parser errors with location. 2014-10-08 20:53:50 +02:00
Christian
56e9cc8db7 Solidity parser, can not parse much yet. 2014-10-08 13:49:34 +02:00
Christian
ef59373871 Solidity scanner and some unit tests.
The scanner is a modified version of the v8 javascript scanner.
2014-10-08 11:11:50 +02:00