asModule

This function takes a (future) module name, a (future) file name and a grammar as a string or a file. It writes the corresponding parser inside a module with the given name.

  1. void asModule(string moduleName, string fileName, string grammarString, string optHeader = "")
    void
    asModule
    (
    string moduleName
    ,
    string fileName
    ,,
    string optHeader = ""
    )
  2. void asModule(string moduleName, File file, string optHeader = "")

Meta