RegionWhile

scala.meta.internal.parsers.RegionWhile
See theRegionWhile companion object
sealed trait RegionWhile extends RegionControl

Attributes

Companion
object
Graph
Supertypes
trait CanProduceLF
trait SepRegion
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def isControlKeyword(token: Token): Boolean
def isTerminatingToken(token: Token): Boolean

Inherited methods

def indent: Int

Attributes

Inherited from:
SepRegion
final override def isIndented: Boolean

Attributes

Definition Classes
Inherited from:
SepRegionNonIndented
final def isNotTerminatingTokenIfOptional(token: Token): Boolean

In cases when we encounter a terminating token, the control region is completed.

In cases when we encounter a terminating token, the control region is completed.

However, in cases when it's optional, some other token could also possibly terminate the control region, and this method allows dealing with that special case.

Attributes

Inherited from:
RegionControl

Inherited and Abstract methods

Attributes

Inherited from:
RegionControl