Example #1
0
 /// <summary>
 ///     Visits a jump statement during syntax tree traversal.
 /// </summary>
 /// <param name="node">The Syntax Tree Node.</param>
 /// <returns>An object of type (T) from the visitor implementation of this function.</returns>
 public virtual T VisitJumpStatement(ILSLJumpStatementNode node)
 {
     return(default(T));
 }
 /// <summary>
 ///     Constructs an <see cref="LSLConstantJumpDescription" /> from an ILSLJumpStatement node by
 ///     setting the DeterminingJump and EffectiveJumpStatement property in this object to the determiningJump parameter.
 /// </summary>
 /// <param name="determiningJump">
 ///     The <see cref="ILSLJumpStatementNode" /> to set DeterminingJump and
 ///     EffectiveJumpStatement to.
 /// </param>
 public LSLConstantJumpDescription(ILSLJumpStatementNode determiningJump)
 {
     DeterminingJump        = determiningJump;
     EffectiveJumpStatement = determiningJump;
 }
 /// <summary>
 ///     Constructs an <see cref="LSLConstantJumpDescription" /> from an ILSLJumpStatement node by
 ///     setting the DeterminingJump property of this object to the effectiveJumpStatement parameter, and
 ///     the EffectiveJumpStatement of this object to the effectiveJumpStatement parameter.
 /// </summary>
 /// <param name="effectiveJumpStatement">The <see cref="ILSLReadOnlyCodeStatement" /> to set EffectiveJumpStatement to.</param>
 /// <param name="determiningJump">The <see cref="ILSLJumpStatementNode" /> to set DeterminingJump to.</param>
 public LSLConstantJumpDescription(ILSLReadOnlyCodeStatement effectiveJumpStatement,
                                   ILSLJumpStatementNode determiningJump)
 {
     DeterminingJump        = determiningJump;
     EffectiveJumpStatement = effectiveJumpStatement;
 }