Packages

class UrlParser extends Parser with UriParser

Linear Supertypes
UriParser, Parser, RuleDSL, RuleDSLActions, RuleDSLCombinators, RuleDSLBasics, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UrlParser
  2. UriParser
  3. Parser
  4. RuleDSL
  5. RuleDSLActions
  6. RuleDSLCombinators
  7. RuleDSLBasics
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UrlParser(input: ParserInput)(implicit conf: UriConfig = UriConfig.default)

Type Members

  1. sealed trait ActionOperator[I <: HList, O <: HList, Ops] extends AnyRef
    Definition Classes
    RuleDSLActions
  2. sealed trait CharRangeSupport extends AnyRef
    Definition Classes
    RuleDSLBasics
  3. sealed trait NTimes extends AnyRef
    Definition Classes
    RuleDSLCombinators
  4. class TracingBubbleException extends RuntimeException with NoStackTrace
    Definition Classes
    Parser
  5. trait WithSeparatedBy[I <: HList, O <: HList] extends AnyRef
    Definition Classes
    RuleDSLCombinators
  6. class __SubParserInput extends ParserInput
    Attributes
    protected
    Definition Classes
    Parser

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(r: Rule[_, _]): Rule0
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `&` must be inside `rule` macro")
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def ANY: Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `ANY` must be inside `rule` macro")
  6. def EOI: Char
    Definition Classes
    RuleDSLBasics
  7. def MATCH: Rule0
    Definition Classes
    RuleDSLBasics
  8. def MISMATCH[I <: HList, O <: HList]: Rule[I, O]
    Definition Classes
    RuleDSLBasics
  9. def MISMATCH0: Rule0
    Definition Classes
    RuleDSLBasics
  10. def __advance(): Boolean
    Definition Classes
    Parser
  11. def __bubbleUp(prefix: List[NonTerminal], terminal: Terminal): Nothing
    Definition Classes
    Parser
  12. def __bubbleUp(terminal: Terminal): Nothing
    Definition Classes
    Parser
  13. def __enterAtomic(start: Int): Boolean
    Definition Classes
    Parser
  14. def __enterNotPredicate(): AnyRef
    Definition Classes
    Parser
  15. def __enterQuiet(): Int
    Definition Classes
    Parser
  16. def __exitAtomic(saved: Boolean): Unit
    Definition Classes
    Parser
  17. def __exitNotPredicate(saved: AnyRef): Unit
    Definition Classes
    Parser
  18. def __exitQuiet(saved: Int): Unit
    Definition Classes
    Parser
  19. def __hardFail(expected: String): Nothing
    Definition Classes
    Parser
  20. def __inErrorAnalysis: Boolean
    Definition Classes
    Parser
  21. final def __matchAnyOf(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  22. final def __matchIgnoreCaseString(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  23. final def __matchIgnoreCaseStringWrapped(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  24. def __matchMap(m: Map[String, Any], ignoreCase: Boolean): Boolean
    Definition Classes
    Parser
  25. def __matchMapWrapped(m: Map[String, Any], ignoreCase: Boolean): Boolean
    Definition Classes
    Parser
  26. final def __matchNoneOf(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  27. final def __matchString(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  28. final def __matchStringWrapped(string: String, ix: Int): Boolean
    Definition Classes
    Parser
    Annotations
    @tailrec()
  29. def __push(value: Any): Boolean
    Definition Classes
    Parser
  30. def __registerMismatch(): Boolean
    Definition Classes
    Parser
  31. def __restoreState(mark: Mark): Unit
    Definition Classes
    Parser
  32. def __run[L <: HList](rule: => RuleN[L])(implicit scheme: DeliveryScheme[L]): Result
    Definition Classes
    Parser
  33. def __saveState: Mark
    Definition Classes
    Parser
  34. def __updateMaxCursor(): Boolean
    Definition Classes
    Parser
  35. def _abs_url: Rule1[AbsoluteUrl]
  36. def _authority: Rule1[Authority]
  37. def _domain_name: Rule1[DomainName]
  38. def _fragment: Rule1[String]
  39. def _full_ip_v6: Rule1[IpV6]
  40. def _host: Rule1[Host]
  41. val _host_end: String
  42. def _host_in_authority: Rule1[Host]
  43. def _int(maxLength: Int): Rule1[Int]
  44. def _ip_in_url_end: Rule0

    To ensure that hosts that begin with an IP but have further leading characters are not matched as IPs, we need to anchor the tail end to a character that signals the end of the host.

    To ensure that hosts that begin with an IP but have further leading characters are not matched as IPs, we need to anchor the tail end to a character that signals the end of the host. E.g.

    The host in the URL http://1.2.3.4.blah/ should be DomainName(1.2.3.4.blah), not IPv4(1.2.3.4)

  45. def _ip_v4: Rule1[IpV4]
  46. def _ip_v6: Rule1[IpV6]
  47. def _ip_v6_hex_piece: Rule1[String]
  48. def _ip_v6_hex_pieces: Rule1[Seq[String]]
  49. def _ip_v6_with_eluded: Rule1[IpV6]
  50. def _maybe_query_string: Rule1[QueryString]
  51. def _octet: Rule1[Int]
  52. val _p_char: CharPredicate
    Definition Classes
    UriParser
  53. def _path: Rule1[UrlPath]

    A sequence of path parts optionally starting with a slash

  54. def _path_for_authority: Rule1[AbsoluteOrEmptyPath]

    A sequence of path parts that MUST start with a slash

    A sequence of path parts that MUST start with a slash

    If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character.

  55. def _path_segment: Rule1[String]
  56. val _pct_encoded: CharPredicate
    Definition Classes
    UriParser
  57. def _port: Rule1[Int]
  58. def _protocol_rel_url: Rule1[ProtocolRelativeUrl]
  59. def _query_param: Rule1[(String, Some[String])]
  60. def _query_param_or_tok: Rule1[(String, Option[String])]
  61. def _query_string: Rule1[QueryString]
  62. def _query_tok: Rule1[(String, None.type)]
  63. def _rel_url: Rule1[RelativeUrl]
  64. def _scheme: Rule1[String]
  65. val _sub_delims: CharPredicate
    Definition Classes
    UriParser
  66. val _unreserved: CharPredicate
    Definition Classes
    UriParser
  67. def _url: Rule1[Url]
  68. def _url_with_authority: Rule1[UrlWithAuthority]
  69. def _url_without_authority: Rule1[UrlWithoutAuthority]
  70. def _user_info: Rule1[UserInfo]
  71. def anyOf(chars: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `anyOf` must be inside `rule` macro")
  72. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  73. def atomic[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `atomic` must be inside `rule` macro")
  74. def capture[I <: HList, O <: HList](r: Rule[I, O])(implicit p: Prepend[O, ::[String, HNil]]): Rule[I, Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly("Calls to `capture` must be inside `rule` macro")
  75. implicit def ch(c: Char): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `ch` must be inside `rule` macro")
  76. def charAt(offset: Int): Char
    Definition Classes
    Parser
  77. def charAtRC(offset: Int): Char
    Definition Classes
    Parser
  78. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  79. def copyStateFrom(other: Parser, offset: Int): Unit
    Definition Classes
    Parser
  80. def cursor: Int
    Definition Classes
    Parser
  81. def cursorChar: Char
    Definition Classes
    Parser
  82. def drop[T](implicit h: HListable[T]): PopRule[Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly("Calls to `drop` must be inside `rule` macro")
  83. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  85. def errorTraceCollectionLimit: Int
    Definition Classes
    Parser
  86. val extractAbsOrEmptyPath: (Seq[String]) => AbsoluteOrEmptyPath
  87. val extractAbsoluteUrl: (String, Authority, AbsoluteOrEmptyPath, QueryString, Option[String]) => AbsoluteUrl
  88. val extractAuthority: (Option[UserInfo], Host, Option[Int]) => Authority
  89. val extractDomainName: (String) => DomainName
  90. val extractFragment: (String) => String
  91. val extractFullIpv6: (Seq[String]) => IpV6
  92. val extractHexToInt: (String) => Int
  93. val extractInt: (String) => Int
  94. val extractIpv4: (Int, Int, Int, Int) => IpV4
  95. val extractIpv6WithEluded: (Seq[String], Seq[String]) => IpV6
  96. val extractPathPart: (String) => String
  97. val extractProtocolRelativeUrl: (Authority, AbsoluteOrEmptyPath, QueryString, Option[String]) => ProtocolRelativeUrl
  98. val extractQueryString: (Seq[(String, Option[String])]) => QueryString
  99. val extractRelPath: (String, Seq[String]) => UrlPath
  100. val extractRelativeUrl: (UrlPath, QueryString, Option[String]) => RelativeUrl
  101. val extractTok: (String) => (String, None.type)
  102. val extractTuple: (String, String) => (String, Some[String])
  103. val extractUrlWithoutAuthority: (String, UrlPath, QueryString, Option[String]) => UrlWithoutAuthority
  104. val extractUserInfo: (String, Option[String]) => UserInfo
  105. def fail(expected: String): Rule0
    Definition Classes
    RuleDSLBasics
  106. def failX[I <: HList, O <: HList](expected: String): Rule[I, O]
    Definition Classes
    RuleDSLBasics
  107. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  108. def formatError(error: ParseError, formatter: ErrorFormatter): String
    Definition Classes
    Parser
  109. def fragmentDecoder: UriDecoder
  110. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  111. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  112. def ignoreCase(s: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `ignoreCase` must be inside `rule` macro")
  113. def ignoreCase(c: Char): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `ignoreCase` must be inside `rule` macro")
  114. val input: ParserInput
    Definition Classes
    UrlParser → Parser
  115. implicit def int2NTimes(i: Int): NTimes
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `int2NTimes` must be inside `rule` macro")
  116. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  117. def lastChar: Char
    Definition Classes
    Parser
  118. macro def namedRule[I <: HList, O <: HList](name: String)(r: Rule[I, O]): Rule[I, O]
    Definition Classes
    Parser
  119. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  120. def noneOf(chars: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `noneOf` must be inside `rule` macro")
  121. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  122. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  123. def oneOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[In, StrictOut] with Repeated
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `oneOrMore` must be inside `rule` macro")
  124. def optional[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Option, I, O]): Rule[In, OptionalOut]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `optional` must be inside `rule` macro")
  125. def parseAbsoluteUrl(): Try[AbsoluteUrl]
  126. def parseAuthority(): Try[Authority]
  127. def parseDomainName(): Try[DomainName]
  128. def parseHost(): Try[Host]
  129. def parseIpV4(): Try[IpV4]
  130. def parseIpV6(): Try[IpV6]
  131. def parsePath(): Try[UrlPath]
  132. def parseProtocolRelativeUrl(): Try[ProtocolRelativeUrl]
  133. def parseQuery(): Try[QueryString]
  134. def parseQueryParam(): Try[(String, Option[String])]
  135. def parseRelativeUrl(): Try[RelativeUrl]
  136. def parseUrl(): Try[Url]
  137. def parseUrlWithAuthority(): Try[UrlWithAuthority]
  138. def parseUrlWithoutAuthority(): Try[UrlWithoutAuthority]
  139. def parseUserInfo(): Try[UserInfo]
  140. def pathDecoder: UriDecoder
  141. implicit def predicate(p: CharPredicate): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `predicate` must be inside `rule` macro")
  142. def push[T](value: T)(implicit h: HListable[T]): RuleN[Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly("Calls to `push` must be inside `rule` macro")
  143. def queryDecoder: UriDecoder
  144. def quiet[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `atomic` must be inside `rule` macro")
  145. implicit def range2NTimes(range: Range): NTimes
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `range2NTimes` must be inside `rule` macro")
  146. macro def rule[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]
    Definition Classes
    Parser
  147. implicit def rule2ActionOperator[I <: HList, O <: HList](r: Rule[I, O])(implicit ops: ActionOps[I, O]): ActionOperator[I, O, Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly("Calls to `rule2ActionOperator` must be inside `rule` macro")
  148. implicit def rule2WithSeparatedBy[I <: HList, O <: HList](r: Rule[I, O] with Repeated): WithSeparatedBy[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `rule2WithSeparatedBy` constructor must be inside `rule` macro")
  149. def run[T](arg: T)(implicit rr: RunResult[T]): Out
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly("Calls to `run` must be inside `rule` macro")
  150. def runSubParser[I <: HList, O <: HList](f: (ParserInput) => Rule[I, O]): Rule[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `runSubParser` must be inside `rule` macro")
  151. implicit def str(s: String): Rule0
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `str` must be inside `rule` macro")
  152. implicit def str2CharRangeSupport(s: String): CharRangeSupport
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `str2CharRangeSupport` must be inside `rule` macro")
  153. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  154. def test(condition: Boolean): Rule0
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly("Calls to `test` must be inside `rule` macro")
  155. def toString(): String
    Definition Classes
    AnyRef → Any
  156. def valueMap[T](m: Map[String, T], ignoreCase: Boolean)(implicit h: HListable[T]): RuleN[Out]
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `valueMap` must be inside `rule` macro")
  157. implicit def valueMap[T](m: Map[String, T])(implicit h: HListable[T]): RuleN[Out]
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly("Calls to `valueMap` must be inside `rule` macro")
  158. def valueStack: ValueStack
    Definition Classes
    Parser
  159. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  160. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  161. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  162. def zeroOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[In, OptionalOut] with Repeated
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly("Calls to `zeroOrMore` must be inside `rule` macro")

Inherited from UriParser

Inherited from Parser

Inherited from RuleDSL

Inherited from RuleDSLActions

Inherited from RuleDSLCombinators

Inherited from RuleDSLBasics

Inherited from AnyRef

Inherited from Any

Ungrouped