Open Rails

STFReader.EndOfBlock Method

[This is preliminary documentation and subject to change.]

Returns true if the next character is the end of block, or end of file. Consuming the closing ")" all other values are not consumed.

public bool EndOfBlock();

Return Value

true - An EOF, or closing parenthesis was found and consumed.

false - Another type of {item} was found but not consumed.

Remarks

An STF block should be enclosed in parenthesis, ie ( {data_item} {data_item} )

See Also

STFReader Class | Orts.Parsers.Msts Namespace