IsWithPred

scala.meta.internal.parsers.Keywords.IsWithPred
abstract class IsWithPred(isEnabled: Boolean, pred: String => Boolean) extends Token => Boolean

Attributes

Graph
Supertypes
trait Token => Boolean
class Object
trait Matchable
class Any
Known subtypes
class IsWithName
object PatAlt
object Star
object KwAs
object KwDerives
object KwEnd
object KwErased
object KwExtension
object KwInfix
object KwInline
object KwInto
object KwOpaque
object KwOpen
object KwTracked
object KwTransparent
object KwUsing
object StarSplice
class NotWithName
object NotPatAlt
Show all

Members list

Value members

Concrete methods

final def apply(token: Ident): Boolean
final def apply(token: Token): Boolean
final def matches(token: Ident): Boolean
final def matches(token: Token): Boolean
final def unapply(value: String): Boolean
final def unapply(token: Ident): Boolean
final def unapply(token: Token): Boolean

Inherited methods

def andThen[A](g: Boolean => A): Token => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Token): A => Boolean

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1