Пример #1
0
 public SyntaxMatchIfElse2()
 {
     _if      = new SyntaxMatchBody(new[] { typeof(CharterIf), typeof(ExpressionParens), typeof(ExpressionBraces) });
     _ifElse  = new SyntaxMatchBody(new[] { typeof(CharterIf), typeof(ExpressionParens), typeof(ExpressionBraces), typeof(CharterElse), typeof(ExpressionBraces) });
     _ifElse2 = new SyntaxMatchBody(new[] { typeof(CharterIf), typeof(ExpressionParens), typeof(ExpressionBraces), typeof(CharterElse) });
 }
Пример #2
0
 internal void Add(ISyntaxMatch match)
 {
     _matches.Add(match);
 }