Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITokenConfig

Hierarchy

  • ITokenConfig

Index

Properties

Optional categories

categories: TokenType | TokenType[]

Optional group

group: string | any

Optional label

label: string

Optional line_breaks

line_breaks: boolean

Can a String matching this token's pattern possibly contain a line terminator? If true and the line_breaks property is not also true this will cause inaccuracies in the Lexer's line / column tracking.

Optional longer_alt

longer_alt: TokenType

name

name: string

Optional pattern

pattern: RegExp | CustomPatternMatcherFunc | ICustomPattern | string

Optional pop_mode

pop_mode: boolean

Optional push_mode

push_mode: string

Generated using TypeDoc