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, dialect: Dialect)

    Permalink

Type Members

  1. class AllowColonEol extends AnyRef

    Permalink
  2. trait CanContinueOnNextLine extends AnyRef

    Permalink
  3. trait CanEndStat extends AnyRef

    Permalink
  4. trait CanStartColonEol extends AnyRef

    Permalink
  5. trait CanStartIndent extends AnyRef

    Permalink
  6. trait CantStartStat extends AnyRef

    Permalink
  7. trait CaseDefEnd extends AnyRef

    Permalink
  8. trait CaseIntro extends AnyRef

    Permalink
  9. trait CloseDelim extends AnyRef

    Permalink
  10. trait DclIntro extends AnyRef

    Permalink
  11. trait DefIntro extends AnyRef

    Permalink
  12. trait EndMarkerIntro extends AnyRef

    Permalink
  13. trait EndMarkerWord 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 InlineSoftIdent extends AnyRef

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

    Permalink
  19. trait LineEnd extends AnyRef

    Permalink
  20. trait Literal extends AnyRef

    Permalink
  21. trait LocalModifier extends AnyRef

    Permalink
  22. trait Modifier extends AnyRef

    Permalink
  23. trait NonParamsModifier extends AnyRef

    Permalink
  24. trait NonlocalModifier extends AnyRef

    Permalink
  25. trait NumericLiteral extends AnyRef

    Permalink
  26. 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.

  27. sealed trait Pos extends AnyRef

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

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

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

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

    Permalink
  32. sealed trait SepRegion extends AnyRef

    Permalink
  33. 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.

  34. trait SkAs extends AnyRef

    Permalink
  35. trait SkDerives extends AnyRef

    Permalink
  36. trait SkEnd extends AnyRef

    Permalink
  37. trait SkInfix extends AnyRef

    Permalink
  38. trait SkInline extends AnyRef

    Permalink
  39. trait SkOpaque extends AnyRef

    Permalink
  40. trait SkOpen extends AnyRef

    Permalink
  41. trait SkTransparent extends AnyRef

    Permalink
  42. trait SkUsing extends AnyRef

    Permalink
  43. trait StatSep extends AnyRef

    Permalink
  44. trait StatSeqEnd extends AnyRef

    Permalink
  45. trait TemplateIntro extends AnyRef

    Permalink
  46. sealed trait TemplateOwner extends AnyRef

    Permalink
  47. trait TokenIterator extends Iterator[Token]

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

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

    Permalink
  50. trait Trivia extends AnyRef

    Permalink
  51. trait TypeIntro extends AnyRef

    Permalink
  52. trait Whitespace extends AnyRef

    Permalink
  53. 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 ExprIntro

    Permalink
  20. object InlineSoftIdent

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

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

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

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

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

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

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

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

    Permalink
  29. object LineEnd

    Permalink
  30. object Literal

    Permalink
  31. object LocalModifier

    Permalink
  32. object Modifier

    Permalink
  33. object NonParamsModifier

    Permalink
  34. object NonlocalModifier

    Permalink
  35. object NumericLiteral

    Permalink
  36. object OwnedByCaseClass extends TemplateOwner

    Permalink
  37. object OwnedByClass extends TemplateOwner

    Permalink
  38. object OwnedByEnum extends TemplateOwner

    Permalink
  39. object OwnedByObject extends TemplateOwner

    Permalink
  40. object OwnedByTrait extends TemplateOwner

    Permalink
  41. object RegionArrow extends SepRegion with Product with Serializable

    Permalink
  42. object RegionBracket extends SepRegion with Product with Serializable

    Permalink
  43. object RegionEnumArtificialMark extends SepRegion with Product with Serializable

    Permalink
  44. object RegionParen extends SepRegion with Product with Serializable

    Permalink
  45. object SkAs

    Permalink
  46. object SkDerives

    Permalink
  47. object SkEnd

    Permalink
  48. object SkInfix

    Permalink
  49. object SkInline

    Permalink
  50. object SkOpaque

    Permalink
  51. object SkOpen

    Permalink
  52. object SkTransparent

    Permalink
  53. object SkUsing

    Permalink
  54. object StatSep

    Permalink
  55. object StatSeqEnd

    Permalink
  56. object TemplateIntro

    Permalink
  57. object Trivia

    Permalink
  58. object TypeIntro

    Permalink
  59. object Whitespace

    Permalink
  60. 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.

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

    Permalink

    If current token is T consume it.

  62. def acceptStatSep(): Unit

    Permalink
  63. def acceptStatSepOpt(): Unit

    Permalink
  64. def accessModifier(): Mod

    Permalink
  65. 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()
  66. def annots(skipNewLines: Boolean, allowArgss: Boolean = true): collection.immutable.List[Annot]

    Permalink
  67. def argumentExpr(): Term

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

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

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

    Permalink
  71. def argumentPattern(): Pat

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

    Permalink
  73. final def asInstanceOf[T0]: T0

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

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

    Permalink
  76. def auto: AutoPos.type

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

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

    Permalink
  79. def batchSource(): Source

    Permalink
  80. def block(): Term

    Permalink
  81. def blockExpr(): Term

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

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

    Permalink
  84. def canBeFollowedByColonEol(colonEolCanStartIndent: collection.immutable.List[AllowColonEol], curr: Token): collection.immutable.List[AllowColonEol]

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

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

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

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

    Permalink
  89. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Permalink
  98. implicit val currentDialect: Dialect

    Permalink
  99. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat

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

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

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

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

    Permalink
  104. def endMarker(): Stat

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

    Permalink
  106. 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
  107. 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
  108. 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
  109. 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
  110. def entrypointCase(): Case

    Permalink
  111. def entrypointCtor(): Ctor

    Permalink
  112. def entrypointEnumerator(): Enumerator

    Permalink
  113. def entrypointExpr(): Term

    Permalink
  114. def entrypointImportee(): Importee

    Permalink
  115. def entrypointImporter(): Importer

    Permalink
  116. def entrypointInit(): Init

    Permalink
  117. def entrypointModifier(): Mod

    Permalink
  118. def entrypointPattern(): Pat

    Permalink
  119. def entrypointSelf(): Self

    Permalink
  120. def entrypointSource(): Source

    Permalink
  121. def entrypointStat(): Stat

    Permalink
  122. def entrypointTemplate(): Template

    Permalink
  123. def entrypointTermParam(): Param

    Permalink
  124. def entrypointType(): Type

    Permalink
  125. def entrypointTypeParam(): Param

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

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

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

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

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

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

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

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

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

    Permalink
  135. def exportStmt(): Export

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

    Permalink
  137. def expr(): Term

    Permalink
  138. def exprSimpleType(): Type

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

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

    Permalink
  141. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  142. 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()
  143. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat

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

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

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

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

    Permalink
  148. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  149. def ifClause(isInline: Boolean = false): If

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

    Permalink
  151. def importStmt(): Import

    Permalink
  152. def importWildcardOrName(): Importee

    Permalink
  153. def importee(): Importee

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

    Permalink
  155. def importer(): Importer

    Permalink
  156. var in: TokenIterator

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

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

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

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

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

    Permalink
    Annotations
    @inline()
  162. 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()
  163. final def inParensOrError[T](body: ⇒ T, alt: T): T

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

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

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

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

    Permalink
    Annotations
    @inline()
  168. def initInsideAnnotation(allowArgss: Boolean): Init

    Permalink
  169. def initInsideConstructor(): Init

    Permalink
  170. def initInsideTemplate(): Init

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

    Permalink
  172. implicit def intToIndexPos(index: Int): IndexPos

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

    Permalink
  174. def interpolatePat(): Interpolate

    Permalink
  175. def interpolateTerm(): Interpolate

    Permalink
  176. def isAmpersand: Boolean

    Permalink
  177. def isBackquoted: Boolean

    Permalink
  178. def isBar: Boolean

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

    Permalink
  180. def isColonWildcardStar: Boolean

    Permalink
  181. def isIdent: Boolean

    Permalink
  182. def isIdentAnd(token: Token, pred: (String) ⇒ Boolean): Boolean

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

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

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

    Permalink
  186. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  187. def isSoftKw(token: Token, name: String): Boolean

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

    Permalink
  189. def isStar: Boolean

    Permalink
  190. def isUnaryOp: Boolean

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

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

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

    Permalink
  194. def macroQuote(): Term

    Permalink
  195. def macroQuotedIdent(): Term

    Permalink
  196. def macroSplice(): Term

    Permalink
  197. def macroSplicedIdent(): Term

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

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

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

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

    Permalink
  202. def mixinQualifier(): Name

    Permalink
  203. def modifier(): Mod

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

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

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

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

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

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

    Permalink
  210. def newLinesOpt(): Unit

    Permalink
  211. def next(): Token

    Permalink
  212. def nextOnce(): Token

    Permalink
  213. def nextThrice(): Token

    Permalink
  214. def nextTwice(): Token

    Permalink
  215. object noSeq extends SeqContextSensitive

    Permalink

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

  216. def nonLocalDefOrDcl(): Stat

    Permalink
  217. final def notify(): Unit

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

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

    Permalink
  220. 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
  221. def onlyAllowedMods[M1 <: Mod, M2 <: Mod](mods: collection.immutable.List[Mod], culprit: String)(implicit classifier1: Classifier[Mod, M1], tag1: ClassTag[M1], classifier2: Classifier[Mod, M2], tag2: ClassTag[M2]): Unit

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

    Permalink
  223. object outPattern extends PatternContextSensitive

    Permalink

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

  224. def packageDef(): Pkg

    Permalink
  225. def packageObjectDef(): Object

    Permalink
  226. def packageOrPackageObjectDef(): Stat

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

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

    Permalink
  229. def paramType(): Type

    Permalink
  230. def parseCase(): Case

    Permalink
  231. def parseCtor(): Ctor

    Permalink
  232. def parseEnumerator(): Enumerator

    Permalink
  233. def parseImportee(): Importee

    Permalink
  234. def parseImporter(): Importer

    Permalink
  235. def parseInit(): Init

    Permalink
  236. def parseMod(): Mod

    Permalink
  237. def parsePat(): Pat

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

    Permalink
  239. def parseSelf(): Self

    Permalink
  240. def parseSource(): Source

    Permalink
  241. def parseStat(): Stat

    Permalink
  242. def parseTemplate(): Template

    Permalink
  243. def parseTerm(): Term

    Permalink
  244. def parseTermParam(): Param

    Permalink
  245. def parseType(): Type

    Permalink
  246. def parseTypeParam(): Param

    Permalink
  247. def parseUnquotePat(): Pat

    Permalink
  248. def parseUnquoteTerm(): Term

    Permalink
  249. lazy val parserTokenPositions: Array[Int]

    Permalink
  250. lazy val parserTokens: Tokens

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

    Permalink
  252. implicit object patInfixContext extends InfixContext

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

    Permalink
  254. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  255. def patternTyp(): Type

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

    Permalink
  257. def polyFunction(): PolyFunction

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

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

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

    Permalink
  261. def qualId(): Term.Ref

    Permalink
  262. def quasiquoteCase(): Case

    Permalink
  263. def quasiquoteCtor(): Ctor

    Permalink
  264. def quasiquoteEnumerator(): Enumerator

    Permalink
  265. def quasiquoteExpr(): Term

    Permalink
  266. def quasiquoteImportee(): Importee

    Permalink
  267. def quasiquoteImporter(): Importer

    Permalink
  268. def quasiquoteInit(): Init

    Permalink
  269. def quasiquoteModifier(): Mod

    Permalink
  270. def quasiquotePattern(): Pat

    Permalink
  271. def quasiquoteSelf(): Self

    Permalink
  272. def quasiquoteSource(): Source

    Permalink
  273. def quasiquoteStat(): Stat

    Permalink
  274. def quasiquoteTemplate(): Template

    Permalink
  275. def quasiquoteTermParam(): Param

    Permalink
  276. def quasiquoteType(): Type

    Permalink
  277. def quasiquoteTypeParam(): Param

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

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

    Permalink
  280. def refinement(): collection.immutable.List[Stat]

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

    Permalink
  282. 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
  283. lazy val reporter: Reporter

    Permalink
  284. lazy val scannerTokens: Tokens

    Permalink
  285. def scriptSource(): Source

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

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

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

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

    Permalink
  290. def self(): Self

    Permalink
  291. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

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

    Permalink
  295. def source(): Source

    Permalink
  296. def stableId(): Term.Ref

    Permalink
  297. def startInfixType(): Type

    Permalink
  298. def startModType(): Type

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

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

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

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

    Permalink
  303. def template(afterExtend: Boolean = false): Template

    Permalink
  304. def template(edefs: collection.immutable.List[Stat], parents: collection.immutable.List[Init]): Template

    Permalink
  305. def templateBody(): (Self, collection.immutable.List[Stat])

    Permalink
  306. def templateBodyOpt(parenMeansSyntaxError: Boolean): (Self, collection.immutable.List[Stat])

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

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

    Permalink
  309. def templateStat: PartialFunction[Token, Stat]

    Permalink
  310. def templateStatSeq(): (Self, collection.immutable.List[Stat])

    Permalink
  311. def templateStats(): collection.immutable.List[Stat]

    Permalink
  312. object termInfixContext extends InfixContext

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

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

    Permalink
  315. def toString(): String

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

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

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

    Permalink
  319. def topLevelTmplDef: Stat

    Permalink

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

  320. def topStat: PartialFunction[Token, Stat]

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

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

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

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

    Permalink
  325. def typ(): Type

    Permalink

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

  326. def typeBounds(): Bounds

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

    Permalink
  328. def typeIndentedOpt(): Type

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

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

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

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

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

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

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

    Permalink
  336. def unquoteExpr(): Term

    Permalink
  337. def unquotePattern(): Pat

    Permalink
  338. def unquoteXmlExpr(): Term

    Permalink
  339. def unquoteXmlPattern(): Pat

    Permalink
  340. final def wait(): Unit

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

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

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

    Permalink
  344. def xmlPat(): Xml

    Permalink
  345. object xmlSeqOK extends SeqContextSensitive

    Permalink

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

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

    Permalink
  347. def xmlTerm(): Xml

    Permalink
  348. 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