Class: Tag

Hierarchy

Implements

Constructors

constructor

+ new Tag(token: TagToken, tokens: TopLevelToken[], liquid: Liquid): Tag

Overrides TemplateImpl.constructor

Defined in template/tag/tag.ts:9

Parameters:

Name Type
token TagToken
tokens TopLevelToken[]
liquid Liquid

Returns: Tag

Properties

Private impl

impl: TagImpl

Defined in template/tag/tag.ts:9


name

name: string

Defined in template/tag/tag.ts:8


token

token: TagToken

Implementation of Template.token

Inherited from TemplateImpl.token

Defined in template/template-impl.ts:2

Methods

render

render(ctx: Context, emitter: Emitter): IterableIterator‹any›

Implementation of Template

Defined in template/tag/tag.ts:23

Parameters:

Name Type
ctx Context
emitter Emitter

Returns: IterableIterator‹any›