LeMP.MacroProcessor.ProcessSynchronously C# (CSharp) Method

ProcessSynchronously() public method

Processes a list of nodes directly on the current thread.
Note: AbortTimeout doesn't work when using this overload.
public ProcessSynchronously ( VList stmts ) : VList
stmts VList
return VList
		public VList<LNode> ProcessSynchronously(VList<LNode> stmts)
		{
			return new MacroProcessorTask(this).ProcessRoot(stmts);
		}

Same methods

MacroProcessor::ProcessSynchronously ( IReadOnlyList sourceFiles, Action onProcessed = null ) : void

Usage Example

Example #1
0
 /// <summary>Runs the <see cref="MacroProcessor"/> on all input <see cref="Files"/>.</summary>
 public void Run()
 {
     CompleteInputOutputOptions();
     if (Parallel && Files.Count > 1)
     {
         MacroProcessor.ProcessParallel(Files.AsListSource(), WriteOutput);
     }
     else
     {
         MacroProcessor.ProcessSynchronously(Files.AsListSource(), WriteOutput);
     }
 }
All Usage Examples Of LeMP.MacroProcessor::ProcessSynchronously