NgLexer class

Separates an Angular template into a series of lexical tokens.

Example use

const NgLexer().tokenize('<div>Hello World!</div>');

Constructors

NgLexer()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tokenize(String template, ExceptionHandler exceptionHandler) Iterable<NgToken>
Return a series of tokens by incrementally scanning template.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited