Xi Ge
fec040d95e
libSyntax: support generic parameter clause. ( #13286 )
...
This patch also performs minor refactoring to align syntax parsing
context with the right scope. We start to support the generic clauses
because they are necessary pieces to construct struct or
function syntax node.
2017-12-05 19:34:55 -08:00
Rintaro Ishizaki
e7cfae0ba9
[libSyntax] Support parsing type-identifier
2017-11-29 09:57:59 +09:00
Xi Ge
588ac6b3e8
libSyntax: add several elementary nodes. ( #13085 )
...
They are SequenceExpr, AssignmentExpr, and BinaryOperatorExpr.
2017-11-27 13:15:39 -08:00
Xi Ge
aa7c766d90
libSyntax: generate a function to count children for a given syntax kind.
2017-11-14 23:29:23 -08:00
Xi Ge
9272e0d9bf
libSyntax: add a function to generically create blank collection syntax. NFC
2017-11-07 17:36:53 -08:00
Xi Ge
844aeae2d5
Re-apply "libSyntax: create a basic infrastructure for generating libSyntax entities by using Parser." ( #12538 )
2017-10-20 22:58:28 -07:00
Greg Parker
48a6b9d464
Revert "libSyntax: create a basic infrastructure for generating libSyntax entities by using Parser."
...
This reverts commit ee7a06276d .
It causes build failures like "'swift/Syntax/SyntaxNodes.h' file not found".
2017-10-19 17:11:48 -07:00
Xi Ge
ee7a06276d
libSyntax: create a basic infrastructure for generating libSyntax entities by using Parser.
2017-10-18 17:02:00 -07:00
Xi Ge
70dd88446c
libSyntax: add a factory method to create meaningful nodes with a generic syntax list. ( #12332 )
2017-10-09 11:14:35 -07:00
Harlan
a5098e6b69
Generate libSyntax API ( #10926 )
...
* Generate libSyntax API
This patch removes the hand-rolled libSyntax API and replaces it with an
API that's entirely automatically generated. This means the API is
guaranteed to be internally stylistically and functionally consistent.
2017-07-25 18:19:58 -07:00