parseCFDocumentFile
fn
CfDocument parseCFDocumentFile(string path, CfParserConfig config = CfParserConfig.init)Parses a CF file into a CfDocument.
This is a convenience function that reads the file and parses it using the document model API.
Parameters
path | The path to the CF file to parse |
config | Optional parser configuration |
Returns
A CfDocument representing the parsed CF file.
Throws
CfParseException if the file contains syntax errors.
FileException if the file cannot be read.