Ejemplo n.º 1
0
 public Struct(LikeSyntax[] list, Declaration[] declarations, int[] converters)
 {
     _list = list;
     _declarations = declarations;
     _converters = converters;
 }
Ejemplo n.º 2
0
 public static LikeSyntax Compound
     (LikeSyntax[] list, Declaration[] declarations, int[] converters)
     => new Struct(list, declarations, converters);
Ejemplo n.º 3
0
 public static LikeSyntax Expression(LikeSyntax s1, string s2, LikeSyntax s3)
     => new Expression(s1, s2, s3);
Ejemplo n.º 4
0
 public LikeSyntax Expression(string s2, LikeSyntax s3) => new Expression(this, s2, s3);
Ejemplo n.º 5
0
 static void AssertLike(LikeSyntax syntax, Syntax right)
 {
     if(syntax == null)
         Tracer.Assert(right == null);
     else
         syntax.AssertLike(right);
 }
Ejemplo n.º 6
0
 public Expression(LikeSyntax s1, string s2, LikeSyntax s3)
 {
     _s1 = s1;
     _s2 = s2;
     _s3 = s3;
 }