Skip to content

Commit

Permalink
chore(release): 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Feb 28, 2020
1 parent b5d5e25 commit 1bb28bf
Show file tree
Hide file tree
Showing 10 changed files with 138 additions and 20 deletions.
3 changes: 1 addition & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# edge-parser


## Index

### External modules
Expand All @@ -26,4 +25,4 @@
* ["Expressions/UnaryExpression"](modules/_expressions_unaryexpression_.md)
* ["Expressions/index"](modules/_expressions_index_.md)
* ["Parser/index"](modules/_parser_index_.md)
* [parser](modules/parser.md)
* [parser](modules/parser.md)
3 changes: 1 addition & 2 deletions docs/classes/_edgebuffer_index_.edgebuffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Class: EdgeBuffer


Buffer class to store compiled template lines and form a
callable function from it.

Expand Down Expand Up @@ -158,4 +157,4 @@ Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*
**Returns:** *void*
12 changes: 8 additions & 4 deletions docs/classes/_parser_index_.parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Class: Parser


Edge parser converts template strings to an invokable function. This module
uses [edge-lexer](https://github.com/edge-js/lexer) to generate a list
of tokens and process them against [acorn](https://npm.im/acorn).
Expand Down Expand Up @@ -57,10 +56,13 @@ console.log(fn)

**Parameters:**

**tags**: *object*

**options**: *object*

Name | Type |
------ | ------ |
`tags` | object |
`options` | object |
`filename` | string |

**Returns:** *[Parser](_parser_index_.parser.md)*

Expand All @@ -72,6 +74,8 @@ Name | Type |

#### Type declaration:

* **filename**: *string*

___

### tags
Expand Down Expand Up @@ -248,4 +252,4 @@ Name | Type |
------ | ------ |
`expression` | any |

**Returns:** *string*
**Returns:** *string*
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Interface: ParseTagDefininationContract


The parser needs the `compile` method on every tag

## Hierarchy
Expand All @@ -28,15 +27,15 @@ The parser needs the `compile` method on every tag

**block**: *boolean*

*Inherited from void*
*Inherited from [ParseTagDefininationContract](_contracts_index_.parsetagdefininationcontract.md).[block](_contracts_index_.parsetagdefininationcontract.md#block)*

___

### seekable

**seekable**: *boolean*

*Inherited from void*
*Inherited from [ParseTagDefininationContract](_contracts_index_.parsetagdefininationcontract.md).[seekable](_contracts_index_.parsetagdefininationcontract.md#seekable)*

## Methods

Expand All @@ -52,4 +51,4 @@ Name | Type |
`buffer` | [EdgeBuffer](../classes/_edgebuffer_index_.edgebuffer.md) |
`token` | TagToken |

**Returns:** *void*
**Returns:** *void*
15 changes: 13 additions & 2 deletions docs/modules/_contracts_index_.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# External module: "Contracts/index"


## Index

### Interfaces
Expand All @@ -28,6 +27,18 @@ Loc node from Acorn

#### Type declaration:

* **end**(): *object*

* **column**: *number*

* **line**: *number*

* **start**(): *object*

* **column**: *number*

* **line**: *number*

___

### ParserMustacheToken
Expand Down Expand Up @@ -62,4 +73,4 @@ ___

### ParserToken

Ƭ **ParserToken**: *[ParserNewLineToken](_contracts_index_.md#parsernewlinetoken) | [ParserRawToken](_contracts_index_.md#parserrawtoken) | [ParserTagToken](_contracts_index_.md#parsertagtoken) | [ParserMustacheToken](_contracts_index_.md#parsermustachetoken)*
Ƭ **ParserToken**: *[ParserNewLineToken](_contracts_index_.md#parsernewlinetoken) | [ParserRawToken](_contracts_index_.md#parserrawtoken) | [ParserTagToken](_contracts_index_.md#parsertagtoken) | [ParserMustacheToken](_contracts_index_.md#parsermustachetoken)*
3 changes: 1 addition & 2 deletions docs/modules/_edgebuffer_index_.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

# External module: "EdgeBuffer/index"


## Index

### Classes

* [EdgeBuffer](../classes/_edgebuffer_index_.edgebuffer.md)
* [EdgeBuffer](../classes/_edgebuffer_index_.edgebuffer.md)
108 changes: 108 additions & 0 deletions docs/modules/_expressions_index_.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,112 @@

# External module: "Expressions/index"

## Index

### References

* [ArrayExpression](_expressions_index_.md#arrayexpression)
* [ArrowFunctionExpression](_expressions_index_.md#arrowfunctionexpression)
* [AssignmentExpression](_expressions_index_.md#assignmentexpression)
* [BinaryExpression](_expressions_index_.md#binaryexpression)
* [CallExpression](_expressions_index_.md#callexpression)
* [ConditionalExpression](_expressions_index_.md#conditionalexpression)
* [ExpressionStatement](_expressions_index_.md#expressionstatement)
* [Identifier](_expressions_index_.md#identifier)
* [Literal](_expressions_index_.md#literal)
* [LogicalExpression](_expressions_index_.md#logicalexpression)
* [MemberExpression](_expressions_index_.md#memberexpression)
* [ObjectExpression](_expressions_index_.md#objectexpression)
* [SequenceExpression](_expressions_index_.md#sequenceexpression)
* [TemplateLiteral](_expressions_index_.md#templateliteral)
* [UnaryExpression](_expressions_index_.md#unaryexpression)

## References

### ArrayExpression

**ArrayExpression**:

___

### ArrowFunctionExpression

**ArrowFunctionExpression**:

___

### AssignmentExpression

**AssignmentExpression**:

___

### BinaryExpression

**BinaryExpression**:

___

### CallExpression

**CallExpression**:

___

### ConditionalExpression

**ConditionalExpression**:

___

### ExpressionStatement

**ExpressionStatement**:

___

### Identifier

**Identifier**:

___

### Literal

**Literal**:

___

### LogicalExpression

**LogicalExpression**:

___

### MemberExpression

**MemberExpression**:

___

### ObjectExpression

**ObjectExpression**:

___

### SequenceExpression

**SequenceExpression**:

___

### TemplateLiteral

**TemplateLiteral**:

___

### UnaryExpression

**UnaryExpression**:
3 changes: 1 addition & 2 deletions docs/modules/_parser_index_.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

# External module: "Parser/index"


## Index

### Classes

* [Parser](../classes/_parser_index_.parser.md)
* [Parser](../classes/_parser_index_.parser.md)
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.1.1",
"version": "2.1.2",
"description": "Parser for edge template engine",
"main": "build/index.js",
"files": [
Expand Down

0 comments on commit 1bb28bf

Please sign in to comment.