Symbol
public class Symbol<In, Out> : RuleBody, SymbolWithName, CustomStringConvertible where In : Sort, Out : Sort
Undocumented
-
Undocumented
Declaration
Swift
public let name: IndexedSymbolName
-
Undocumented
Declaration
Swift
public let kind: SymbolKind
-
Undocumented
Declaration
Swift
public var `in`: In { get }
-
Undocumented
Declaration
Swift
public var out: Out { get }
-
Declaration
Swift
public var description: String { get }
-
Undocumented
Declaration
Swift
public postfix static func ~ (symbol: Symbol<In, Out>) -> Out
-
Undocumented
Declaration
Swift
public prefix static func ~ (symbol: Symbol<In, Out>) -> In
-
Undocumented
Declaration
Swift
public subscript(index: AnyHashable) -> `Self` { get }
-
Undocumented
Declaration
Swift
public func rule(name: RuleName = RuleName(), file: String = #file, line: Int = #line, @RuleBodyBuilder _ ruleBodyBuilder: () -> RuleBody) -> GrammarElement
-
Undocumented
Declaration
Swift
public func rule(name: RuleName = RuleName(), file: String = #file, line: Int = #line, _ ruleBodies: [RuleBody]) -> GrammarElement
-
Undocumented
Declaration
Swift
public var ruleBodyElems: [RuleBodyElem] { get }