Esempio n. 1
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        ExpressionContainerNode IPositionAware <ExpressionContainerNode> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        SimpleListItem IPositionAware <SimpleListItem> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        ItemMetadata IPositionAware <ItemMetadata> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
Esempio n. 4
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        QuotedStringLiteral IPositionAware <QuotedStringLiteral> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
Esempio n. 5
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        Compare IPositionAware <Compare> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        Symbol IPositionAware <Symbol> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
 /// <summary>
 ///     Update positioning information.
 /// </summary>
 /// <param name="startPosition">
 ///     The node's starting position.
 /// </param>
 /// <param name="length">
 ///     The node length.
 /// </param>
 protected void SetPosition(Sprache.Position startPosition, int length)
 {
     AbsoluteStart = startPosition.Pos;
     AbsoluteEnd   = AbsoluteStart + length;
 }
Esempio n. 8
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        ExpressionList IPositionAware <ExpressionList> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
Esempio n. 9
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        StringContent IPositionAware <StringContent> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
Esempio n. 10
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        ItemGroup IPositionAware <ItemGroup> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
Esempio n. 11
0
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        Evaluate IPositionAware <Evaluate> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        ListSeparator IPositionAware <ListSeparator> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        LogicalExpression IPositionAware <LogicalExpression> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }
        /// <summary>
        ///     Update positioning information.
        /// </summary>
        /// <param name="startPosition">
        ///     The node's starting position.
        /// </param>
        /// <param name="length">
        ///     The node length.
        /// </param>
        /// <returns>
        ///     The <see cref="ExpressionNode"/>.
        /// </returns>
        FunctionCall IPositionAware <FunctionCall> .SetPos(Sprache.Position startPosition, int length)
        {
            SetPosition(startPosition, length);

            return(this);
        }