예제 #1
0
 protected override Boolean VisitAny(Any any, GrammarNode <Char> argument) =>
 argument is Any;
예제 #2
0
 /// <summary>
 /// Folds an any node.
 /// </summary>
 /// <param name="any"></param>
 /// <param name="argument">The argument to be passed to the visitor method.</param>
 /// <returns>
 /// <list type="number">
 /// <item>The original node if it's to be kept</item>
 /// <item>A different node to replace the original node with</item>
 /// <item>Null if the node is to be removed</item>
 /// </list>
 /// </returns>
 protected override GrammarNode <Char>?VisitAny(Any any, TArgument argument) => any;
 protected override Range <UInt32> VisitAny(Any any, LengthCalculatorOptions argument) =>