예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #6
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>
        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;
 }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }
예제 #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);
        }