public ScheminPrimitive(Primitive definition, string name) { this.Definition = definition; if (this.Definition.Rewriter) this.Rewriter = true; this.Name = name; }
public ScheminPrimitive(string name) { this.Definition = PrimitiveFactory.Get(name); if (this.Definition.Rewriter) this.Rewriter = true; this.Name = name; }
public ScheminPrimitive(string name, Token token) { this.SourceToken = token; this.Definition = PrimitiveFactory.Get(name); if (this.Definition.Rewriter) this.Rewriter = true; this.Name = name; }