PatternContextSensitive

scala.meta.internal.parsers.ScalametaParser.PatternContextSensitive

Methods which implicitly propagate the context in which they were called: either in a pattern context or not. Formerly, this was threaded through numerous methods as boolean isPattern.

Attributes

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

Members list

Value members

Concrete methods

def annotType(inMatchType: Boolean): Type
def annotTypeRest(t: Type, startPos: Int): Type
def compoundType(inMatchType: Boolean, inGivenSig: Boolean): Type
def compoundTypeRest(typ: Type, startPos: Int): Type
def entrypointType(): Type
def infixType(inMatchType: Boolean, inGivenSig: Boolean): Type
def infixTypeOrTuple(inMatchType: Boolean): Type
def paramType(): Type
def patternTyp(allowInfix: Boolean, allowImmediateTypevars: Boolean): Type
def patternTypeArgs(): ArgClause
def quasiquoteType(): Type
def simpleType(inMatchType: Boolean): Type
def typ(inParam: Boolean): Type
def typeArgsInBrackets(): ArgClause
def typeBlock(): Type
def typeIndentedOpt(): Type
def typesInParens(): List[Type]