Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 486 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 486 Bytes

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.