LiteralBody
public struct LiteralBody
It’s a data transfer object passed in the Literal
converter block
-
Value of the literal to match
Declaration
Swift
public var value: String
-
An interpreter instance if the raw value needs any further evaluation
Declaration
Swift
public var interpreter: TypedInterpreter
-
Declaration
Swift
public init(value: String, interpreter: TypedInterpreter)
Parameters
value
Value of the literal to match
interpreter
An interpreter instance if the raw value needs any further evaluation