Create a new BlockPath object via a path string, other BlockPath object, or array of tokens.
The BlockPath input data.
An optional ErrorLocation object for more detailed error reporting.
Get the parsed attribute name of this Block Path and return the AttrInfo
Get the parsed block name of this Block Path
Get the parsed class name of this Block Path
Get the parsed Style path of this Block Path
Used by tokenize
to insert a newly constructed token.
The token to insert.
Return a new BlockPath without the parent-most token.
Return a new BlockPath without the child-most token.
Throw a new BlockPathError with the given message.
The error message.
Return a pretty-printed formatted Block Path string from the tokenized data.
Given a Block Path string, convert it into tokens. Throw with a helpful error if we encounter invalid Block Path syntax.
Generated using TypeDoc
Parser and container object for Block Path data.