object HexIntNumber extends NumberMatcher[Int]
A PathMatcher that efficiently matches a number of hex-digits and extracts their (non-negative) Int value. The matcher will not match 0 digits or a sequence of digits that would represent an Int value larger than Int.MaxValue.
- Source
- PathMatcher.scala
- Alphabetic
- By Inheritance
- HexIntNumber
- NumberMatcher
- PathMatcher
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
/[R](other: PathMatcher[R])(implicit join: Join[(Int), R]): PathMatcher[Out]
- Definition Classes
- PathMatcher
-
def
/: PathMatcher[(Int)]
- Definition Classes
- PathMatcher
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (Matching[(Int)]) ⇒ A): (Path) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(path: Path): Matching[(Int)]
- Definition Classes
- NumberMatcher → Function1
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[A](g: (A) ⇒ Path): (A) ⇒ Matching[(Int)]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
ev: Tuple[(Int)]
- Definition Classes
- PathMatcher
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromChar(c: Char): Int
- Definition Classes
- HexIntNumber → NumberMatcher
-
def
fromDecimalChar(c: Char): Int
- Definition Classes
- NumberMatcher
-
def
fromHexChar(c: Char): Int
- Definition Classes
- NumberMatcher
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
maxDivBase: Int
- Definition Classes
- NumberMatcher
-
val
minusOne: Int
- Definition Classes
- NumberMatcher
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
repeat(min: Int, max: Int, separator: PathMatcher0 = PathMatchers.Neutral)(implicit lift: Lift[(Int), List]): PathMatcher[Out]
Turns this
PathMatcher
into one that matches a number of times (with the given separator) and potentially extracts aList
of the underlying matcher's extractions.Turns this
PathMatcher
into one that matches a number of times (with the given separator) and potentially extracts aList
of the underlying matcher's extractions. If less thanmin
applications of the underlying matcher have succeeded the produced matcher fails, otherwise it matches up to the givenmax
number of applications. Note that it won't fail even if more thanmax
applications could succeed! The "surplus" path elements will simply be left unmatched.The result type depends on the type of the underlying matcher:
If a `matcher` is of type then `matcher.repeat(...)` is of type `PathMatcher0` `PathMatcher0` `PathMatcher1[T]` `PathMatcher1[List[T]` `PathMatcher[L :Tuple]` `PathMatcher[List[L]]` - Definition Classes
- PathMatcher
-
def
repeat(count: Int, separator: PathMatcher0)(implicit lift: Lift[(Int), List]): PathMatcher[Out]
Same as
repeat(min = count, max = count, separator = separator)
.Same as
repeat(min = count, max = count, separator = separator)
.- Definition Classes
- PathMatcher
-
def
repeat(count: Int)(implicit lift: Lift[(Int), List]): PathMatcher[Out]
Same as
repeat(min = count, max = count)
.Same as
repeat(min = count, max = count)
.- Definition Classes
- PathMatcher
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tflatMap[R](f: ((Int)) ⇒ Option[R])(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
tmap[R](f: ((Int)) ⇒ R)(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
def
transform[R](f: (Matching[(Int)]) ⇒ Matching[R])(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
unary_!(): PathMatcher0
- Definition Classes
- PathMatcher
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
|[R >: (Int)](other: PathMatcher[_ <: R])(implicit arg0: Tuple[R]): PathMatcher[R]
- Definition Classes
- PathMatcher
-
def
~[R](other: PathMatcher[R])(implicit join: Join[(Int), R]): PathMatcher[Out]
- Definition Classes
- PathMatcher