public static Doc Print(RelationalPatternSyntax node) { return(Doc.Concat( Token.PrintWithSuffix(node.OperatorToken, " "), Node.Print(node.Expression) )); }
private Doc PrintRelationalPatternSyntax(RelationalPatternSyntax node) { return(Concat( this.PrintSyntaxToken(node.OperatorToken), " ", this.Print(node.Expression) )); }
/// <inheritdoc/> public override SyntaxNode?VisitRelationalPattern(RelationalPatternSyntax node) { Diagnostics.Add(RelationalPattern, node); return(base.VisitRelationalPattern(node)); }
public RelationalPattern(Context cx, RelationalPatternSyntax syntax, IExpressionParentEntity parent, int child) : base(new ExpressionInfo(cx, null, cx.CreateLocation(syntax.GetLocation()), GetKind(syntax.OperatorToken), parent, child, false, null)) { Expression.Create(cx, syntax.Expression, this, 0); }
public override void VisitRelationalPattern(RelationalPatternSyntax node) { Log(node, "Unsupported Syntax !"); }
/// <inheritdoc/> public override SyntaxNode?VisitRelationalPattern(RelationalPatternSyntax node) { Context.ReportDiagnostic(RelationalPattern, node); return(base.VisitRelationalPattern(node)); }