mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +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