Structure
LeafContext
struct LeafContext
Topics
Instance Properties
let body: [Syntax]?let data: [String : LeafData]let parameters: [LeafData]let userInfo: [AnyHashable : Any]
Instance Methods
func requireBody() throws -> [Syntax]Throws an error if this tag does not include a body.func requireNoBody() throwsThrows an error if this tag includes a body.func requireParameterCount(Int) throwsThrows an error if the parameter count does not equal the supplied numbern.