mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Term constructors.
This commit is contained in:
parent
a6473b9eff
commit
5b1f35d7ff
@ -23,6 +23,14 @@ public enum Term: CustomDebugStringConvertible, CustomDocConvertible, CustomStri
|
||||
return s.doc
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static let Apply = Syntax.Apply >>> Term.init
|
||||
public static let Abstract = Syntax.Abstract >>> Term.init
|
||||
public static let Assign = Syntax.Assign >>> Term.init
|
||||
public static let Variable = Syntax.Variable >>> Term.init
|
||||
public static let Literal = Syntax.Literal >>> Term.init
|
||||
public static let Group = Syntax.Group >>> Term.init
|
||||
}
|
||||
|
||||
public enum Syntax<Payload>: CustomDebugStringConvertible, CustomDocConvertible {
|
||||
|
Loading…
Reference in New Issue
Block a user