Xi Ge
7ebf66ed2d
libSyntax: forward declare libSyntax entities in several header files, NFC. ( #12735 )
2017-11-02 20:55:18 -07:00
Xi Ge
4d1249aa82
Revert "libSyntax: Ensure round-trip printing when we build syntax tree from parser incrementally. ( #12709 )"
...
This reverts commit 0d98c4c5df .
2017-11-02 14:44:26 -07:00
Xi Ge
cabb6dd063
Revert "libSyntax: Root parsing context should hold a reference to the current token in the parser, NFC."
...
This reverts commit 19caca7890 .
2017-11-02 14:44:10 -07:00
Xi Ge
19caca7890
libSyntax: Root parsing context should hold a reference to the current token in the parser, NFC.
...
Since all parsing contexts need a reference to the current token of the
parser, we should pass the token reference to the root context. Therefore, the derived
sub-contexts can just copy it while being spawned.
2017-11-02 12:31:45 -07:00
Xi Ge
0d98c4c5df
libSyntax: Ensure round-trip printing when we build syntax tree from parser incrementally. ( #12709 )
2017-11-01 20:29:30 -07: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