Class: Store

Store(file, flag)

class: Store

Constructor

new Store(file, flag)

Store Parse Trre Object into File Passed as Parameter
Parameters:
Name Type Description
file string Destination File Path
flag Object Configuration Object
Properties:
Name Type Description
isSilent boolean Omit Error Message to Standard Error
showWarn boolean Display Warning instead of Error/Log
showDetail boolean Display Details of The Error Message
store FileStream FileStream Module of Node.JS for File IO
target string Path to Destination File
hasError boolean True iff Any Error has Occured
errorText string The Error Message
error string Details of The Error
content string Parse Tree Object
Source:

Methods

getError()

Display Error Information if any
Properties:
Name Type Description
hasError boolean True iff Any Error has Occured
isSilent boolean Omit Error Message to Standard Error
showWarn boolean Display Warning instead of Error/Log
showDetail boolean Display Details of The Error Message
errorText string The Error Message
error string Details of The Error
Source:

save()

Save Contents into Output File Specified
Properties:
Name Type Description
store FileStream File Loader for IO
file string Target File Path
Source: