mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This commit teaches parser to parse two libSyntax nodes: FunctionCallArgument and FunctionCallArgumentList. Along with the change, some libSyntax parsing infrastructure changes as well: (1) parser doesn't directly insert token into the buffer for libSyntax node creation; instead, when creating a simple libSyntax node like integer literal expression, parser should indicate the location of the last token in the node; (2) implicit libSyntax nodes like empty statement list must contain a source location indicating where the implicit nodes should appear (immediately before the token at the given location).
4.8 KiB
4.8 KiB