You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CodeGeneration/Sources/SyntaxSupport/ExprNodes.swift
+3
Original file line number
Diff line number
Diff line change
@@ -792,6 +792,9 @@ public let EXPR_NODES: [Node] = [
792
792
kind:.editorPlaceholderExpr,
793
793
base:.expr,
794
794
nameForDiagnostics:"editor placeholder",
795
+
documentation:"""
796
+
- Warning: This ``EditorPlaceholderExprSyntax`` node is not generated by the parser anymore. Placeholders are represented by a ``DeclReferenceExprSyntax``.
- Description: `EditorPlaceholderDeclSyntax` & `EditorPlaceholderExprSyntax` are now deprecated and not parsed anymore. They will now be parsed as identifiers.
Copy file name to clipboardExpand all lines: Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesEF.swift
+4
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@
15
15
// MARK: - EditorPlaceholderDeclSyntax
16
16
17
17
/// An editor placeholder, e.g. `<#declaration#>` that is used in a position that expects a declaration.
18
+
///
19
+
/// - Warning: This ``EditorPlaceholderDeclSyntax`` node is not generated by the parser anymore. Placeholders are represented by a ``MissingDeclSyntax``.
18
20
///
19
21
/// ### Children
20
22
///
@@ -220,6 +222,8 @@ public struct EditorPlaceholderDeclSyntax: DeclSyntaxProtocol, SyntaxHashable, _
220
222
221
223
// MARK: - EditorPlaceholderExprSyntax
222
224
225
+
/// - Warning: This ``EditorPlaceholderExprSyntax`` node is not generated by the parser anymore. Placeholders are represented by a ``DeclReferenceExprSyntax``.
0 commit comments