Class/Object

scala.meta.internal.parsers

ScalametaParser

Related Docs: object ScalametaParser | package parsers

Permalink

class ScalametaParser extends AnyRef

Self Type
ScalametaParser
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalametaParser
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalametaParser(input: Input)(implicit dialect: Dialect)

    Permalink

Type Members

  1. trait CanContinueOnNextLine extends AnyRef

    Permalink
  2. trait CanEndStat extends AnyRef

    Permalink
  3. trait CanStartColonEol extends AnyRef

    Permalink
  4. trait CanStartIndent extends AnyRef

    Permalink
  5. trait CantStartStat extends AnyRef

    Permalink
  6. trait CaseDefEnd extends AnyRef

    Permalink
  7. trait CaseIntro extends AnyRef

    Permalink
  8. trait CloseDelim extends AnyRef

    Permalink
  9. trait DclIntro extends AnyRef

    Permalink
  10. trait DefIntro extends AnyRef

    Permalink
  11. trait EndMarkerIntro extends AnyRef

    Permalink
  12. trait EndMarkerWord extends AnyRef

    Permalink
  13. sealed trait EndPos extends AnyRef

    Permalink
  14. trait ExprIntro extends AnyRef

    Permalink
  15. case class IndexPos(index: Int) extends Pos with Product with Serializable

    Permalink
  16. sealed abstract class InfixContext extends AnyRef

    Permalink
  17. trait InlineMatchMod extends AnyRef

    Permalink
  18. class InvalidModCombination[M1 <: Mod, M2 <: Mod] extends AnyRef

    Permalink
  19. trait KwExtension extends AnyRef

    Permalink
  20. class LazyTokenIterator extends TokenIterator

    Permalink
  21. trait LineEnd extends AnyRef

    Permalink
  22. trait Literal extends AnyRef

    Permalink
  23. trait LocalModifier extends AnyRef

    Permalink
  24. trait MacroQuotedIdent extends AnyRef

    Permalink
  25. trait MacroSplicedIdent extends AnyRef

    Permalink
  26. trait Modifier extends AnyRef

    Permalink
  27. trait MultilineComment extends AnyRef

    Permalink
  28. trait NonParamsModifier extends AnyRef

    Permalink
  29. trait NonlocalModifier extends AnyRef

    Permalink
  30. trait NumericLiteral extends AnyRef

    Permalink
  31. trait PatternContextSensitive extends AnyRef

    Permalink

    Methods which implicitly propagate the context in which they were called: either in a pattern context or not.

    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.

  32. sealed trait Pos extends StartPos with EndPos

    Permalink
  33. case class RegionBrace(indent: Int, indentOnArrow: Boolean) extends SepRegion with Product with Serializable

    Permalink
  34. case class RegionCase(indent: Int) extends SepRegion with Product with Serializable

    Permalink
  35. case class RegionEnum(indent: Int) extends SepRegion with Product with Serializable

    Permalink
  36. case class RegionIndent(indent: Int, closeOnNonCase: Boolean) extends SepRegion with Product with Serializable

    Permalink
  37. case class RegionIndentEnum(indent: Int) extends SepRegion with Product with Serializable

    Permalink
  38. case class RegionParen(canProduceLF: Boolean) extends SepRegion with Product with Serializable

    Permalink
  39. sealed trait SepRegion extends AnyRef

    Permalink
  40. trait SeqContextSensitive extends PatternContextSensitive

    Permalink

    Methods which implicitly propagate whether the initial call took place in a context where sequences are allowed.

    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.

  41. trait SoftModifier extends AnyRef

    Permalink
  42. sealed trait StartPos extends AnyRef

    Permalink
  43. trait StatSep extends AnyRef

    Permalink
  44. trait StatSeqEnd extends AnyRef

    Permalink
  45. trait StopScanToken extends AnyRef

    Permalink
  46. trait TemplateIntro extends AnyRef

    Permalink
  47. sealed trait TemplateOwner extends AnyRef

    Permalink
  48. trait TokenIterator extends Iterator[Token]

    Permalink
  49. case class TokenPos(token: Token) extends Pos with Product with Serializable

    Permalink
  50. case class TokenRef(token: Token, pos: Int, nextPos: Int, pointPos: Int) extends Product with Serializable

    Permalink
  51. case class TreePos(tree: Tree) extends Pos with Product with Serializable

    Permalink
  52. trait Trivia extends AnyRef

    Permalink
  53. trait TypeIntro extends AnyRef

    Permalink
  54. trait Whitespace extends AnyRef

    Permalink
  55. implicit class XtensionTokenIndex extends AnyRef

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. object AutoPos extends Pos with Product with Serializable

    Permalink
  7. object CanContinueOnNextLine

    Permalink
  8. object CanEndStat

    Permalink
  9. object CanStartColonEol

    Permalink
  10. object CanStartIndent

    Permalink
  11. object CantStartStat

    Permalink
  12. object CaseDefEnd

    Permalink
  13. object CaseIntro

    Permalink
  14. object CloseDelim

    Permalink
  15. object DclIntro

    Permalink
  16. object DefIntro

    Permalink
  17. object EndMarkerIntro

    Permalink
  18. object EndMarkerWord

    Permalink
  19. object EndPosPreOutdent extends EndPos with Product with Serializable

    Permalink
  20. object ExprIntro

    Permalink
  21. object InlineMatchMod

    Permalink
  22. implicit object InvalidCaseImplicit extends InvalidModCombination[Mod.Case, Implicit]

    Permalink
  23. implicit object InvalidFinalAbstract extends InvalidModCombination[Final, Abstract]

    Permalink
  24. implicit object InvalidFinalSealed extends InvalidModCombination[Final, Sealed]

    Permalink
  25. implicit object InvalidOpenFinal extends InvalidModCombination[Open, Final]

    Permalink
  26. implicit object InvalidOpenSealed extends InvalidModCombination[Open, Sealed]

    Permalink
  27. implicit object InvalidOverrideAbstract extends InvalidModCombination[Override, Abstract]

    Permalink
  28. implicit object InvalidPrivateProtected extends InvalidModCombination[Private, Protected]

    Permalink
  29. implicit object InvalidProtectedPrivate extends InvalidModCombination[Protected, Private]

    Permalink
  30. object KwExtension

    Permalink
  31. object LineEnd

    Permalink
  32. object Literal

    Permalink
  33. object LocalModifier

    Permalink
  34. object MacroQuotedIdent

    Permalink
  35. object MacroSplicedIdent

    Permalink
  36. object Modifier

    Permalink
  37. object MultilineComment

    Permalink
  38. object NonParamsModifier

    Permalink
  39. object NonlocalModifier

    Permalink
  40. object NumericLiteral

    Permalink
  41. object OwnedByCaseClass extends TemplateOwner

    Permalink
  42. object OwnedByClass extends TemplateOwner

    Permalink
  43. object OwnedByEnum extends TemplateOwner

    Permalink
  44. object OwnedByObject extends TemplateOwner

    Permalink
  45. object OwnedByTrait extends TemplateOwner

    Permalink
  46. object RegionArrow extends SepRegion with Product with Serializable

    Permalink
  47. object RegionBracket extends SepRegion with Product with Serializable

    Permalink
  48. object RegionEnumArtificialMark extends SepRegion with Product with Serializable

    Permalink
  49. object SoftModifier

    Permalink
  50. object StartPosPrev extends StartPos with Product with Serializable

    Permalink
  51. object StatSep

    Permalink
  52. object StatSeqEnd

    Permalink
  53. object StopScanToken

    Permalink
  54. object TemplateIntro

    Permalink
  55. object Trivia

    Permalink
  56. object TypeIntro

    Permalink
  57. object Whitespace

    Permalink
  58. def accept[T <: Token](implicit arg0: TokenInfo[T]): Unit

    Permalink

    Consume one token of the specified type, or signal an error if it is not there.

  59. def acceptOpt[T <: Token](implicit arg0: TokenInfo[T]): Unit

    Permalink

    If current token is T consume it.

  60. def acceptStatSep(): Unit

    Permalink
  61. def acceptStatSepOpt(): Unit

    Permalink
  62. def accessModifier(): Mod

    Permalink
  63. final def ahead[T](body: ⇒ T): T

    Permalink

    Scoping operator used to temporarily look into the future.

    Scoping operator used to temporarily look into the future. Backs up token iterator before evaluating a block and restores it after.

    Annotations
    @inline()
  64. def annots(skipNewLines: Boolean, allowArgss: Boolean = true): collection.immutable.List[Annot]

    Permalink
  65. def argumentExpr(): Term

    Permalink
  66. def argumentExprs(): collection.immutable.List[Term]

    Permalink
  67. def argumentExprsOrPrefixExpr(): collection.immutable.List[Term]

    Permalink
  68. def argumentExprsWithUsing(): (collection.immutable.List[Term], Boolean)

    Permalink
  69. def argumentPattern(): Pat

    Permalink
  70. def argumentPatterns(): collection.immutable.List[Pat]

    Permalink
  71. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  72. def atPos[T <: Tree](start: StartPos, end: EndPos)(body: ⇒ T): T

    Permalink
  73. def atPos[T <: Tree](token: Token)(body: ⇒ T): T

    Permalink
  74. def atPos[T <: Tree](pos: Position)(body: ⇒ T): T

    Permalink
  75. def atPosTry[T <: Tree](start: StartPos, end: EndPos)(body: ⇒ Try[T]): Try[T]

    Permalink
  76. def atPosWithBody[T <: Tree](startTokenPos: Int, body: T, endPos: EndPos): T

    Permalink
  77. def auto: AutoPos.type

    Permalink
  78. def autoPos[T <: Tree](body: ⇒ T): T

    Permalink
  79. def autoPosTry[T <: Tree](body: ⇒ Try[T]): Try[T]

    Permalink
  80. def batchSource(): Source

    Permalink
  81. def block(isBlockOptional: Boolean = false): Term

    Permalink
  82. def blockExpr(isBlockOptional: Boolean = false): Term

    Permalink
  83. def blockStatSeq(): collection.immutable.List[Stat]

    Permalink
  84. def bound[T <: Token](implicit arg0: TokenInfo[T]): Option[Type]

    Permalink
  85. def caseClause(forceSingleExpr: Boolean = false): Case

    Permalink
  86. def caseClauses(): collection.immutable.List[Case]

    Permalink
  87. def caseClausesIfAny(): Option[collection.immutable.List[Case]]

    Permalink
  88. def checkAssoc(op: Term.Name, leftAssoc: Boolean): Unit

    Permalink
  89. def classDef(mods: collection.immutable.List[Mod]): Class

    Permalink
  90. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def commaSeparated[T <: Tree](part: ⇒ T)(implicit arg0: AstInfo[T]): collection.immutable.List[T]

    Permalink
    Annotations
    @inline()
  92. def condExpr(): Term

    Permalink
  93. def condExprInParens[T <: Token](implicit arg0: TokenInfo[T]): Term

    Permalink
  94. def constrBlock(): (Init, collection.immutable.List[Stat])

    Permalink
  95. def constrExpr(): (Init, collection.immutable.List[Stat])

    Permalink
  96. def constrIndent(): (Init, collection.immutable.List[Stat])

    Permalink
  97. def constrInternal(): (Init, collection.immutable.List[Stat])

    Permalink
  98. def constructorAnnots(): collection.immutable.List[Annot]

    Permalink
  99. def ctorModifiers(): Option[Mod]

    Permalink
  100. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod], enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): Stat

    Permalink
  101. def derivesClasses(): collection.immutable.List[Type]

    Permalink
  102. final def dropAnyBraces[T](body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  103. def dropTrivialBlock(term: Term): Term

    Permalink
  104. def ellipsis[T <: Tree](rank: Int, astInfo: AstInfo[T], extraSkip: ⇒ Unit = {})(implicit arg0: AstInfo[T]): T

    Permalink
  105. def endMarker(): Stat

    Permalink
  106. def ensureEarlyDef(tree: Stat): Stat

    Permalink
  107. def ensuring(cond: (ScalametaParser) ⇒ Boolean, msg: ⇒ Any): ScalametaParser

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to Ensuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  111. def entrypointCase(): Case

    Permalink
  112. def entrypointCtor(): Ctor

    Permalink
  113. def entrypointEnumerator(): Enumerator

    Permalink
  114. def entrypointExpr(): Term

    Permalink
  115. def entrypointImportee(): Importee

    Permalink
  116. def entrypointImporter(): Importer

    Permalink
  117. def entrypointInit(): Init

    Permalink
  118. def entrypointModifier(): Mod

    Permalink
  119. def entrypointPattern(): Pat

    Permalink
  120. def entrypointSelf(): Self

    Permalink
  121. def entrypointSource(): Source

    Permalink
  122. def entrypointStat(): Stat

    Permalink
  123. def entrypointTemplate(): Template

    Permalink
  124. def entrypointTermParam(): Param

    Permalink
  125. def entrypointType(): Type

    Permalink
  126. def entrypointTypeParam(): Param

    Permalink
  127. def enumCaseDef(mods: collection.immutable.List[Mod]): Stat

    Permalink
  128. def enumDef(mods: collection.immutable.List[Mod]): Enum

    Permalink
  129. def enumRepeatedCaseDef(mods: collection.immutable.List[Mod]): RepeatedEnumCase

    Permalink
  130. def enumSingleCaseDef(mods: collection.immutable.List[Mod]): EnumCase

    Permalink
  131. def enumerator(isFirst: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]

    Permalink
  132. def enumerators(): collection.immutable.List[Enumerator]

    Permalink
  133. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  135. def existentialStats(): collection.immutable.List[Stat]

    Permalink
  136. def exportStmt(): Stat

    Permalink
  137. def expr(location: Location, allowRepeated: Boolean): Term

    Permalink
  138. def expr(): Term

    Permalink
  139. def exprSimpleType(): Type

    Permalink
  140. def exprTypeArgs(): collection.immutable.List[Type]

    Permalink
  141. def extensionGroupDecl(mods: collection.immutable.List[Mod]): ExtensionGroup

    Permalink
  142. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  143. def followedByToken[T <: Token](implicit arg0: TokenInfo[T]): Boolean

    Permalink
  144. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to StringFormat[ScalametaParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  145. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat

    Permalink
  146. def funDefRest(mods: collection.immutable.List[Mod]): Stat

    Permalink
  147. def generator(eqOK: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]

    Permalink
  148. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  149. def guard(): Option[Term]

    Permalink
  150. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  151. def ifClause(mods: collection.immutable.List[Mod] = Nil): If

    Permalink
  152. def implicitClosure(location: Location): Term.Function

    Permalink
  153. def importStmt(): Import

    Permalink
  154. def importWildcardOrName(): Importee

    Permalink
  155. def importee(): Importee

    Permalink
  156. def importeeRename(from: Name): Importee

    Permalink
  157. def importees(): collection.immutable.List[Importee]

    Permalink
  158. def importer(): Importer

    Permalink
  159. var in: TokenIterator

    Permalink
  160. final def inBraces[T](body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  161. final def inBracesOrError[T](body: ⇒ T, alt: T): T

    Permalink
    Annotations
    @inline()
  162. final def inBracesOrNil[T](body: ⇒ collection.immutable.List[T]): collection.immutable.List[T]

    Permalink
    Annotations
    @inline()
  163. final def inBracesOrUnit[T](body: ⇒ Term): Term

    Permalink
    Annotations
    @inline()
  164. final def inBrackets[T](body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  165. final def inParens[T](body: ⇒ T): T

    Permalink

    Methods inParensOrError and similar take a second argument which, should the next token not be the expected opener (e.g.

    Methods inParensOrError and similar take a second argument which, should the next token not be the expected opener (e.g. token.LeftParen) will be returned instead of the contents of the groupers. However in all cases accept[LeftParen] will be called, so a parse error will still result. If the grouping is optional, token should be tested before calling these methods.

    Annotations
    @inline()
  166. final def inParensOrError[T](body: ⇒ T, alt: T): T

    Permalink
    Annotations
    @inline()
  167. final def inParensOrNil[T](body: ⇒ collection.immutable.List[T]): collection.immutable.List[T]

    Permalink
    Annotations
    @inline()
  168. def inParensOrTupleOrUnit(location: Location, allowRepeated: Boolean): Term

    Permalink
  169. final def inParensOrUnit[T, Ret >: Lit](body: ⇒ Ret): Ret

    Permalink
    Annotations
    @inline()
  170. final def indented[T](body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  171. def init(): Init

    Permalink
  172. def initInsideAnnotation(allowArgss: Boolean): Init

    Permalink
  173. def initInsideConstructor(): Init

    Permalink
  174. def initInsideTemplate(): Init

    Permalink
  175. def initRest(typeParser: () ⇒ Type, allowArgss: Boolean, allowBraces: Boolean): Init

    Permalink
  176. def inlineMatchClause(inlineMods: collection.immutable.List[Mod]): Match

    Permalink

    Deals with Scala 3 concept of

    Deals with Scala 3 concept of

    inline x match { ...

    . Since matches can also be chained in Scala 3 we need to create the Match first and only then add the the inline modifier.

    inline x match { ... }}} Since matches can also be chained in Scala 3 we need to create the Match first and only then add the the inline modifier.

  177. implicit def intToIndexPos(index: Int): IndexPos

    Permalink
  178. def interpolate[Ctx <: Tree, Ret <: Tree](arg: () ⇒ Ctx, result: (Term.Name, collection.immutable.List[Lit], collection.immutable.List[Ctx]) ⇒ Ret): Ret

    Permalink
  179. def interpolatePat(): Interpolate

    Permalink
  180. def interpolateTerm(): Interpolate

    Permalink
  181. def isAmpersand: Boolean

    Permalink
  182. def isBackquoted: Boolean

    Permalink
  183. def isBar: Boolean

    Permalink
  184. def isColonEol(token: Token): Boolean

    Permalink
  185. def isColonWildcardStar: Boolean

    Permalink
  186. def isIdent: Boolean

    Permalink
  187. def isIdentAnd(pred: (String) ⇒ Boolean): Boolean

    Permalink
  188. def isIdentExcept(except: String): Boolean

    Permalink
  189. def isIdentOf(name: String): Boolean

    Permalink
  190. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  191. def isMultilinePos(p: Position): Boolean

    Permalink
  192. def isSpliceFollowedBy(check: ⇒ Boolean): Boolean

    Permalink
  193. def isStar: Boolean

    Permalink
  194. def isStarWildcard(token: Token): Boolean

    Permalink
  195. def isStarWildcard: Boolean

    Permalink
  196. def isUnaryOp: Boolean

    Permalink
  197. def isVarargStarParam(allowRepeated: Boolean): Boolean

    Permalink
  198. def literal(isNegated: Boolean = false): Lit

    Permalink
  199. def localDef(implicitMod: Option[Implicit]): Stat

    Permalink
  200. def localModifiers(): collection.immutable.List[Mod]

    Permalink
  201. def macroQuote(): Term

    Permalink
  202. def macroQuotedIdent(): Term

    Permalink
  203. def macroSplice(): Term

    Permalink
  204. def macroSplicedIdent(): Term

    Permalink
  205. def makeTuple[T <: Tree](body: collection.immutable.List[T], zero: () ⇒ T, tuple: (collection.immutable.List[T]) ⇒ T): T

    Permalink
  206. def makeTupleTerm(body: collection.immutable.List[Term]): Term

    Permalink
  207. def makeTupleType(body: collection.immutable.List[Type]): Type

    Permalink
  208. def matchClause(t: Term): Match

    Permalink
  209. def mixinQualifier(): Name

    Permalink
  210. def modifier(): Mod

    Permalink
  211. def modifiers(isLocal: Boolean = false, isParams: Boolean = false): collection.immutable.List[Mod]

    Permalink
  212. implicit def modsToPos(mods: collection.immutable.List[Mod]): Pos

    Permalink
  213. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  214. def newLineOpt(): Unit

    Permalink
  215. def newLineOptWhenFollowedBy[T <: Token](implicit arg0: TokenInfo[T]): Unit

    Permalink
  216. def newLineOptWhenFollowedBySignificantIndentationAnd(cond: (Token) ⇒ Boolean): Unit

    Permalink
  217. def newLineOptWhenFollowing(p: (Token) ⇒ Boolean): Unit

    Permalink
  218. def newLinesOpt(): Unit

    Permalink
  219. def next(): Token

    Permalink
  220. def nextOnce(): Token

    Permalink
  221. def nextThrice(): Token

    Permalink
  222. def nextTwice(): Token

    Permalink
  223. object noSeq extends SeqContextSensitive

    Permalink

    The implementation for parsing inside of patterns at points where sequences are disallowed.

  224. def nonLocalDefOrDcl(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): Stat

    Permalink
  225. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  226. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  227. def objectDef(mods: collection.immutable.List[Mod]): Object

    Permalink
  228. def onlyAcceptMod[M <: Mod, T <: Token](mods: collection.immutable.List[Mod], errorMsg: String)(implicit arg0: ClassTag[M], arg1: TokenInfo[T], classifier: Classifier[Mod, M]): Unit

    Permalink
  229. def onlyAllowedMods(mods: collection.immutable.List[Mod], matchers: collection.immutable.List[(Mod) ⇒ Boolean], culprit: String): Unit

    Permalink
  230. def onlyAllowedMods[M1 <: Mod, M2 <: Mod](mods: collection.immutable.List[Mod], culprit: String)(implicit classifier1: Classifier[Mod, M1], classifier2: Classifier[Mod, M2]): Unit

    Permalink
  231. implicit def optionTreeToPos(tree: Option[Tree]): Pos

    Permalink
  232. object outPattern extends PatternContextSensitive

    Permalink

    The implementation of the context sensitive methods for parsing outside of patterns.

  233. def packageDef(): Pkg

    Permalink
  234. def packageObjectDef(): Object

    Permalink
  235. def packageOrPackageObjectDef(): Stat

    Permalink
  236. def param(ownerIsCase: Boolean, ownerIsType: Boolean, isImplicit: Boolean, isUsing: Boolean): Param

    Permalink
  237. def paramClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[collection.immutable.List[Param]]

    Permalink
  238. def paramType(): Type

    Permalink
  239. def parseCase(): Case

    Permalink
  240. def parseCtor(): Ctor

    Permalink
  241. def parseEnumerator(): Enumerator

    Permalink
  242. def parseImportee(): Importee

    Permalink
  243. def parseImporter(): Importer

    Permalink
  244. def parseInit(): Init

    Permalink
  245. def parseMod(): Mod

    Permalink
  246. def parsePat(): Pat

    Permalink
  247. def parseRule[T <: Tree](rule: (ScalametaParser.this.type) ⇒ T): T

    Permalink
  248. def parseSelf(): Self

    Permalink
  249. def parseSource(): Source

    Permalink
  250. def parseStat(): Stat

    Permalink
  251. def parseTemplate(): Template

    Permalink
  252. def parseTerm(): Term

    Permalink
  253. def parseTermParam(): Param

    Permalink
  254. def parseType(): Type

    Permalink
  255. def parseTypeParam(): Param

    Permalink
  256. def parseUnquotePat(): Pat

    Permalink
  257. def parseUnquoteTerm(): Term

    Permalink
  258. def patDefOrDcl(mods: collection.immutable.List[Mod]): Stat

    Permalink
  259. implicit object patInfixContext extends InfixContext

    Permalink
  260. def path(thisOK: Boolean = true): Term.Ref

    Permalink
  261. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  262. def patternTyp(): Type

    Permalink
  263. def patternTypeArgs(): collection.immutable.List[Type]

    Permalink
  264. def polyFunction(): PolyFunction

    Permalink
  265. def postfixExpr(allowRepeated: Boolean): Term

    Permalink
  266. def prefixExpr(allowRepeated: Boolean): Term

    Permalink
  267. def primaryCtor(owner: TemplateOwner): Primary

    Permalink
  268. def qualId(): Term.Ref

    Permalink
  269. def quasiquoteCase(): Case

    Permalink
  270. def quasiquoteCtor(): Ctor

    Permalink
  271. def quasiquoteEnumerator(): Enumerator

    Permalink
  272. def quasiquoteExpr(): Term

    Permalink
  273. def quasiquoteImportee(): Importee

    Permalink
  274. def quasiquoteImporter(): Importer

    Permalink
  275. def quasiquoteInit(): Init

    Permalink
  276. def quasiquoteModifier(): Mod

    Permalink
  277. def quasiquotePattern(): Pat

    Permalink
  278. def quasiquoteSelf(): Self

    Permalink
  279. def quasiquoteSource(): Source

    Permalink
  280. def quasiquoteStat(): Stat

    Permalink
  281. def quasiquoteTemplate(): Template

    Permalink
  282. def quasiquoteTermParam(): Param

    Permalink
  283. def quasiquoteType(): Type

    Permalink
  284. def quasiquoteTypeParam(): Param

    Permalink
  285. def refineStat(): Option[Stat]

    Permalink
  286. def refineStatSeq(): collection.immutable.List[Stat]

    Permalink
  287. def refinement(innerType: Option[Type]): Refine

    Permalink
  288. def rejectMod[M <: Mod](mods: collection.immutable.List[Mod], errorMsg: String)(implicit classifier: Classifier[Mod, M], tag: ClassTag[M]): Unit

    Permalink
  289. def rejectModCombination[M1 <: Mod, M2 <: Mod](mods: collection.immutable.List[Mod], culpritOpt: Option[String] = None)(implicit invalidMod: InvalidModCombination[M1, M2], classifier1: Classifier[Mod, M1], tag1: ClassTag[M1], classifier2: Classifier[Mod, M2], tag2: ClassTag[M2]): Unit

    Permalink
  290. lazy val reporter: Reporter

    Permalink
  291. lazy val scannerTokens: Tokens

    Permalink
  292. def scriptSource(): Source

    Permalink
  293. def secondaryCtor(mods: collection.immutable.List[Mod]): Secondary

    Permalink
  294. def secondaryCtorRest(mods: collection.immutable.List[Mod], name: Name, paramss: collection.immutable.List[collection.immutable.List[Param]]): Secondary

    Permalink
  295. def selector(t: Term): Select

    Permalink
  296. def selectors(t: Term): Term.Ref

    Permalink
  297. def self(): Self

    Permalink
  298. object seqOK extends SeqContextSensitive

    Permalink

    The implementation for parsing inside of patterns at points where sequences are allowed.

  299. def seqPatterns(): collection.immutable.List[Pat]

    Permalink
  300. def simpleExpr(allowRepeated: Boolean): Term

    Permalink
  301. def simpleExprRest(t: Term, canApply: Boolean): Term

    Permalink
  302. def source(): Source

    Permalink
  303. def stableId(): Term.Ref

    Permalink
  304. def startInfixType(): Type

    Permalink
  305. def startModType(): Type

    Permalink
  306. def stat(body: ⇒ Stat): Stat

    Permalink
  307. def statSeq[T <: Tree](statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): collection.immutable.List[T]

    Permalink
  308. def summonClassifierFunc[A, B](implicit v: Classifier[A, B]): (A) ⇒ Boolean

    Permalink
  309. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  310. def syntaxErrorExpected[T <: Token](implicit arg0: TokenInfo[T]): Nothing

    Permalink
  311. def template(afterExtend: Boolean = false, enumCaseAllowed: Boolean, secondaryConstructorAllowed: Boolean): Template

    Permalink
  312. def template(edefs: collection.immutable.List[Stat], parents: collection.immutable.List[Init], enumCaseAllowed: Boolean, secondaryConstructorAllowed: Boolean): Template

    Permalink
  313. def templateBody(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])

    Permalink
  314. def templateBodyOpt(parenMeansSyntaxError: Boolean, enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])

    Permalink
  315. def templateOpt(owner: TemplateOwner): Template

    Permalink
  316. def templateParents(afterExtend: Boolean = false): collection.immutable.List[Init]

    Permalink
  317. def templateStatSeq(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])

    Permalink
  318. def templateStats(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): collection.immutable.List[Stat]

    Permalink
  319. object termInfixContext extends InfixContext

    Permalink
  320. def termName(advance: Boolean = true): Term.Name

    Permalink
  321. def tmplDef(mods: collection.immutable.List[Mod]): Stat

    Permalink
  322. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  323. def token: Token

    Permalink
  324. final def tokenSeparated[Sep <: Token, T <: Tree](sepFirst: Boolean, part: ⇒ T)(implicit arg0: TokenInfo[Sep], arg1: AstInfo[T]): collection.immutable.List[T]

    Permalink
  325. implicit def tokenToTokenPos(token: Token): TokenPos

    Permalink
  326. def topLevelTmplDef: Stat

    Permalink

    Hook for IDE, for top-level classes/objects.

  327. def topStat: PartialFunction[Token, Stat]

    Permalink
  328. def topStatSeq(): collection.immutable.List[Stat]

    Permalink
  329. def tparamModifiers(): Option[Mod]

    Permalink
  330. def traitDef(mods: collection.immutable.List[Mod]): Trait

    Permalink
  331. implicit def treeToTreePos(tree: Tree): TreePos

    Permalink
  332. def typ(): Type

    Permalink

    These are default entry points into the pattern context sensitive methods: they are all initiated from non-pattern context.

  333. def typeBounds(): Bounds

    Permalink
  334. def typeDefOrDcl(mods: collection.immutable.List[Mod]): Member.Type with Stat

    Permalink
  335. def typeIndentedOpt(): Type

    Permalink
  336. def typeName(advance: Boolean = true): Type.Name

    Permalink
  337. def typeOrInfixType(location: Location): Type

    Permalink
  338. def typeParam(ownerIsType: Boolean, ctxBoundsAllowed: Boolean, allowUnderscore: Boolean = true): Param

    Permalink
  339. def typeParamClauseOpt(ownerIsType: Boolean, ctxBoundsAllowed: Boolean, allowUnderscore: Boolean = true): collection.immutable.List[Param]

    Permalink
  340. def typedOpt(): Option[Type]

    Permalink
  341. def unquote[T <: Tree](implicit arg0: AstInfo[T]): T

    Permalink
  342. def unquote[T <: Tree](advance: Boolean = true)(implicit arg0: AstInfo[T]): T

    Permalink
  343. def unquoteExpr(): Term

    Permalink
  344. def unquotePattern(): Pat

    Permalink
  345. def unquoteXmlExpr(): Term

    Permalink
  346. def unquoteXmlPattern(): Pat

    Permalink
  347. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  350. def xmlLiteralPattern(): Pat

    Permalink
  351. def xmlPat(): Xml

    Permalink
  352. object xmlSeqOK extends SeqContextSensitive

    Permalink

    For use from xml pattern, where sequence is allowed and encouraged.

  353. def xmlSeqPatterns(): collection.immutable.List[Pat]

    Permalink
  354. def xmlTerm(): Xml

    Permalink
  355. def [B](y: B): (ScalametaParser, B)

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ScalametaParser to any2stringadd[ScalametaParser]

Inherited by implicit conversion StringFormat from ScalametaParser to StringFormat[ScalametaParser]

Inherited by implicit conversion Ensuring from ScalametaParser to Ensuring[ScalametaParser]

Inherited by implicit conversion ArrowAssoc from ScalametaParser to ArrowAssoc[ScalametaParser]

Ungrouped