aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Factor out tokenToContractKindAlex Beregszaszi2017-03-181-15/+17
|
* Support interface (contract) keyword in the parserAlex Beregszaszi2017-03-181-4/+20
|
* Add ContractKind to ContractDefinitionAlex Beregszaszi2017-03-181-1/+1
|
* Rename contractName to typeName when parsing new expressionFederico Bond2017-01-051-3/+3
|
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Fix parser for function type disambiguity.chriseth2016-11-161-1/+12
|
* Function type state variables.chriseth2016-11-161-31/+66
|
* Function types.chriseth2016-11-161-33/+50
|
* parsing: ban empty enum definition.Yoichi Hirai2016-11-121-0/+2
|
* Add support for do/while loopsRhett Aultman2016-11-101-1/+18
| | | | | | | 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.
* Merged in changes from chriseth/payableAlex Beregszaszi2016-09-061-6/+6
|
* Support payable keyword for functionsAlex Beregszaszi2016-09-061-0/+7
|
* Require ";" after "_"chriseth2016-09-051-1/+1
|
* Version pragma.chriseth2016-09-011-0/+33
|
* Remove log.h from solidity.chriseth2016-04-121-1/+0
|
* Code generation (missing external access and source locations).chriseth2016-03-301-8/+9
|
* Parsing for inline assembly.chriseth2016-03-301-0/+20
|
* Move reusable parser components into base class.chriseth2016-02-231-75/+0
|
* added two functions in Token to handle long identifiers, redid ↵RJ Catalano2016-02-191-7/+19
| | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser
* tests added and changes madeRJ Catalano2016-02-191-1/+1
| | | | | | fixed some silly problems in Token.cpp windows error fix
* changes to redefine the token list, the scanner, and the parser and how they ↵RJ Catalano2016-02-191-11/+15
| | | | | | | | pass around variable types of different sizes not ready for change to FixedPoint just yet made this more const correct and added a switch statement for easier reading
* [cond-expr] fixup according to code reviewLu Guanqun2016-01-231-1/+1
|
* [cond-expr] parse _ ? _ : _ into conditional AST nodeLu Guanqun2016-01-231-6/+19
|
* Remove unnecesary std::movePaweł Bylica2016-01-151-1/+1
|
* Use paths instead of simple identifiers wherever possible.chriseth2015-12-221-15/+17
|
* Merge pull request #311 from guanqun/correct-boolean-literal-positionchriseth2015-12-191-0/+1
|\ | | | | correct true/false literal's source
| * correct true/false literal's sourceLu Guanqun2015-12-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: Literal, token: true value: true Type: bool Source: "true;" After: Literal, token: true value: true Type: bool Source: "true" Extra token is removed.
* | Simple aliasing during import.chriseth2015-12-181-1/+1
| |
* | Parse complex import directives.chriseth2015-12-181-19/+68
| |
* | changed error messageRJ Catalano2015-12-171-1/+1
| |
* | updated tests and much simpler algorithm for parsing errorsRJ Catalano2015-12-171-7/+6
| |
* | added one more test and realized that there was one last change before the ↵RJ Catalano2015-12-171-1/+1
| | | | | | | | parser is perfect
* | Parsing is completeRJ Catalano2015-12-171-3/+3
| |
* | changed a couple of small nuances, made an attempt at fixing the parsing in ↵RJ Catalano2015-12-171-3/+6
| | | | | | | | the inline arrays case (fails), and added test for inline arrays per Chriseth request
* | now is compiling and passing soltest...but I think there may be a few more ↵RJ Catalano2015-12-161-4/+6
| | | | | | | | things to do
* | fixed case statementsRJ Catalano2015-12-161-1/+2
| |
* | updated attempt...still a bit more work to do but here's what's currentRJ Catalano2015-12-161-0/+1
|\ \
| * | Inline array declarations completeRJ Catalano2015-12-151-0/+22
| |/
* / updated attempt, a couple of more things to sort through and changeRJ Catalano2015-12-161-4/+6
|/
* Added the `using x for y` directive.chriseth2015-11-271-0/+20
|
* Do not store elements of a contract by AST node type.chriseth2015-11-261-18/+8
|
* Fix MSVC errors and warnings.chriseth2015-11-261-1/+1
|
* Allow "new expressions" also for general type names.chriseth2015-11-261-1/+1
| | | | | | | Breaking change: If you want to send value with a contract creation, you have to use parentheses now: `(new ContractName).value(2 ether)(arg1, arg2)`
* Allow docstrings for statements.chriseth2015-10-271-30/+38
|
* more correctionsLianaHus2015-10-231-4/+14
|
* modified error msgLianaHus2015-10-231-1/+7
|
* File reorganisation.chriseth2015-10-211-0/+1234