swift
[5.0] Cherry pick swiftSyntax related changes to swift-5.0-branch
#18792
Merged

[5.0] Cherry pick swiftSyntax related changes to swift-5.0-branch #18792

ahoppen
ahoppen [libSyntax] Enable serialization of syntax trees for incremental tran…
7899a22b
ahoppen [libSyntax] Add incremental syntax tree deserialization to SwiftSyntax
28514cd9
ahoppen [incrParse] Add test cases to test the incremental syntax tree transfer
52274db3
ahoppen [libSyntax] Add test case to match the incrementally transferred synt…
9767e9f0
ahoppen [SourceKit] Fix compile error
345399c7
ahoppen [swiftsyntax] Fix issue that caused swift-swiftsyntax-test to not be …
3de55b76
ahoppen [libSyntax] Make RawSyntax a struct
9a6bf4ff
ahoppen [swiftSyntax] Add type annotations to speed up compile time
6c8bbaf2
ahoppen [JSONSerialization] Introduce ScalarReferenceTraits
b8342c73
ahoppen [JSONSerialization] Make key a StringRef
6cc54d94
ahoppen [libSyntax] Remove the C++ SyntaxClassifier
b5e965eb
ahoppen [libSyntax] Add a swift token classifier for syntax highlighting
555bbe57
ahoppen [swiftSyntax] Add test cases for the SyntaxClassifier
61469afa
ahoppen [SourceKit] Serialize the syntax tree in the EditorConsumer
9374aff8
ahoppen [SwiftSyntax] Record the nodes that have been reused during an increm…
104e79e6
ahoppen [SwiftSyntax] Don't reclassify nodes that haven't changed since last …
b2d4d14f
ahoppen [SourceKit] Fix compile error on Ubuntu 14
a0639afb
ahoppen [SwiftSyntax] Refactor AbsolutePosition
2001ef51
ahoppen [sourcekitd] Add support for transferring raw data
7731e5ef
ahoppen [SourceKit] Change return value of functions in EditorConsumer to void
6d792e83
ahoppen [incrParse] Compute NodeStart on the fly when looking up nodes
630dc1c5
ahoppen [SourceKit] Move syntax tree serialization to separate function
ade4e9cb
ahoppen [SourceKit] Reserve 4KB for the syntax tree buffer
29e20ff4
ahoppen [incrParse] Fix issue because of which the syntax tree always got ser…
cea9ec25
ahoppen [libSyntax] Add logging for how long syntax tree serialization took
4ceff410
ahoppen [SourceKit] Pass reused node IDs by reference
856a7ea5
ahoppen [swiftSyntax] Add classifications for comments
3f200035
ahoppen [libSyntax] Lazily compute a node's text length
1507eae2
ahoppen [libSyntax] Add a binary serialization format for syntax trees
416a63bf
ahoppen [SwiftSyntax] Add a deserializer for the ByteTree format
16a1610c
ahoppen [byteTree] Add a document describing the ByteTree format
17cce98f
ahoppen [libSyntax] Reenable caching of token nodes
b00ee1c2
ahoppen [libSyntax] Add a reference counted version of OwnedString
446b7cc3
ahoppen [libSyntax] Support serializing the syntax tree as ByteTree
9e60748c
ahoppen [libSyntax] Make RawSyntaxCacheNode retain its underlying RawSyntax node
c78d2c20
ahoppen [Parser] Delete ASTContext of ParserUnit
35a2c04d
ahoppen [swiftSyntax] Make AbsolutePosition a value type
38b073ea
ahoppen [libSyntax] Partly revert #18698 to fix ASAN bot
71dfd0d8
ahoppen [libSyntax] Generate TokenKinds.def from gyb_syntax_support
dd006f15
ahoppen ahoppen requested a review from shahmishal shahmishal 7 years ago
ahoppen
swift-ci
shahmishal
swift-ci
shahmishal shahmishal merged 6d0c9def into swift-5.0-branch 7 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone