Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Web

Hierarchy

Implements

Index

Constructors

constructor

  • new Web(path: string): Web

Properties

environment

environment: Environment = ...

exports

exports: Map<string, EnvStore> = ...

path

path: string

visitDestructureExpr

visitDestructureExpr: (expr: DestructureExpr) => Promise<string | number | boolean>

Type declaration

Methods

convert

  • convert(token: PageStmt): Promise<string>

Private destructureImport

  • destructureImport(__namedParameters: { contents: string; filePath: string; loader: ILoader; rawPath: string; stmt: ImportStmt }): Promise<void>

evaluate

Protected evaluateBinaryExpr

  • evaluateBinaryExpr(expr: BinaryExpr): Promise<string | number | boolean>

Protected isEqual

Protected isTruthy

visitArrayExpr

visitBinaryExpr

  • visitBinaryExpr(expr: BinaryExpr): Promise<string | number | boolean>

visitComponentStmt

visitExportStmt

  • visitExportStmt(stmt: ExportStmt): Promise<string>

visitExpressionStmt

visitForStmt

  • visitForStmt(stmt: ForStmt): Promise<string>

visitGroupingExpr

visitIdentifierExpr

  • visitIdentifierExpr(expr: IdentifierExpr): Promise<string | number | boolean>

visitIfStmt

  • visitIfStmt(stmt: IfStmt): Promise<string>

visitImportStmt

  • visitImportStmt(stmt: ImportStmt): Promise<string>

visitLiteralExpr

  • visitLiteralExpr(expr: LiteralExpr): Promise<string | number | boolean>

visitMemlPropertiesExpr

visitMemlStmt

  • visitMemlStmt(stmt: MemlStmt): Promise<string>

visitPageStmt

  • visitPageStmt(stmt: PageStmt): Promise<string>

visitUnaryExpr

  • visitUnaryExpr(expr: UnaryExpr): Promise<number | boolean>

Generated using TypeDoc