public ForkableScanner Create(SourceReader source)
{
CodeContract.RequiresArgumentNotNull(source, "source");
Scanner masterScanner = new Scanner(ScannerInfo);
masterScanner.SetSource(source);
masterScanner.SetTriviaTokens(m_triviaTokens);
masterScanner.ErrorManager = ErrorManager;
masterScanner.RecoverErrors = RecoverErrors;
masterScanner.LexicalErrorId = LexicalErrorId;
return ForkableScanner.Create(masterScanner);
}