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 MacroQuotedIdent extends AnyRef

    Permalink
  4. trait MacroSplicedIdent extends AnyRef

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

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

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

    Permalink
  17. object MacroSplicedIdent

    Permalink
  18. object OwnedByCaseClass extends TemplateOwner

    Permalink
  19. object OwnedByClass extends TemplateOwner

    Permalink
  20. object OwnedByEnum extends TemplateOwner

    Permalink
  21. object OwnedByObject extends TemplateOwner

    Permalink
  22. object OwnedByTrait extends TemplateOwner

    Permalink
  23. object StartPosPrev extends StartPos with Product with Serializable

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

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

    Permalink

    If current token is T consume it.

  26. def acceptStatSep(): Unit

    Permalink
  27. def acceptStatSepOpt(): Unit

    Permalink
  28. def accessModifier(): Mod

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

    Permalink
  31. def argumentExpr(): Term

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

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

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

    Permalink
  35. def argumentPattern(): Pat

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

    Permalink
  37. final def asInstanceOf[T0]: T0

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

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

    Permalink
  40. def atPos[T <: Tree](tree: Tree)(body: ⇒ T): T

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

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

    Permalink
  43. def auto: AutoPos.type

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

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

    Permalink
  46. def batchSource(statpf: PartialFunction[Token, Stat] = topStat): Source

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

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

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

    Permalink
  50. def bound[T <: Token](implicit arg0: TokenInfo[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: Term.Name, leftAssoc: Boolean): Unit

    Permalink
  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. def condExpr(): Term

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  70. def endMarker(): Stat

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

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

    Permalink
  77. def entrypointCase(): Case

    Permalink
  78. def entrypointCtor(): Ctor

    Permalink
  79. def entrypointEnumerator(): Enumerator

    Permalink
  80. def entrypointExpr(): Term

    Permalink
  81. def entrypointImportee(): Importee

    Permalink
  82. def entrypointImporter(): Importer

    Permalink
  83. def entrypointInit(): Init

    Permalink
  84. def entrypointModifier(): Mod

    Permalink
  85. def entrypointPattern(): Pat

    Permalink
  86. def entrypointSelf(): Self

    Permalink
  87. def entrypointSource(): Source

    Permalink
  88. def entrypointStat(): Stat

    Permalink
  89. def entrypointTemplate(): Template

    Permalink
  90. def entrypointTermParam(): Param

    Permalink
  91. def entrypointType(): Type

    Permalink
  92. def entrypointTypeParam(): Param

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

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

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

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

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

    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(): collection.immutable.List[Type]

    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 followedByToken[T <: Token](implicit arg0: TokenInfo[T]): Boolean

    Permalink
  110. 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()
  111. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat

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

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

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

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

    Permalink
  116. def hashCode(): Int

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

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

    Permalink
  119. def importStmt(): Import

    Permalink
  120. def importWildcardOrName(): Importee

    Permalink
  121. def importee(): Importee

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

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

    Permalink
  124. def importer(): Importer

    Permalink
  125. var in: TokenIterator

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  139. def initInsideConstructor(): Init

    Permalink
  140. def initInsideTemplate(): Init

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

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

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

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

    Permalink
  145. def interpolatePat(): Interpolate

    Permalink
  146. def interpolateTerm(): Interpolate

    Permalink
  147. def isAmpersand: Boolean

    Permalink
  148. def isBackquoted: Boolean

    Permalink
  149. def isBar: Boolean

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

    Permalink
  151. def isColonWildcardStar: Boolean

    Permalink
  152. def isIdent: Boolean

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

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

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

    Permalink
  156. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  157. def isSpliceFollowedBy(check: ⇒ Boolean): Boolean

    Permalink
  158. def isStar: Boolean

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

    Permalink
  160. def isStarWildcard: Boolean

    Permalink
  161. def isUnaryOp: Boolean

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

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

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

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

    Permalink
  166. def macroQuote(): Term

    Permalink
  167. def macroQuotedIdent(): Term

    Permalink
  168. def macroSplice(): Term

    Permalink
  169. def macroSplicedIdent(): Term

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

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

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

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

    Permalink
  174. def mixinQualifier(): Name

    Permalink
  175. def modifier(): Mod

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

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

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

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

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

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

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

    Permalink
  183. def newLinesOpt(): Unit

    Permalink
  184. def next(): Unit

    Permalink
  185. def nextOnce(): Unit

    Permalink
  186. def nextThrice(): Unit

    Permalink
  187. def nextTwice(): Unit

    Permalink
  188. object noSeq extends SeqContextSensitive

    Permalink

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

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

    Permalink
  190. final def notify(): Unit

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

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

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

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

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

    Permalink
  197. object outPattern extends PatternContextSensitive

    Permalink

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

  198. def packageDef(statpf: PartialFunction[Token, Stat]): Pkg

    Permalink
  199. def packageObjectDef(): Object

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

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

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

    Permalink
  203. def paramType(): Type

    Permalink
  204. def parseAmmonite(): MultiSource

    Permalink
  205. def parseCase(): Case

    Permalink
  206. def parseCtor(): Ctor

    Permalink
  207. def parseEnumerator(): Enumerator

    Permalink
  208. def parseImportee(): Importee

    Permalink
  209. def parseImporter(): Importer

    Permalink
  210. def parseInit(): Init

    Permalink
  211. def parseMod(): Mod

    Permalink
  212. def parsePat(): Pat

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

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

    Permalink
  215. def parseSelf(): Self

    Permalink
  216. def parseSource(): Source

    Permalink
  217. def parseStat(): Stat

    Permalink
  218. def parseTemplate(): Template

    Permalink
  219. def parseTerm(): Term

    Permalink
  220. def parseTermParam(): Param

    Permalink
  221. def parseType(): Type

    Permalink
  222. def parseTypeParam(): Param

    Permalink
  223. def parseUnquotePat(): Pat

    Permalink
  224. def parseUnquoteTerm(): Term

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

    Permalink
  226. implicit object patInfixContext extends InfixContext

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

    Permalink
  228. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  229. def patternTyp(): Type

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

    Permalink
  231. def polyFunction(): PolyFunction

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

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

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

    Permalink
  235. def qualId(): Term.Ref

    Permalink
  236. def quasiquoteCase(): Case

    Permalink
  237. def quasiquoteCtor(): Ctor

    Permalink
  238. def quasiquoteEnumerator(): Enumerator

    Permalink
  239. def quasiquoteExpr(): Term

    Permalink
  240. def quasiquoteImportee(): Importee

    Permalink
  241. def quasiquoteImporter(): Importer

    Permalink
  242. def quasiquoteInit(): Init

    Permalink
  243. def quasiquoteModifier(): Mod

    Permalink
  244. def quasiquotePattern(): Pat

    Permalink
  245. def quasiquoteSelf(): Self

    Permalink
  246. def quasiquoteSource(): Source

    Permalink
  247. def quasiquoteStat(): Stat

    Permalink
  248. def quasiquoteTemplate(): Template

    Permalink
  249. def quasiquoteTermParam(): Param

    Permalink
  250. def quasiquoteType(): Type

    Permalink
  251. def quasiquoteTypeParam(): Param

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

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

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

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

    Permalink
  256. 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
  257. lazy val reporter: Reporter

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

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

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

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

    Permalink
  262. def self(): Self

    Permalink
  263. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

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

    Permalink
  267. def source(): Source

    Permalink
  268. def stableId(): Term.Ref

    Permalink
  269. def startInfixType(): Type

    Permalink
  270. def startModType(): Type

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  284. object termInfixContext extends InfixContext

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

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

    Permalink
  287. def toString(): String

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

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

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

    Permalink
  291. def topLevelTmplDef: Stat

    Permalink

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

  292. def topStat: PartialFunction[Token, Stat]

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

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

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

    Permalink
  296. def typ(): Type

    Permalink

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

  297. def typeBounds(): Bounds

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

    Permalink
  299. def typeIndentedOpt(): Type

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

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

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

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

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

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

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

    Permalink
  307. def unquoteExpr(): Term

    Permalink
  308. def unquotePattern(): Pat

    Permalink
  309. def unquoteXmlExpr(): Term

    Permalink
  310. def unquoteXmlPattern(): Pat

    Permalink
  311. final def wait(): Unit

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

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

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

    Permalink
  315. def xmlPat(): Xml

    Permalink
  316. object xmlSeqOK extends SeqContextSensitive

    Permalink

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

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

    Permalink
  318. def xmlTerm(): Xml

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