edge-parser
Advanced tools
Comparing version 1.0.11 to 1.0.12
/** | ||
* @module Parser | ||
*/ | ||
import { ITagDefination } from 'edge-lexer/build/src/Contracts'; | ||
import { ITagDefination, IBlockNode } from 'edge-lexer/build/src/Contracts'; | ||
import { Parser } from '../Parser'; | ||
import { EdgeBuffer } from '../EdgeBuffer'; | ||
export interface ITag extends ITagDefination { | ||
new (): any; | ||
compile(parser: Parser, buffer: EdgeBuffer, token: IBlockNode): void; | ||
} | ||
@@ -8,0 +10,0 @@ export declare type ILoc = { |
@@ -116,4 +116,3 @@ "use strict"; | ||
if (token.type === 'block') { | ||
const tagInstance = new this.tags[token.properties.name](); | ||
tagInstance.compile(this, buffer, token); | ||
this.tags[token.properties.name].compile(this, buffer, token); | ||
return; | ||
@@ -120,0 +119,0 @@ } |
@@ -0,1 +1,6 @@ | ||
<a name="1.0.12"></a> | ||
## [1.0.12](https://github.com/poppinss/edge-parser/compare/v1.0.11...v1.0.12) (2018-07-09) | ||
<a name="1.0.11"></a> | ||
@@ -2,0 +7,0 @@ ## [1.0.11](https://github.com/poppinss/edge-parser/compare/v1.0.10...v1.0.11) (2018-07-07) |
{ | ||
"name": "edge-parser", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Parser for edge template engine", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34516
849