Example #1
0
 /// <summary>
 /// Accept a visitor for the ZenExpr object.
 /// </summary>
 /// <returns>A value of the return type.</returns>
 internal abstract TReturn Accept <TParam, TReturn>(IZenExprVisitor <TParam, TReturn> visitor, TParam parameter);
Example #2
0
 /// <summary>
 /// Implementing the visitor interface.
 /// </summary>
 /// <param name="visitor">The visitor object.</param>
 /// <param name="parameter">The visitor parameter.</param>
 /// <typeparam name="TParam">The visitor parameter type.</typeparam>
 /// <typeparam name="TReturn">The visitor return type.</typeparam>
 /// <returns>A return value.</returns>
 internal override TReturn Accept <TParam, TReturn>(IZenExprVisitor <TParam, TReturn> visitor, TParam parameter)
 {
     return(visitor.VisitZenBitwiseNotExpr(this, parameter));
 }
Example #3
0
 /// <summary>
 /// Implementing the visitor interface.
 /// </summary>
 /// <param name="visitor">The visitor object.</param>
 /// <param name="parameter">The visitor parameter.</param>
 /// <typeparam name="TParam">The visitor parameter type.</typeparam>
 /// <typeparam name="TReturn">The visitor return type.</typeparam>
 /// <returns>A return value.</returns>
 internal override TReturn Accept <TParam, TReturn>(IZenExprVisitor <TParam, TReturn> visitor, TParam parameter)
 {
     return(visitor.VisitZenStringLengthExpr(this, parameter));
 }
Example #4
0
 /// <summary>
 /// Implementing the visitor interface.
 /// </summary>
 /// <param name="visitor">The visitor object.</param>
 /// <param name="parameter">The visitor parameter.</param>
 /// <typeparam name="TParam">The visitor parameter type.</typeparam>
 /// <typeparam name="TReturn">The visitor return type.</typeparam>
 /// <returns>A return value.</returns>
 internal override TReturn Accept <TParam, TReturn>(IZenExprVisitor <TParam, TReturn> visitor, TParam parameter)
 {
     return(visitor.VisitZenConstantBoolExpr(this, parameter));
 }