Skip to content

mr-doc/mr-doc-parser

Repository files navigation

Parser

Build Status

Specification

A parser must implement the following interface:

interface IParser {
  parse: (file: IFile) => IParseResult
}

The output should be in the following format:

interface IParseResult {
  comments: IComment[],
  type: string,
  file: IFile
}

These interfaces are defined in parser/interface.ts.