source: OniSplit/Metadata/MetaPointer.cs@ 1115

Last change on this file since 1115 was 1114, checked in by iritscen, 5 years ago

Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File size: 447 bytes
Line 
1namespace Oni.Metadata
2{
3 internal class MetaPointer : MetaType
4 {
5 private readonly TemplateTag tag;
6
7 internal MetaPointer(TemplateTag tag) : base("Link", 4)
8 {
9 this.tag = tag;
10 }
11
12 protected override bool IsLeafImpl() => false;
13
14 public TemplateTag Tag => tag;
15
16 public override void Accept(IMetaTypeVisitor visitor) => visitor.VisitPointer(this);
17 }
18}
Note: See TracBrowser for help on using the repository browser.