Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Lexer

Hierarchy

  • Lexer

Index

Constructors

constructor

Properties

Protected arrowOperator

arrowOperator: [string]

The arrow operator.

Protected commentPair

commentPair: [string, string]

The comment delimiters.

Protected interpolationPair

interpolationPair: [string, string]

The interpolation delimiters.

Protected operators

operators: string[]

The supported operators.

Protected tagPair

tagPair: [string, string]

The tag delimiters.

Protected testOperators

testOperators: [string, string]

The test operators.

Protected variablePair

variablePair: [string, string]

The variable delimiters.

Methods

tokenize

  • tokenize(source: string): Token[]
  • Tokenize a source into a list of tokens.

    Parameters

    • source: string

    Returns Token[]

Generated using TypeDoc