trait SeqContextSensitive extends PatternContextSensitive
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.
- Source
- Parsers.scala
- Alphabetic
- By Inheritance
- SeqContextSensitive
- PatternContextSensitive
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def isSequenceOK: Boolean
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to any2stringadd[SeqContextSensitive] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (SeqContextSensitive, B)
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to ArrowAssoc[SeqContextSensitive] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andType(tpt: Global.Tree): Global.Tree
- Definition Classes
- PatternContextSensitive
-
def
annotType(): Global.Tree
AnnotType ::= SimpleType {Annotation}
- Definition Classes
- PatternContextSensitive
-
def
argType(): Global.Tree
ArgType ::= Type
- Definition Classes
- SeqContextSensitive → PatternContextSensitive
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def badPattern3(): Global.Tree
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compoundType(): Global.Tree
CompoundType ::= AnnotType {with AnnotType} [Refinement] | Refinement
- Definition Classes
- PatternContextSensitive
-
def
compoundTypeRest(t: Global.Tree): Global.Tree
- Definition Classes
- PatternContextSensitive
-
def
ensuring(cond: (SeqContextSensitive) ⇒ Boolean, msg: ⇒ Any): SeqContextSensitive
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (SeqContextSensitive) ⇒ Boolean): SeqContextSensitive
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): SeqContextSensitive
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): SeqContextSensitive
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
functionArgType(): Global.Tree
- Definition Classes
- SeqContextSensitive → PatternContextSensitive
-
def
functionTypes(): List[Global.Tree]
- Definition Classes
- PatternContextSensitive
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
infixType(mode: InfixMode.Value): Global.Tree
InfixType ::= CompoundType {id [nl] CompoundType}
- Definition Classes
- PatternContextSensitive
-
def
infixTypeRest(t: Global.Tree, mode: InfixMode.Value): Global.Tree
- Definition Classes
- PatternContextSensitive
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isXML: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pattern(): Global.Tree
Pattern ::= Pattern1 { `|' Pattern1 } SeqPattern ::= SeqPattern1 { `|' SeqPattern1 }
-
def
pattern1(): Global.Tree
Pattern1 ::= boundvarid `:' TypePat | `_' `:' TypePat | Pattern2 SeqPattern1 ::= boundvarid `:' TypePat | `_' `:' TypePat | [SeqPattern2]
-
def
pattern2(): Global.Tree
Pattern2 ::= id @ Pattern3 | `_' @ Pattern3 | Pattern3
-
def
pattern3(): Global.Tree
Pattern3 ::= SimplePattern | SimplePattern {Id [nl] SimplePattern}
-
def
patterns(): List[Global.Tree]
Patterns ::= Pattern { `,' Pattern } SeqPatterns ::= SeqPattern { `,' SeqPattern }
- def simplePattern(onError: () ⇒ Global.Tree): Global.Tree
-
def
simplePattern(): Global.Tree
SimplePattern ::= varid | `_' | literal | XmlPattern | StableId /[TypeArgs]/ [`(' [Patterns] `)'] | StableId [`(' [Patterns] `)'] | StableId [`(' [Patterns] `,' [varid `@'] `_' `*' `)'] | `(' [Patterns] `)'
XXX: Hook for IDE
-
def
simpleType(): Global.Tree
SimpleType ::= SimpleType TypeArgs | SimpleType `#' Id | StableId | Path `.' type | `(' Types `)' | WildcardType
- Definition Classes
- PatternContextSensitive
-
def
simpleTypeRest(t: Global.Tree): Global.Tree
- Definition Classes
- PatternContextSensitive
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typ(): Global.Tree
Type ::= InfixType `=>' Type | `(' [`=>' Type] `)' `=>' Type | InfixType [ExistentialClause] ExistentialClause ::= forSome `{' ExistentialDcl {semi ExistentialDcl}} `}' ExistentialDcl ::= type TypeDcl | val ValDcl
- Definition Classes
- PatternContextSensitive
-
def
typeArgs(): List[Global.Tree]
TypeArgs ::= `[' ArgType {`,' ArgType} `]'
- Definition Classes
- PatternContextSensitive
-
def
types(): List[Global.Tree]
Types ::= Type {`,' Type}
- Definition Classes
- PatternContextSensitive
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (SeqContextSensitive, B)
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to ArrowAssoc[SeqContextSensitive] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SeqContextSensitive to StringFormat[SeqContextSensitive] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.