CharSet
Attributes
- Source
- CharSet.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CharSet.type
Members list
Type members
Classlikes
Attributes
- Source
- CharSet.scala
- Supertypes
- Self type
Attributes
- Source
- CharSet.scala
- Supertypes
- Self type
-
given_ToExpr_CharSet.type
Value members
Concrete methods
Builds a normalized CharSet from arbitrary (possibly overlapping) ranges.
Builds a normalized CharSet from arbitrary (possibly overlapping) ranges.
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Lifts an already-normalized ArraySeq of ranges into a CharSet.
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Concrete fields
Attributes
- Source
- CharSet.scala
What . matches in Java regex without DOTALL flag — all code points except line terminators.
What . matches in Java regex without DOTALL flag — all code points except line terminators.
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Upper bound used for complement. Covers all valid Unicode code points.
Upper bound used for complement. Covers all valid Unicode code points.
Attributes
- Source
- CharSet.scala
Givens
Extensions
Extensions
Same reasoning as | above - SeqOps also inherits an intersect (multiset intersection by element equality, not numeric overlap).
Same reasoning as | above - SeqOps also inherits an intersect (multiset intersection by element equality, not numeric overlap).
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
Attributes
- Source
- CharSet.scala
cs.union(other) here would make the compiler's overload search also consider (and silently bind to instead of union above) the inherited, deprecated SeqOps.union - CharSet is transparently ArraySeq[Range] in this defining scope. Renaming the import forces resolution to this union specifically, since unionRenamed has nothing else to collide with. @nowarn on the whole method (rather than the import line itself, which doesn't accept annotations) silences the resulting - and, here, incorrect - "unused import" warning: the renamed import is used, just via extension-call syntax (cs.unionRenamed(...)) the unused-import checker doesn't recognize as a use.
cs.union(other) here would make the compiler's overload search also consider (and silently bind to instead of union above) the inherited, deprecated SeqOps.union - CharSet is transparently ArraySeq[Range] in this defining scope. Renaming the import forces resolution to this union specifically, since unionRenamed has nothing else to collide with. @nowarn on the whole method (rather than the import line itself, which doesn't accept annotations) silences the resulting - and, here, incorrect - "unused import" warning: the renamed import is used, just via extension-call syntax (cs.unionRenamed(...)) the unused-import checker doesn't recognize as a use.
Attributes
- Source
- CharSet.scala