MCPcopy
hub / github.com/handlebars-lang/handlebars.js / Visitor

Class Visitor

types/index.d.ts:151–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 export class Visitor implements ICompiler {
152 accept(node: hbs.AST.Node): void;
153 acceptKey(node: hbs.AST.Node, name: string): void;
154 acceptArray(arr: hbs.AST.Expression[]): void;
155 Program(program: hbs.AST.Program): void;
156 BlockStatement(block: hbs.AST.BlockStatement): void;
157 PartialStatement(partial: hbs.AST.PartialStatement): void;
158 PartialBlockStatement(partial: hbs.AST.PartialBlockStatement): void;
159 DecoratorBlock(decorator: hbs.AST.DecoratorBlock): void;
160 Decorator(decorator: hbs.AST.Decorator): void;
161 MustacheStatement(mustache: hbs.AST.MustacheStatement): void;
162 ContentStatement(content: hbs.AST.ContentStatement): void;
163 CommentStatement(comment?: hbs.AST.CommentStatement): void;
164 SubExpression(sexpr: hbs.AST.SubExpression): void;
165 PathExpression(path: hbs.AST.PathExpression): void;
166 StringLiteral(str: hbs.AST.StringLiteral): void;
167 NumberLiteral(num: hbs.AST.NumberLiteral): void;
168 BooleanLiteral(bool: hbs.AST.BooleanLiteral): void;
169 UndefinedLiteral(): void;
170 NullLiteral(): void;
171 Hash(hash: hbs.AST.Hash): void;
172 }
173
174
175 export interface ResolvePartialOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected