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