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

  22. def acceptStatSep(): Unit

    Permalink
  23. def acceptStatSepOpt(): Unit

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

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

    Permalink
  27. def argumentPattern(): Pat

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

    Permalink
  29. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

    Permalink
  40. def auto: AutoPos.type

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  56. def clone(): AnyRef

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

    Permalink
    Annotations
    @inline()
  58. final def commaSeparatedWithIndex[T <: Tree](part: (Int) ⇒ T)(implicit arg0: AstInfo[T]): collection.immutable.List[T]

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

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

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

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

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

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

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

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

    Permalink
  67. def endMarker(): Stat

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

    Permalink
  69. 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
  70. 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
  71. 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
  72. 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
  73. def entryPointAmmonite(): MultiSource

    Permalink
  74. def entrypointCase(): Case

    Permalink
  75. def entrypointCtor(): Ctor

    Permalink
  76. def entrypointEnumerator(): Enumerator

    Permalink
  77. def entrypointExpr(): Term

    Permalink
  78. def entrypointImportee(): Importee

    Permalink
  79. def entrypointImporter(): Importer

    Permalink
  80. def entrypointInit(): Init

    Permalink
  81. def entrypointModifier(): Mod

    Permalink
  82. def entrypointPattern(): Pat

    Permalink
  83. def entrypointSelf(): Self

    Permalink
  84. def entrypointSource(): Source

    Permalink
  85. def entrypointStat(): Stat

    Permalink
  86. def entrypointTemplate(): Template

    Permalink
  87. def entrypointTermParam(): Param

    Permalink
  88. def entrypointType(): Type

    Permalink
  89. def entrypointTypeParam(): Param

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

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

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

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

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

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

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

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

    Permalink
  98. def expect[T <: Token](implicit arg0: TokenInfo[T]): Unit

    Permalink
  99. def exportStmt(): Stat

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

    Permalink
  101. def expr(): Term

    Permalink
  102. def exprSimpleType(): Type

    Permalink
  103. def exprTypeArgs(): ArgClause

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

    Permalink
  105. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
  114. def importStmt(): Import

    Permalink
  115. def importWildcardOrName(): Importee

    Permalink
  116. def importee(): Importee

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

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

    Permalink
  119. def importer(): Importer

    Permalink
  120. var in: TokenIterator

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

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

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

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

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

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

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

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

    Permalink
  129. def initInsideConstructor(): Init

    Permalink
  130. def initInsideTemplate(): Init

    Permalink
  131. def initRest(typeParser: ⇒ Type, allowArgss: Boolean, insidePrimaryCtorAnnot: Boolean = false, allowBraces: Boolean = false, allowTypeSingleton: Boolean = true): Init

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

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

    Permalink
  134. def interpolatePat(): Interpolate

    Permalink
  135. def interpolateTerm(): Interpolate

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

    Permalink
  137. def isBar: Boolean

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

    Permalink
  139. def isIdentOf(tok: Token, name: String): Boolean

    Permalink
  140. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  141. def isStar(tok: Token): Boolean

    Permalink
  142. def isStar: Boolean

    Permalink
    Annotations
    @inline()
  143. def isUnaryOp: Boolean

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

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

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

    Permalink
  147. def memberParamClauseGroups(ownerIsType: Boolean, ctxBoundsAllowed: Boolean): collection.immutable.List[ParamClauseGroup]

    Permalink
  148. def mixinQualifier(): Name

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

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

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

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

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

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

    Permalink
  155. def newLinesOpt(): Unit

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

    Permalink
    Annotations
    @inline()
  157. def nextTwice(): Unit

    Permalink
  158. object noSeq extends SeqContextSensitive

    Permalink

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

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

    Permalink
  160. final def notify(): Unit

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

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

    Permalink
  163. 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
  164. def onlyAllowedMods(mods: collection.immutable.List[Mod], matchers: collection.immutable.List[(Mod) ⇒ Boolean], culprit: String): Unit

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

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

    Permalink
  167. object outPattern extends PatternContextSensitive

    Permalink

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

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

    Permalink
  169. def paramType(): Type

    Permalink
  170. def parseAmmonite(): MultiSource

    Permalink
  171. def parseCase(): Case

    Permalink
  172. def parseCtor(): Ctor

    Permalink
  173. def parseEnumerator(): Enumerator

    Permalink
  174. def parseImportee(): Importee

    Permalink
  175. def parseImporter(): Importer

    Permalink
  176. def parseInit(): Init

    Permalink
  177. def parseMod(): Mod

    Permalink
  178. def parsePat(): Pat

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

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

    Permalink
  181. def parseSelf(): Self

    Permalink
  182. def parseSource(): Source

    Permalink
  183. def parseStat(): Stat

    Permalink
  184. def parseTemplate(): Template

    Permalink
  185. def parseTerm(): Term

    Permalink
  186. def parseTermParam(): Param

    Permalink
  187. def parseType(): Type

    Permalink
  188. def parseTypeParam(): Param

    Permalink
  189. def parseUnquotePat(): Pat

    Permalink
  190. def parseUnquoteTerm(): Term

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

    Permalink
  192. implicit object patInfixContext extends InfixContext

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

    Permalink
  194. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  195. def patternTyp(): Type

    Permalink
  196. def patternTypeArgs(): ArgClause

    Permalink
  197. def peekIndex: Int

    Permalink
    Annotations
    @inline()
  198. def peekToken: Token

    Permalink
    Annotations
    @inline()
  199. def polyFunction(): PolyFunction

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

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

    Permalink
  202. def prevToken: Token

    Permalink
    Annotations
    @inline()
  203. def prevTokenPos: Int

    Permalink
    Annotations
    @inline()
  204. def primaryCtor(owner: TemplateOwner): Primary

    Permalink
  205. def qualId(): Term.Ref

    Permalink
  206. def quasiquoteCase(): Case

    Permalink
  207. def quasiquoteCtor(): Ctor

    Permalink
  208. def quasiquoteEnumerator(): Enumerator

    Permalink
  209. def quasiquoteExpr(): Term

    Permalink
  210. def quasiquoteImportee(): Importee

    Permalink
  211. def quasiquoteImporter(): Importer

    Permalink
  212. def quasiquoteInit(): Init

    Permalink
  213. def quasiquoteModifier(): Mod

    Permalink
  214. def quasiquotePattern(): Pat

    Permalink
  215. def quasiquoteSelf(): Self

    Permalink
  216. def quasiquoteSource(): Source

    Permalink
  217. def quasiquoteStat(): Stat

    Permalink
  218. def quasiquoteTemplate(): Template

    Permalink
  219. def quasiquoteTermParam(): Param

    Permalink
  220. def quasiquoteType(): Type

    Permalink
  221. def quasiquoteTypeParam(): Param

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

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

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

    Permalink
  225. 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
  226. def rejectModWith[M <: Mod](m2: Mod, mods: collection.Iterable[Mod], culpritOpt: ⇒ Option[String] = None)(implicit arg0: ClassTag[M], classifier: Classifier[Mod, M]): Unit

    Permalink
  227. lazy val reporter: Reporter

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

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

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

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

    Permalink
  232. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

    Permalink
  235. def source(): Source

    Permalink
  236. def stableId(): Term.Ref

    Permalink
  237. def startInfixType(): Type

    Permalink
  238. def startModType(): Type

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

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

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

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

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

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

    Permalink
  245. def template(owner: TemplateOwner, afterExtend: Boolean = false): Template

    Permalink
  246. def templateBodyOpt(owner: TemplateOwner): (Self, collection.immutable.List[Stat])

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

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

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

    Permalink
  250. object termInfixContext extends InfixContext

    Permalink
  251. def termName(): Term.Name

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

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

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

    Permalink
  255. def toString(): String

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

    Permalink
    Annotations
    @inline()
  257. def tokenPos: Int

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

    Permalink
  259. def topLevelTmplDef: Stat

    Permalink

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

  260. val topStat: PartialFunction[Token, Stat]

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

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

    Permalink
  263. def typ(): Type

    Permalink

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

  264. def typeBounds(): Bounds

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

    Permalink
  266. def typeIndentedOpt(): Type

    Permalink
  267. def typeName(): Type.Name

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

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

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

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

    Permalink
  272. def unquoteExpr(): Term

    Permalink
  273. def unquotePattern(): Pat

    Permalink
  274. def unquoteSeqPattern(): Pat

    Permalink
  275. final def wait(): Unit

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

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

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

    Permalink
  279. def xmlPat(): Xml

    Permalink
  280. def xmlTerm(): Xml

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