Skip to content

Commit

Permalink
chore(release): 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 14, 2019
1 parent 3283734 commit a12865f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/classes/_parser_index_.parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ ___

### generateLexerTokens

**generateLexerTokens**(`template`: string): *Token[]*
**generateLexerTokens**(`template`: string): *[ParserToken](../modules/_contracts_index_.md#parsertoken)[]*

Generate lexer tokens for a given template string.

Expand All @@ -179,7 +179,7 @@ Name | Type |
------ | ------ |
`template` | string |

**Returns:** *Token[]*
**Returns:** *[ParserToken](../modules/_contracts_index_.md#parsertoken)[]*

___

Expand Down Expand Up @@ -212,7 +212,7 @@ ___

### processLexerToken

**processLexerToken**(`token`: Token, `buffer`: [EdgeBuffer](_edgebuffer_index_.edgebuffer.md)): *void*
**processLexerToken**(`token`: [ParserToken](../modules/_contracts_index_.md#parsertoken), `buffer`: [EdgeBuffer](_edgebuffer_index_.edgebuffer.md)): *void*

Process a given [edge-lexer](https://github.com/edge-js/lexer) token and
write it's output to the edge buffer.
Expand All @@ -221,7 +221,7 @@ write it's output to the edge buffer.

Name | Type |
------ | ------ |
`token` | Token |
`token` | [ParserToken](../modules/_contracts_index_.md#parsertoken) |
`buffer` | [EdgeBuffer](_edgebuffer_index_.edgebuffer.md) |

**Returns:** *void*
Expand Down
43 changes: 42 additions & 1 deletion docs/modules/_contracts_index_.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
### Type aliases

* [AcornLoc](_contracts_index_.md#acornloc)
* [ParserMustacheToken](_contracts_index_.md#parsermustachetoken)
* [ParserNewLineToken](_contracts_index_.md#parsernewlinetoken)
* [ParserRawToken](_contracts_index_.md#parserrawtoken)
* [ParserTagToken](_contracts_index_.md#parsertagtoken)
* [ParserToken](_contracts_index_.md#parsertoken)

## Type aliases

Expand All @@ -21,4 +26,40 @@

Loc node from Acorn

#### Type declaration:
#### Type declaration:

___

### ParserMustacheToken

Ƭ **ParserMustacheToken**: *MustacheToken & object*

___

### ParserNewLineToken

Ƭ **ParserNewLineToken**: *NewLineToken & object*

------------------------------------------------------------------------
Parser tokens allows a custom filename for each token. This is helpful
when tokens of multiple files are merged together before they are
passed to parser.
------------------------------------------------------------------------

___

### ParserRawToken

Ƭ **ParserRawToken**: *RawToken & object*

___

### ParserTagToken

Ƭ **ParserTagToken**: *TagToken & object*

___

### ParserToken

Ƭ **ParserToken**: *[ParserNewLineToken](_contracts_index_.md#parsernewlinetoken) | [ParserRawToken](_contracts_index_.md#parserrawtoken) | [ParserTagToken](_contracts_index_.md#parsertagtoken) | [ParserMustacheToken](_contracts_index_.md#parsermustachetoken)*
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edge-parser",
"version": "2.0.10",
"version": "2.1.0",
"description": "Parser for edge template engine",
"main": "build/index.js",
"files": [
Expand Down

0 comments on commit a12865f

Please sign in to comment.