SeqContextSensitive

scala.meta.internal.parsers.ScalametaParser.SeqContextSensitive

Methods which implicitly propagate whether the initial call took place in a context where sequences are allowed. Formerly, this was threaded through methods as boolean seqOK.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object noSeq
object seqOK

Members list

Value members

Abstract methods

def isSequenceOK: Boolean

Concrete methods

def badPattern3(tok: Token): Nothing
def entrypointPattern(): Pat
def isNamedTupleOk: Boolean
def pattern(): Pat
def pattern1(isForComprehension: Boolean): Pat
def pattern2(isForComprehension: Boolean): Pat
def pattern3(isForComprehension: Boolean): Pat
def patterns(): List[Pat]
def quasiquotePattern(): Pat
def simplePattern(onError: Token => Nothing, isRhs: Boolean, isForComprehension: Boolean): Pat
def unquotePattern(): Pat

Inherited methods

def annotType(inMatchType: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def annotTypeRest(t: Type, startPos: Int): Type

Attributes

Inherited from:
PatternContextSensitive
def compoundType(inMatchType: Boolean, inGivenSig: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def compoundTypeRest(typ: Type, startPos: Int): Type

Attributes

Inherited from:
PatternContextSensitive
def entrypointType(): Type

Attributes

Inherited from:
PatternContextSensitive
def infixType(inMatchType: Boolean, inGivenSig: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def infixTypeOrTuple(inMatchType: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def paramType(): Type

Attributes

Inherited from:
PatternContextSensitive
def patternTyp(allowInfix: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def patternTypeArgs(): ArgClause

Attributes

Inherited from:
PatternContextSensitive
def quasiquoteType(): Type

Attributes

Inherited from:
PatternContextSensitive
def simpleType(inMatchType: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def typ(inParam: Boolean): Type

Attributes

Inherited from:
PatternContextSensitive
def typeArgsInBrackets(): ArgClause

Attributes

Inherited from:
PatternContextSensitive
def typeBlock(): Type

Attributes

Inherited from:
PatternContextSensitive
def typeIndentedOpt(): Type

Attributes

Inherited from:
PatternContextSensitive
def typesInParens(): List[Type]

Attributes

Inherited from:
PatternContextSensitive