Options
All
  • Public
  • Public/Protected
  • All
Menu

Parser and container object for Block Path data.

Hierarchy

  • BlockPath

Index

Constructors

constructor

Properties

Private Optional _attribute

_attribute: AttrToken

Private Optional _block

_block: BlockToken

Private Optional _class

_class: ClassToken

Private Optional _location

_location: ErrorLocation

Private _tokens

_tokens: Token[] = []

original

original: string

Private parts

parts: Token[] = []

Private walker

walker: Walker = new Walker()

Accessors

attribute

block

  • get block(): string

class

  • get class(): string

path

  • get path(): string

Methods

Private addToken

  • addToken(token: Partial<Token>, isUserProvided: boolean): void

childPath

parentPath

Private throw

  • throw(msg: string, len?: number): never
  • Throw a new BlockPathError with the given message.

    Parameters

    • msg: string

      The error message.

    • Default value len: number = 0

    Returns never

toString

  • toString(): string

Private tokenize

  • tokenize(): void

tokens

  • tokens(): Iterable<string>

Static Private from

Generated using TypeDoc