Exemple #1
0
 public object Construct(BaseConstructor ctor, string tag, Node node) {                
     object result;
     _block.Yield(MutableString.Create(tag, RubyEncoding.UTF8), ctor.ConstructPrimitive(node), out result);
     return result;                
 }
Exemple #2
0
 public object Construct(BaseConstructor ctor, Node node) {
     return Construct(ctor, node.Tag, node);
 }
Exemple #3
0
 private int BaseConstructorsSorter(BaseConstructor l, BaseConstructor r)
 {
     return(ParentDefinition.Extends.IndexOf(l.typeReference).CompareTo(ParentDefinition.Extends.IndexOf(r.typeReference)));
 }