Skip to main content
Module

x/frugal/doc/dep/marked.ts>Lexer._Lexer

A frugal web framework
Latest
class Lexer._Lexer
import { Lexer } from "https://deno.land/x/frugal@0.9.6/doc/dep/marked.ts";
const { _Lexer } = Lexer;

Block Lexer

Constructors

new
_Lexer(options?: MarkedOptions)

Properties

private
inlineQueue
private
tokenizer
options: MarkedOptions
state: { inLink: boolean; inRawBlock: boolean; top: boolean; }
tokens: TokensList

Methods

blockTokens(src: string, tokens?: Token[]): Token[]

Lexing

blockTokens(src: string, tokens?: TokensList): TokensList
inline(src: string, tokens?: Token[]): Token[]
inlineTokens(src: string, tokens?: Token[]): Token[]

Lexing/Compiling

lex(src: string): TokensList

Preprocessing

Static Properties

readonly
rules: Rules

Expose Rules

Static Methods

lex(src: string, options?: MarkedOptions): TokensList

Static Lex Method

lexInline(src: string, options?: MarkedOptions): Token[]

Static Lex Inline Method