Open Rails

STFReader.ParseFile(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(
   TokenProcessor[] processors
);

Parameters

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