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