Esempio n. 1
0
 public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     if (node.OmittedArraySizeExpressionToken.Text.Length != 0)
     {
         throw new NotImplementedException(String.Format("OmittedArraySizeExpressionSyntax \"{0}\"",
                                                         node.OmittedArraySizeExpressionToken.Text));
     }
 }
Esempio n. 2
0
        public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
        {
            if (!PreVisit(node))
            {
                return;
            }

            base.VisitOmittedArraySizeExpression(node);

            PostVisit(node);
        }
Esempio n. 3
0
 public OmittedArraySizeExpressionTranslation(OmittedArraySizeExpressionSyntax syntax, SyntaxTranslation parent) : base(syntax, parent)
 {
 }
Esempio n. 4
0
        public static OmittedArraySizeExpressionSyntax OmittedArraySizeExpression()
        {
            var result = new OmittedArraySizeExpressionSyntax();

            return result;
        }
 //
 // Summary:
 //     Called when the visitor visits a OmittedArraySizeExpressionSyntax node.
 public virtual void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node);
Esempio n. 6
0
 public override SyntaxNode VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     node = (OmittedArraySizeExpressionSyntax)base.VisitOmittedArraySizeExpression(node);
     Classes.Add(node);
     return(node);
 }
Esempio n. 7
0
 public override Evaluation VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     return(base.VisitOmittedArraySizeExpression(node));
 }
 public virtual void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     DefaultVisit(node);
 }
Esempio n. 9
0
 private Doc PrintOmittedArraySizeExpressionSyntax(
     OmittedArraySizeExpressionSyntax node)
 {
     return(Doc.Null);
 }
 public override IEnumerable <IModel> VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     // this is encountered when the size is implicit.
     // e.g, var x = new int[] { 1, 2, 3 }
     return(Enumerable.Empty <IModel>());
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public override sealed void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     this.OnNodeVisited(node, this.type.IsInstanceOfType(node));
     base.VisitOmittedArraySizeExpression(node);
 }
Esempio n. 12
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public override sealed void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     this.OnNodeVisited(node);
     if (!this.traverseRootOnly) base.VisitOmittedArraySizeExpression(node);
 }
Esempio n. 13
0
 public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     Debug.Fail(node.ToString());
     base.VisitOmittedArraySizeExpression(node);
 }
Esempio n. 14
0
        public override Ust VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
        {
            var result = new IntLiteral(0, node.GetTextSpan());

            return(result);
        }
Esempio n. 15
0
 public TameOmittedArraySizeExpressionSyntax(OmittedArraySizeExpressionSyntax node)
 {
     Node = node;
     AddChildren();
 }
Esempio n. 16
0
 public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     Log(node, "Unsupported Syntax !");
 }
Esempio n. 17
0
 public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
 }
Esempio n. 18
0
 public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     throw new NotImplementedException();
 }
Esempio n. 19
0
        public void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
        {
            if (node == null)
                throw new ArgumentNullException("node");

            node.Validate();

            ExpressionStart(node);

            // We don't write anything for omitted.

            ExpressionEnd(node);
        }
 public OmittedArraySizeExpressionTranslation(OmittedArraySizeExpressionSyntax syntax, SyntaxTranslation parent) : base(syntax, parent)
 {
 }
 public override LuaSyntaxNode VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     return(null);
 }
Esempio n. 22
0
 public override void VisitOmittedArraySizeExpression(OmittedArraySizeExpressionSyntax node)
 {
     base.VisitOmittedArraySizeExpression(node);
 }
Esempio n. 23
0
 public static Doc Print(OmittedArraySizeExpressionSyntax node)
 {
     return(Doc.Null);
 }