Options
All
  • Public
  • Public/Protected
  • All
Menu

Track depth of curlies and parentheses in C family languages

Hierarchy

Implements

Index

Constructors

constructor

Properties

depth

depth: number

Private factory

factory: function

Type declaration

Private kind

kind: "block" | "parens"

Private pop

pop: string

Private push

push: string

state

state: LangState

Private stateMachine

stateMachine: LangStateMachine

Methods

clone

consume

  • consume(char: string): void

read

  • read(s: string): this

Generated using TypeDoc