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