CloseKeyword
public class CloseKeyword : Keyword
A special subclass of the Keyword
class, which initialises a Keyword
with an closing type.
Usually used for closing parentheses: CloseKeyword("]")
-
The initialiser uses the closing type, but the
name
still must be providedDeclaration
Swift
public init(_ name: String)
Parameters
name
The name (and value) of the
Keyword