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. sealed abstract class InfixContext extends AnyRef

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

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

  4. 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.

  5. sealed trait TemplateOwner 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 EndPosPreOutdent extends EndPos with Product with Serializable

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

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

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

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

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

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

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

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

    Permalink
  16. object OwnedByCaseClass extends TemplateOwner

    Permalink
  17. object OwnedByClass extends TemplateOwner

    Permalink
  18. object OwnedByEnum extends TemplateOwner

    Permalink
  19. object OwnedByObject extends TemplateOwner

    Permalink
  20. object OwnedByTrait extends TemplateOwner

    Permalink
  21. object StartPosPrev extends StartPos with Product with Serializable

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

  23. def acceptStatSep(): Unit

    Permalink
  24. def acceptStatSepOpt(): Unit

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

    Permalink
  27. def annotsBuf[T >: Annot](annots: ListBuffer[T], skipNewLines: Boolean, allowArgss: Boolean = true): Unit

    Permalink
  28. def argumentPattern(): Pat

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

    Permalink
  30. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  31. def atCurPos[T <: Tree](body: ⇒ T): T

    Permalink
  32. def atCurPosNext[T <: Tree](body: ⇒ T): T

    Permalink
  33. def atPos[T <: Tree](pos: Int)(body: ⇒ T): T

    Permalink
  34. def atPos[T <: Tree](start: Int, end: EndPos)(body: T): T

    Permalink
    Annotations
    @inline()
  35. def atPos[T <: Tree](start: StartPos, end: EndPos)(body: ⇒ T): T

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

    Permalink
  37. def atPosOpt[T <: Tree](start: Int, end: EndPos)(body: T): T

    Permalink
  38. def atPosOpt[T <: Tree](start: StartPos, end: EndPos)(body: ⇒ T): T

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

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

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

    Permalink
  42. def auto: AutoPos.type

    Permalink
  43. def autoEndPos[T <: Tree](start: StartPos)(body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  44. def autoEndPos[T <: Tree](start: Int)(body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  45. def autoEndPosOpt[T <: Tree](start: Int)(body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  46. def autoPos[T <: Tree](body: ⇒ T): T

    Permalink
  47. def autoPosOpt[T <: Tree](body: ⇒ T): T

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

    Permalink
  49. def autoPrevPos[T <: Tree](body: ⇒ T): T

    Permalink
    Annotations
    @inline()
  50. def batchSource(statpf: PartialFunction[Token, Stat] = topStat): Source

    Permalink
  51. def block(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term

    Permalink
  52. def blockExpr(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term

    Permalink
  53. def blockStatSeq(allowRepeated: Boolean = false): collection.immutable.List[Stat]

    Permalink
  54. def bound[T](implicit arg0: tokens.TokenClassifier[T]): Option[Type]

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

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

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

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

    Permalink
    Annotations
    @inline()
  59. def classDef(mods: collection.immutable.List[Mod]): Class

    Permalink
  60. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink
    Annotations
    @inline()
  68. def ellipsis[T <: Tree](ell: Ellipsis, extraSkip: ⇒ Unit)(implicit arg0: AstInfo[T]): T

    Permalink
  69. def ellipsis[T <: Tree](ell: Ellipsis)(implicit arg0: AstInfo[T]): T

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

    Permalink
  71. def endMarker(): Stat

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

    Permalink
  73. 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
  74. 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
  75. 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
  76. 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
  77. def entryPointAmmonite(): MultiSource

    Permalink
  78. def entrypointCase(): Case

    Permalink
  79. def entrypointCtor(): Ctor

    Permalink
  80. def entrypointEnumerator(): Enumerator

    Permalink
  81. def entrypointExpr(): Term

    Permalink
  82. def entrypointImportee(): Importee

    Permalink
  83. def entrypointImporter(): Importer

    Permalink
  84. def entrypointInit(): Init

    Permalink
  85. def entrypointModifier(): Mod

    Permalink
  86. def entrypointPattern(): Pat

    Permalink
  87. def entrypointSelf(): Self

    Permalink
  88. def entrypointSource(): Source

    Permalink
  89. def entrypointStat(): Stat

    Permalink
  90. def entrypointTemplate(): Template

    Permalink
  91. def entrypointTermParam(): Param

    Permalink
  92. def entrypointType(): Type

    Permalink
  93. def entrypointTypeParam(): Param

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

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

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

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

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

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

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

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

    Permalink
  102. def exportStmt(): Stat

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

    Permalink
  104. def expr(): Term

    Permalink
  105. def exprSimpleType(): Type

    Permalink
  106. def exprTypeArgs(): ArgClause

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

    Permalink
  108. def finalize(): Unit

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

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

    Permalink
  112. def getAfterOptNewLine[A](body: ⇒ Option[A]): Option[A]

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

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

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

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

    Permalink
  117. def importStmt(): Import

    Permalink
  118. def importWildcardOrName(): Importee

    Permalink
  119. def importee(): Importee

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

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

    Permalink
  122. def importer(): Importer

    Permalink
  123. var in: TokenIterator

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

    Permalink
    Annotations
    @inline()
  125. final def inBracesOr[T](body: ⇒ T)(ifEmpty: ⇒ T): T

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

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

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

    Permalink
    Annotations
    @inline()
  129. final def inParensOr[T](body: ⇒ T)(ifEmpty: ⇒ T): T

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

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

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

    Permalink
  133. def initInsideConstructor(): Init

    Permalink
  134. def initInsideTemplate(): Init

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

    Permalink
  136. 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 { ... }}} Scala 3 we need to create the Match first and only then add the the inline modifier.

  137. implicit def intToIndexPos(index: Int): Pos

    Permalink
  138. def interpolatePat(): Interpolate

    Permalink
  139. def interpolateTerm(): Interpolate

    Permalink
  140. def isAfterOptNewLine(cond: ⇒ Boolean): Boolean

    Permalink
  141. def isAfterOptNewLine[T](implicit arg0: tokens.TokenClassifier[T]): Boolean

    Permalink
  142. def isAmpersand: Boolean

    Permalink
  143. def isBackquoted: Boolean

    Permalink
  144. def isBar: Boolean

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

    Permalink
  146. def isEolAfterColon(token: Token): Boolean

    Permalink
  147. def isIdent: Boolean

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

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

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

    Permalink
  151. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  152. def isStar: Boolean

    Permalink
  153. def isUnaryOp: Boolean

    Permalink
  154. def isVarargStarParam(): Boolean

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

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

    Permalink
  157. def macroQuote(): Term

    Permalink
  158. def macroSplice(): Term

    Permalink
  159. def mixinQualifier(): Name

    Permalink
  160. def modifiersBuf(buf: ListBuffer[Mod], isLocal: Boolean = false, isParams: Boolean = false): Unit

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

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

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

    Permalink
    Annotations
    @inline()
  164. def newLineOptWhenFollowedBy[T](implicit arg0: tokens.TokenClassifier[T]): Unit

    Permalink
  165. def newLineOptWhenFollowedBySignificantIndentationAnd(cond: (Token) ⇒ Boolean): Boolean

    Permalink
  166. def newLinesOpt(): Unit

    Permalink
    Annotations
    @inline()
  167. def next(): Unit

    Permalink
  168. def nextTwice(): Unit

    Permalink
  169. object noSeq extends SeqContextSensitive

    Permalink

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

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

    Permalink
  171. final def notify(): Unit

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

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

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

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

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

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

    Permalink
  178. object outPattern extends PatternContextSensitive

    Permalink

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

  179. def packageOrPackageObjectDef(statpf: PartialFunction[Token, Stat]): Stat

    Permalink
  180. def paramType(): Type

    Permalink
  181. def parseAmmonite(): MultiSource

    Permalink
  182. def parseCase(): Case

    Permalink
  183. def parseCtor(): Ctor

    Permalink
  184. def parseEnumerator(): Enumerator

    Permalink
  185. def parseImportee(): Importee

    Permalink
  186. def parseImporter(): Importer

    Permalink
  187. def parseInit(): Init

    Permalink
  188. def parseMod(): Mod

    Permalink
  189. def parsePat(): Pat

    Permalink
  190. def parseRule[T <: Tree](rule: ⇒ T): T

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

    Permalink
  192. def parseSelf(): Self

    Permalink
  193. def parseSource(): Source

    Permalink
  194. def parseStat(): Stat

    Permalink
  195. def parseTemplate(): Template

    Permalink
  196. def parseTerm(): Term

    Permalink
  197. def parseTermParam(): Param

    Permalink
  198. def parseType(): Type

    Permalink
  199. def parseTypeParam(): Param

    Permalink
  200. def parseUnquotePat(): Pat

    Permalink
  201. def parseUnquoteTerm(): Term

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

    Permalink
  203. implicit object patInfixContext extends InfixContext

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

    Permalink
  205. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  206. def patternTyp(): Type

    Permalink
  207. def patternTypeArgs(): ArgClause

    Permalink
  208. def polyFunction(): PolyFunction

    Permalink
  209. def postfixExpr(allowRepeated: Boolean, location: Location = NoStat): Term

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

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

    Permalink
  212. def qualId(): Term.Ref

    Permalink
  213. def quasiquoteCase(): Case

    Permalink
  214. def quasiquoteCtor(): Ctor

    Permalink
  215. def quasiquoteEnumerator(): Enumerator

    Permalink
  216. def quasiquoteExpr(): Term

    Permalink
  217. def quasiquoteImportee(): Importee

    Permalink
  218. def quasiquoteImporter(): Importer

    Permalink
  219. def quasiquoteInit(): Init

    Permalink
  220. def quasiquoteModifier(): Mod

    Permalink
  221. def quasiquotePattern(): Pat

    Permalink
  222. def quasiquoteSelf(): Self

    Permalink
  223. def quasiquoteSource(): Source

    Permalink
  224. def quasiquoteStat(): Stat

    Permalink
  225. def quasiquoteTemplate(): Template

    Permalink
  226. def quasiquoteTermParam(): Param

    Permalink
  227. def quasiquoteType(): Type

    Permalink
  228. def quasiquoteTypeParam(): Param

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

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

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

    Permalink
  232. def rejectModCombination[M1 <: Mod, M2 <: Mod](mods: collection.Iterable[Mod], culpritOpt: ⇒ Option[String] = None)(implicit arg0: ClassTag[M1], arg1: ClassTag[M2], classifier1: Classifier[Mod, M1], classifier2: Classifier[Mod, M2]): Unit

    Permalink
  233. def rejectModWith[M <: Mod](m2: Mod, mods: collection.Iterable[Mod], culpritOpt: ⇒ Option[String] = None)(implicit arg0: ClassTag[M], classifier: Classifier[Mod, M]): Unit

    Permalink
  234. lazy val reporter: Reporter

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

    Permalink
  236. def secondaryCtorRest(mods: collection.immutable.List[Mod], name: Name, paramss: collection.immutable.Seq[ParamClause]): Secondary

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

    Permalink
    Annotations
    @inline()
  238. def selector(t: Term, startPos: Int): Select

    Permalink
  239. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

    Permalink
  242. def source(): Source

    Permalink
  243. def stableId(): Term.Ref

    Permalink
  244. def startInfixType(): Type

    Permalink
  245. def startModType(): Type

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

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

    Permalink
  248. def statSeqBuf[T <: Tree](stats: ListBuffer[T], statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): Unit

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

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

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

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

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

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

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

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

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

    Permalink
  258. def templateStat(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): PartialFunction[Token, Stat]

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

    Permalink
  260. object termInfixContext extends InfixContext

    Permalink
  261. def termName(): Term.Name

    Permalink
  262. def termParam(ownerIsCase: Boolean, ownerIsType: Boolean, mod: Option[ParamsType] = None): Param

    Permalink
  263. def termParamClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[ParamClause]

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

    Permalink
  265. def toString(): String

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

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

    Permalink
  268. implicit def tokenToTokenPos(token: Token): Pos

    Permalink
  269. def topLevelTmplDef: Stat

    Permalink

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

  270. val topStat: PartialFunction[Token, Stat]

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

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

    Permalink
  273. implicit def treeToTreePos(tree: Tree): Pos

    Permalink
  274. def typ(): Type

    Permalink

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

  275. def typeBounds(): Bounds

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

    Permalink
  277. def typeIndentedOpt(): Type

    Permalink
  278. def typeName(): Type.Name

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

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

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

    Permalink
  282. def unquote[T <: Tree](implicit arg0: AstInfo[T]): T with Quasi

    Permalink
  283. def unquoteExpr(): Term

    Permalink
  284. def unquotePattern(): Pat

    Permalink
  285. def unquoteSeqPattern(): Pat

    Permalink
  286. final def wait(): Unit

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

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

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

    Permalink
  290. def xmlPat(): Xml

    Permalink
  291. def xmlTerm(): Xml

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