scala.tools.nsc.ast.parser.Parsers.Parser

SeqContextSensitive

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
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SeqContextSensitive
  2. PatternContextSensitive
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def isSequenceOK: Boolean

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (SeqContextSensitive, B)

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to ArrowAssoc[SeqContextSensitive] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def annotType(): Global.Tree

    AnnotType        ::=  SimpleType {Annotation}
    Definition Classes
    PatternContextSensitive
  9. def argType(): Global.Tree

    ArgType       ::=  Type
    Definition Classes
    SeqContextSensitivePatternContextSensitive
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def badPattern3(): Global.Tree

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def compoundType(): Global.Tree

    CompoundType ::= AnnotType {with AnnotType} [Refinement]
    |  Refinement
    Definition Classes
    PatternContextSensitive
  14. def compoundTypeRest(t: Global.Tree): Global.Tree

    Definition Classes
    PatternContextSensitive
  15. def ensuring(cond: (SeqContextSensitive) ⇒ Boolean, msg: ⇒ Any): SeqContextSensitive

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (SeqContextSensitive) ⇒ Boolean): SeqContextSensitive

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): SeqContextSensitive

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): SeqContextSensitive

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. def functionArgType(): Global.Tree

  24. def functionTypes(): List[Global.Tree]

    Definition Classes
    PatternContextSensitive
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def infixType(mode: InfixMode.Value): Global.Tree

    InfixType ::= CompoundType {id [nl] CompoundType}
    Definition Classes
    PatternContextSensitive
  28. def infixTypeRest(t: Global.Tree, mode: InfixMode.Value): Global.Tree

    Definition Classes
    PatternContextSensitive
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def isXML: Boolean

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def pattern(): Global.Tree

    Pattern  ::=  Pattern1 { `|' Pattern1 }
    SeqPattern ::= SeqPattern1 { `|' SeqPattern1 }
  35. def pattern1(): Global.Tree

    Pattern1    ::= varid `:' TypePat
                  |  `_' `:' TypePat
                  |  Pattern2
    SeqPattern1 ::= varid `:' TypePat
                  |  `_' `:' TypePat
                  |  [SeqPattern2]
  36. def pattern2(): Global.Tree

    Pattern2    ::=  varid [ @ Pattern3 ]
                  |   Pattern3
    SeqPattern2 ::=  varid [ @ SeqPattern3 ]
                  |   SeqPattern3
  37. def pattern3(): Global.Tree

    Pattern3    ::= SimplePattern
    |  SimplePattern {Id [nl] SimplePattern}
  38. def patterns(): List[Global.Tree]

    Patterns ::= Pattern { `,' Pattern }
    SeqPatterns ::= SeqPattern { `,' SeqPattern }
  39. def simplePattern(onError: () ⇒ Global.Tree): Global.Tree

  40. def simplePattern(): Global.Tree

    SimplePattern    ::= varid
    |  `_'
    |  literal
    |  XmlPattern
    |  StableId  /[TypeArgs]/ [`(' [Patterns] `)']
    |  StableId  [`(' [Patterns] `)']
    |  StableId  [`(' [Patterns] `,' [varid `@'] `_' `*' `)']
    |  `(' [Patterns] `)'

    XXX: Hook for IDE

  41. def simpleType(): Global.Tree

    SimpleType       ::=  SimpleType TypeArgs
    |  SimpleType `#' Id
    |  StableId
    |  Path `.' type
    |  `(' Types `)'
    |  WildcardType
    Definition Classes
    PatternContextSensitive
  42. def simpleTypeRest(t: Global.Tree): Global.Tree

    Definition Classes
    PatternContextSensitive
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. def typ(): Global.Tree

    Type ::= InfixType `=>' Type
           | `(' [`=>' Type] `)' `=>' Type
           | InfixType [ExistentialClause]
    ExistentialClause ::= forSome `{' ExistentialDcl {semi ExistentialDcl}} `}'
    ExistentialDcl    ::= type TypeDcl | val ValDcl
    Definition Classes
    PatternContextSensitive
  46. def typeArgs(): List[Global.Tree]

    TypeArgs    ::= `[' ArgType {`,' ArgType} `]'
    Definition Classes
    PatternContextSensitive
  47. def types(): List[Global.Tree]

    Types ::= Type {`,' Type}
    Definition Classes
    PatternContextSensitive
  48. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  50. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  51. def [B](y: B): (SeqContextSensitive, B)

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to ArrowAssoc[SeqContextSensitive] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (seqContextSensitive: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (seqContextSensitive: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SeqContextSensitive

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to ArrowAssoc[SeqContextSensitive] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (seqContextSensitive: ArrowAssoc[SeqContextSensitive]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SeqContextSensitive

    Implicit information
    This member is added by an implicit conversion from SeqContextSensitive to Ensuring[SeqContextSensitive] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (seqContextSensitive: Ensuring[SeqContextSensitive]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from PatternContextSensitive

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SeqContextSensitive to StringAdd

Inherited by implicit conversion any2stringfmt from SeqContextSensitive to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SeqContextSensitive to ArrowAssoc[SeqContextSensitive]

Inherited by implicit conversion any2Ensuring from SeqContextSensitive to Ensuring[SeqContextSensitive]

Ungrouped