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
  6. implicit class XtensionToken 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. object OwnedByCaseClass extends TemplateOwner

    Permalink
  9. object OwnedByClass extends TemplateOwner

    Permalink
  10. object OwnedByEnum extends TemplateOwner

    Permalink
  11. object OwnedByObject extends TemplateOwner

    Permalink
  12. object OwnedByTrait extends TemplateOwner

    Permalink
  13. def accept[T <: Token](implicit arg0: ClassTag[T]): Unit

    Permalink

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

  14. def acceptStatSep(): Unit

    Permalink
  15. def acceptStatSepOpt(): Unit

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

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

    Permalink
  19. def argumentPattern(): Pat

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

    Permalink
  21. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

    Permalink
  32. def auto: AutoPos.type

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

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

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

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

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

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

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

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

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

    Permalink
  42. def bound[T](implicit arg0: ClassTag[T]): Option[Type]

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

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

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

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

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

    Permalink
  48. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Permalink
  57. def ellipsis[T <: Tree](ell: Ellipsis)(implicit arg0: AstInfo[T], arg1: ClassTag[T]): T

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

    Permalink
  59. def endMarker(): Stat

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

    Permalink
  61. 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
  62. 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
  63. 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
  64. 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
  65. def entryPointAmmonite(): MultiSource

    Permalink
  66. def entrypointCase(): Case

    Permalink
  67. def entrypointCtor(): Ctor

    Permalink
  68. def entrypointEnumerator(): Enumerator

    Permalink
  69. def entrypointExpr(): Term

    Permalink
  70. def entrypointImportee(): Importee

    Permalink
  71. def entrypointImporter(): Importer

    Permalink
  72. def entrypointInit(): Init

    Permalink
  73. def entrypointModifier(): Mod

    Permalink
  74. def entrypointPattern(): Pat

    Permalink
  75. def entrypointSelf(): Self

    Permalink
  76. def entrypointSource(): Source

    Permalink
  77. def entrypointStat(): Stat

    Permalink
  78. def entrypointTemplate(): Template

    Permalink
  79. def entrypointTermParam(): Param

    Permalink
  80. def entrypointType(): Type

    Permalink
  81. def entrypointTypeParam(): Param

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

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

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

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

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

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

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

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

    Permalink
  90. def expect[T <: Token](implicit arg0: ClassTag[T]): Unit

    Permalink
  91. def exportStmt(): Stat

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

    Permalink
  93. def expr(): Term

    Permalink
  94. def exprSimpleType(): Type

    Permalink
  95. def exprTypeArgs(): ArgClause

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

    Permalink
  97. def finalize(): Unit

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

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

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

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

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

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

    Permalink
  105. def importStmt(): Import

    Permalink
  106. def importWildcardOrName(): Importee

    Permalink
  107. def importee(): Importee

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

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

    Permalink
  110. def importer(): Importer

    Permalink
  111. var in: TokenIterator

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

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

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

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

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

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

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

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

    Permalink
  120. def initInsideConstructor(): Init

    Permalink
  121. def initInsideTemplate(): Init

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

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

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

    Permalink
  125. def interpolatePat(): Interpolate

    Permalink
  126. def interpolateTerm(): Interpolate

    Permalink
  127. def isAfterOptNewLine(body: (Token) ⇒ Boolean): Boolean

    Permalink
  128. def isAfterOptNewLine[T](implicit arg0: ClassTag[T]): Boolean

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

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

    Permalink
  131. final def isInstanceOf[T0]: Boolean

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

    Permalink
  133. def isStar: Boolean

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

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

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

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

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

    Permalink
  139. def mixinQualifier(): Name

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

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

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

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

    Permalink
    Annotations
    @inline()
  144. def newLineOptWhenFollowedBy[T](implicit arg0: ClassTag[T]): Unit

    Permalink
  145. def newLineOptWhenFollowedBy(unapply: (Token) ⇒ Boolean): Unit

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

    Permalink
  147. def newLinesOpt(): Unit

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

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

    Permalink
  150. object noSeq extends SeqContextSensitive

    Permalink

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

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

    Permalink
  152. final def notify(): Unit

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

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

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

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

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

    Permalink
  159. object outPattern extends PatternContextSensitive

    Permalink

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

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

    Permalink
  161. def paramType(): Type

    Permalink
  162. def parseAmmonite(): MultiSource

    Permalink
  163. def parseCase(): Case

    Permalink
  164. def parseCtor(): Ctor

    Permalink
  165. def parseEnumerator(): Enumerator

    Permalink
  166. def parseImportee(): Importee

    Permalink
  167. def parseImporter(): Importer

    Permalink
  168. def parseInit(): Init

    Permalink
  169. def parseMod(): Mod

    Permalink
  170. def parsePat(): Pat

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

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

    Permalink
  173. def parseSelf(): Self

    Permalink
  174. def parseSource(): Source

    Permalink
  175. def parseStat(): Stat

    Permalink
  176. def parseTemplate(): Template

    Permalink
  177. def parseTerm(): Term

    Permalink
  178. def parseTermParam(): Param

    Permalink
  179. def parseType(): Type

    Permalink
  180. def parseTypeParam(): Param

    Permalink
  181. def parseUnquotePat(): Pat

    Permalink
  182. def parseUnquoteTerm(): Term

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

    Permalink
  184. implicit object patInfixContext extends InfixContext

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

    Permalink
  186. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  187. def patternTyp(): Type

    Permalink
  188. def patternTypeArgs(): ArgClause

    Permalink
  189. def peekIndex: Int

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

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

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

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

    Permalink
  194. def prevToken: Token

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

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

    Permalink
  197. def qualId(): Term.Ref

    Permalink
  198. def quasiquoteCase(): Case

    Permalink
  199. def quasiquoteCtor(): Ctor

    Permalink
  200. def quasiquoteEnumerator(): Enumerator

    Permalink
  201. def quasiquoteExpr(): Term

    Permalink
  202. def quasiquoteImportee(): Importee

    Permalink
  203. def quasiquoteImporter(): Importer

    Permalink
  204. def quasiquoteInit(): Init

    Permalink
  205. def quasiquoteModifier(): Mod

    Permalink
  206. def quasiquotePattern(): Pat

    Permalink
  207. def quasiquoteSelf(): Self

    Permalink
  208. def quasiquoteSource(): Source

    Permalink
  209. def quasiquoteStat(): Stat

    Permalink
  210. def quasiquoteTemplate(): Template

    Permalink
  211. def quasiquoteTermParam(): Param

    Permalink
  212. def quasiquoteType(): Type

    Permalink
  213. def quasiquoteTypeParam(): Param

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

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

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

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

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

    Permalink
  219. final lazy val reporter: Reporter

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

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

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

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

    Permalink
  224. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

    Permalink
  227. def source(): Source

    Permalink
  228. def stableId(): Term.Ref

    Permalink
  229. def startInfixType(): Type

    Permalink
  230. def startModType(): Type

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  242. object termInfixContext extends InfixContext

    Permalink
  243. def termName(): Term.Name

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

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

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

    Permalink
  247. def toString(): String

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

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

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

    Permalink
  251. def topLevelTmplDef: Stat

    Permalink

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

  252. val topStat: PartialFunction[Token, Stat]

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

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

    Permalink
  255. def typ(): Type

    Permalink

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

  256. def typeBounds(): Bounds

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

    Permalink
  258. def typeIndentedOpt(): Type

    Permalink
  259. def typeName(): Type.Name

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

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

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

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

    Permalink
  264. def unquoteExpr(): Term

    Permalink
  265. def unquotePattern(): Pat

    Permalink
  266. def unquoteSeqPattern(): Pat

    Permalink
  267. final def wait(): Unit

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

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

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

    Permalink
  271. def xmlPat(): Xml

    Permalink
  272. def xmlTerm(): Xml

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