Esempio n. 1
0
 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)
                ));
 }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        public override void VisitMakeRefExpression(MakeRefExpressionSyntax node)
        {
            if (!PreVisit(node))
            {
                return;
            }

            node.Expression?.Accept(this);

            base.VisitMakeRefExpression(node);

            PostVisit(node);
        }
Esempio n. 5
0
        public override Evaluation VisitMakeRefExpression(MakeRefExpressionSyntax node)
        {
            node.Expression?.Accept <Evaluation>(this);

            return(base.VisitMakeRefExpression(node));
        }
Esempio n. 6
0
 public override void VisitMakeRefExpression(MakeRefExpressionSyntax node)
 {
     throw new NotImplementedException();
 }
Esempio n. 7
0
 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);
 }
Esempio n. 10
0
 public override void VisitMakeRefExpression(MakeRefExpressionSyntax node)
 {
 }
Esempio n. 11
0
        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);
 }
Esempio n. 13
0
 /// <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);
Esempio n. 15
0
 public override void VisitMakeRefExpression(MakeRefExpressionSyntax node) => base.VisitMakeRefExpression(node);
Esempio n. 16
0
 public override void VisitMakeRefExpression(MakeRefExpressionSyntax node)
 {
     base.VisitMakeRefExpression(node);
 }
 public TameMakeRefExpressionSyntax(MakeRefExpressionSyntax node)
 {
     Node = node;
     AddChildren();
 }