trait PatternContextSensitive extends AnyRef
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.
- Source
- Parsers.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PatternContextSensitive
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
argType(): Global.Tree
ArgType ::= Type
- abstract def functionArgType(): Global.Tree
Concrete Value Members
-
def
annotType(): Global.Tree
AnnotType ::= SimpleType {Annotation}
-
def
compoundType(): Global.Tree
CompoundType ::= AnnotType {with AnnotType} [Refinement] | Refinement
- def compoundTypeRest(t: Global.Tree): Global.Tree
- def functionTypes(): List[Global.Tree]
-
def
infixType(mode: InfixMode.Value): Global.Tree
InfixType ::= CompoundType {id [nl] CompoundType}
- def infixTypeRest(t: Global.Tree, mode: InfixMode.Value): Global.Tree
-
def
simpleType(): Global.Tree
SimpleType ::= SimpleType TypeArgs | SimpleType `#' Id | StableId | Path `.' type | `(' Types `)' | WildcardType
- def simpleTypeRest(t: Global.Tree): Global.Tree
-
def
typ(): Global.Tree
Type ::= InfixType `=>' Type | `(' [`=>' Type] `)' `=>' Type | InfixType [ExistentialClause] ExistentialClause ::= forSome `{' ExistentialDcl {semi ExistentialDcl}} `}' ExistentialDcl ::= type TypeDcl | val ValDcl
-
def
typeArgs(): List[Global.Tree]
TypeArgs ::= `[' ArgType {`,' ArgType} `]'
-
def
types(): List[Global.Tree]
Types ::= Type {`,' Type}
The Scala compiler and reflection APIs.