mirror of
https://github.com/Ratstail91/Mementos.git
synced 2025-11-29 10:34:27 +11:00
Committed everything
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
|
||||
namespace Ink.Parsed
|
||||
{
|
||||
public class Wrap<T> : Parsed.Object where T : Runtime.Object
|
||||
{
|
||||
public Wrap (T objToWrap)
|
||||
{
|
||||
_objToWrap = objToWrap;
|
||||
}
|
||||
|
||||
public override Runtime.Object GenerateRuntimeObject ()
|
||||
{
|
||||
return _objToWrap;
|
||||
}
|
||||
|
||||
T _objToWrap;
|
||||
}
|
||||
|
||||
// Shorthand for writing Parsed.Wrap<Runtime.Glue> and Parsed.Wrap<Runtime.Tag>
|
||||
public class Glue : Wrap<Runtime.Glue> {
|
||||
public Glue (Runtime.Glue glue) : base(glue) {}
|
||||
}
|
||||
public class Tag : Wrap<Runtime.Tag> {
|
||||
public Tag (Runtime.Tag tag) : base (tag) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user