示例#1
0
 /// <summary>
 ///     Add a traversal source instruction to the bytecode.
 /// </summary>
 /// <param name="sourceName">The traversal source method name (e.g. withSack()).</param>
 /// <param name="args">The traversal source method arguments.</param>
 public void AddSource(string sourceName, params object[] args)
 {
     SourceInstructions.Add(new Instruction(sourceName, FlattenArguments(args)));
     Bindings.Clear();
 }
示例#2
0
 /// <summary>
 ///     Add a traversal source instruction to the bytecode.
 /// </summary>
 /// <param name="sourceName">The traversal source method name (e.g. withSack()).</param>
 /// <param name="args">The traversal source method arguments.</param>
 public void AddSource(string sourceName, params object[] args)
 {
     SourceInstructions.Add(new Instruction(sourceName, args));
 }