Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dynablox_opencloud/src/shims/urlpattern/url-pattern-parser.ts>Parser

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
class Parser
import { Parser } from "https://deno.land/x/dynablox_opencloud@v0.2.2/src/shims/urlpattern/url-pattern-parser.ts";

Constructors

new
Parser(input: string)

Properties

private
componentStart: number
private
groupDepth: number
private
hostnameIPv6BracketDepth: number
private
input: string
private
internalResult: URLPatternInit
private
shouldTreatAsStandardURL: boolean
private
state: State
private
tokenIncrement: number
private
tokenIndex: number
private
tokenList: LexToken[]
readonly
result: URLPatternInit

Methods

private
changeState(newState: State, skip: number): void
private
changeStateWithoutSettingComponent(newState: State, skip: number): void
private
isGroupClose(): boolean
private
isGroupOpen(): boolean
private
isHashPrefix(): boolean
private
isIdentityTerminator(): boolean
private
isIPv6Close(): boolean
private
isIPv6Open(): boolean
private
isNonSpecialPatternChar(index: number, value: string): boolean
private
isPasswordPrefix(): boolean
private
isPathnameStart(): boolean
private
isPortPrefix(): boolean
private
isProtocolSuffix(): boolean
private
isSearchPrefix(): boolean
private
makeComponentString(): string
private
nextIsAuthoritySlashes(): boolean
private
rewind(): void
private
rewindAndSetState(newState: State): void
private
safeToken(index: number): LexToken
parse(): void