Open Rails

STFReader.ParseFile(ParsingBreak, TokenProcessor) Method

[This is preliminary documentation and subject to change.]

Parse an STF file until the EOF, using the array of lower case tokens, with a processor delegate/lambda

public void ParseFile(
   ParsingBreak breakout,
   TokenProcessor[] processors
);

Parameters

breakout
A delegate that returns true, if the processing should be halted prematurely
processors
Array of lower case token, and the delegate/lambda to call when matched.

See Also

STFReader Class | Orts.Parsers.Msts Namespace | STFReader.ParseFile Overload List