IsWithName

scala.meta.internal.parsers.Keywords.IsWithName
abstract class IsWithName(isEnabled: Boolean, val name: String) extends IsWithPred

Attributes

Graph
Supertypes
class IsWithPred
trait Token => Boolean
class Object
trait Matchable
class Any
Known subtypes
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
Show all

Members list

Value members

Inherited methods

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

Attributes

Inherited from:
Function1
final def apply(token: Token): Boolean

Attributes

Inherited from:
IsWithPred
final def apply(token: Ident): Boolean

Attributes

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

Attributes

Inherited from:
Function1
final def matches(token: Token): Boolean

Attributes

Inherited from:
IsWithPred
final def matches(token: Ident): Boolean

Attributes

Inherited from:
IsWithPred
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
final def unapply(token: Token): Boolean

Attributes

Inherited from:
IsWithPred
final def unapply(token: Ident): Boolean

Attributes

Inherited from:
IsWithPred
final def unapply(value: String): Boolean

Attributes

Inherited from:
IsWithPred

Concrete fields

val name: String