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) }); }
internal void Add(ISyntaxMatch match) { _matches.Add(match); }