Table of Contents

Class ParserModular.Module

Namespace
Dec
Assembly
dec.dll
public class ParserModular.Module
Inheritance
object
ParserModular.Module

Methods

AddDirectory(string)

Pass a directory in for recursive processing.

public void AddDirectory(string directory)

Parameters

directory string

The directory to look for files in.

Remarks

This function will ignore dot-prefixed directory names and files, which are common for development tools to create.

AddFile(FileType, string, string)

Pass a file in for processing.

public void AddFile(Parser.FileType fileType, string filename, string identifier = null)

Parameters

fileType Parser.FileType
filename string
identifier string

AddStream(FileType, Stream, string)

Pass a stream in for processing.

public void AddStream(Parser.FileType fileType, Stream stream, string identifier = "(unnamed)")

Parameters

fileType Parser.FileType
stream Stream
identifier string

A human-readable identifier useful for debugging. Generally, the name of the file that the stream was built from. Not required; will be derived from filename automatically

AddString(FileType, string, string)

Pass a string in for processing.

public void AddString(Parser.FileType fileType, string contents, string identifier = "(unnamed)")

Parameters

fileType Parser.FileType
contents string
identifier string

A human-readable identifier useful for debugging. Generally, the name of the file that the string was built from. Not required, but helpful.