public static Doc Print(MakeRefExpressionSyntax node) { return(Doc.Concat( Token.Print(node.Keyword), Token.Print(node.OpenParenToken), Node.Print(node.Expression), Token.Print(node.CloseParenToken) )); }
private Doc PrintMakeRefExpressionSyntax(MakeRefExpressionSyntax node) { return(Concat( this.PrintSyntaxToken(node.Keyword), this.PrintSyntaxToken(node.OpenParenToken), this.Print(node.Expression), this.PrintSyntaxToken(node.CloseParenToken) )); }
public override Ust VisitMakeRefExpression(MakeRefExpressionSyntax node) { IdToken id = ConvertId(node.Keyword); Expression expr = (Expression)base.Visit(node.Expression); ArgsUst args = new ArgsUst(new Expression[] { expr }, expr.TextSpan); var result = new InvocationExpression(id, args, node.GetTextSpan()); return(result); }
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) { if (!PreVisit(node)) { return; } node.Expression?.Accept(this); base.VisitMakeRefExpression(node); PostVisit(node); }
public override Evaluation VisitMakeRefExpression(MakeRefExpressionSyntax node) { node.Expression?.Accept <Evaluation>(this); return(base.VisitMakeRefExpression(node)); }
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) { throw new NotImplementedException(); }
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) { Log(node, "Unsupported Syntax !"); }
/// <inheritdoc /> public override Expression VisitMakeRefExpression(MakeRefExpressionSyntax node) { throw NotSupported(node); }
public override SyntaxNode VisitMakeRefExpression(MakeRefExpressionSyntax node) { node = (MakeRefExpressionSyntax)base.VisitMakeRefExpression(node); Classes.Add(node); return(node); }
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) { }
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) { node.Expression?.Accept(this); base.VisitMakeRefExpression(node); }
/// <summary> /// /// </summary> /// <param name="node"></param> public override sealed void VisitMakeRefExpression(MakeRefExpressionSyntax node) { this.OnNodeVisited(node, this.type.IsInstanceOfType(node)); base.VisitMakeRefExpression(node); }
/// <summary> /// /// </summary> /// <param name="node"></param> public override sealed void VisitMakeRefExpression(MakeRefExpressionSyntax node) { this.OnNodeVisited(node); if (!this.traverseRootOnly) base.VisitMakeRefExpression(node); }
// // Summary: // Called when the visitor visits a MakeRefExpressionSyntax node. public virtual void VisitMakeRefExpression(MakeRefExpressionSyntax node);
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) => base.VisitMakeRefExpression(node);
public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) { base.VisitMakeRefExpression(node); }
public TameMakeRefExpressionSyntax(MakeRefExpressionSyntax node) { Node = node; AddChildren(); }