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]): Boolean

    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(location: Location): Term

    Permalink
  32. def argumentExprs(location: Location = NoStat): collection.immutable.List[Term]

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

    Permalink
  34. def argumentExprsWithUsing(location: Location = NoStat): (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 atCurPos[T <: Tree](body: ⇒ T): T

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

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

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

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

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

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

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

    Permalink
  46. def auto: AutoPos.type

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  61. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
  72. def endMarker(): Stat

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

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

    Permalink
  79. def entrypointCase(): Case

    Permalink
  80. def entrypointCtor(): Ctor

    Permalink
  81. def entrypointEnumerator(): Enumerator

    Permalink
  82. def entrypointExpr(): Term

    Permalink
  83. def entrypointImportee(): Importee

    Permalink
  84. def entrypointImporter(): Importer

    Permalink
  85. def entrypointInit(): Init

    Permalink
  86. def entrypointModifier(): Mod

    Permalink
  87. def entrypointPattern(): Pat

    Permalink
  88. def entrypointSelf(): Self

    Permalink
  89. def entrypointSource(): Source

    Permalink
  90. def entrypointStat(): Stat

    Permalink
  91. def entrypointTemplate(): Template

    Permalink
  92. def entrypointTermParam(): Param

    Permalink
  93. def entrypointType(): Type

    Permalink
  94. def entrypointTypeParam(): Param

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

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

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

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

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

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

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

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

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

    Permalink
  104. def exportStmt(): Stat

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

    Permalink
  106. def expr(): Term

    Permalink
  107. def exprSimpleType(): Type

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

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

    Permalink
  110. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  111. def followedByToken[T <: Token](implicit arg0: TokenInfo[T]): Boolean

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

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

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

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

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

    Permalink
  118. def hashCode(): Int

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

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

    Permalink
  121. def importStmt(): Import

    Permalink
  122. def importWildcardOrName(): Importee

    Permalink
  123. def importee(): Importee

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

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

    Permalink
  126. def importer(): Importer

    Permalink
  127. var in: TokenIterator

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

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

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

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

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

    Permalink
    Annotations
    @inline()
  133. def inParensOrTupleOrUnitExpr(allowRepeated: Boolean): Term

    Permalink
  134. final def indented[T](body: ⇒ T): T

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

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

    Permalink
  137. def initInsideConstructor(): Init

    Permalink
  138. def initInsideTemplate(): Init

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

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

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

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

    Permalink
  143. def interpolatePat(): Interpolate

    Permalink
  144. def interpolateTerm(): Interpolate

    Permalink
  145. def isAfterOptNewLine[T](implicit classifier: Classifier[Token, T]): Boolean

    Permalink
  146. def isAmpersand: Boolean

    Permalink
  147. def isBackquoted: Boolean

    Permalink
  148. def isBar: Boolean

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

    Permalink
  150. def isColonWildcardStar: Boolean

    Permalink
  151. def isIdent: Boolean

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

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

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

    Permalink
  155. final def isInstanceOf[T0]: Boolean

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

    Permalink
  157. def isStar: Boolean

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

    Permalink
  159. def isStarWildcard: Boolean

    Permalink
  160. def isUnaryOp: Boolean

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

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

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

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

    Permalink
  165. def macroQuote(): Term

    Permalink
  166. def macroQuotedIdent(): Term

    Permalink
  167. def macroSplice(): Term

    Permalink
  168. def macroSplicedIdent(): Term

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

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

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

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

    Permalink
  173. def mixinQualifier(): Name

    Permalink
  174. def modifier(): Mod

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

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

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

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

    Permalink
    Annotations
    @inline()
  179. def newLineOptWhenFollowedBy[T](implicit classifier: Classifier[Token, T]): Unit

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

    Permalink
  181. def newLinesOpt(): Unit

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

    Permalink
  183. def nextOnce(): Unit

    Permalink
  184. def nextThrice(): Unit

    Permalink
  185. def nextTwice(): Unit

    Permalink
  186. object noSeq extends SeqContextSensitive

    Permalink

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

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

    Permalink
  188. final def notify(): Unit

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

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

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

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

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

    Permalink
  195. object outPattern extends PatternContextSensitive

    Permalink

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

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

    Permalink
  197. def packageObjectDef(): Object

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

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

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

    Permalink
  201. def paramType(): Type

    Permalink
  202. def parseAmmonite(): MultiSource

    Permalink
  203. def parseCase(): Case

    Permalink
  204. def parseCtor(): Ctor

    Permalink
  205. def parseEnumerator(): Enumerator

    Permalink
  206. def parseImportee(): Importee

    Permalink
  207. def parseImporter(): Importer

    Permalink
  208. def parseInit(): Init

    Permalink
  209. def parseMod(): Mod

    Permalink
  210. def parsePat(): Pat

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

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

    Permalink
  213. def parseSelf(): Self

    Permalink
  214. def parseSource(): Source

    Permalink
  215. def parseStat(): Stat

    Permalink
  216. def parseTemplate(): Template

    Permalink
  217. def parseTerm(): Term

    Permalink
  218. def parseTermParam(): Param

    Permalink
  219. def parseType(): Type

    Permalink
  220. def parseTypeParam(): Param

    Permalink
  221. def parseUnquotePat(): Pat

    Permalink
  222. def parseUnquoteTerm(): Term

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

    Permalink
  224. implicit object patInfixContext extends InfixContext

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

    Permalink
  226. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  227. def patternTyp(): Type

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

    Permalink
  229. def polyFunction(): PolyFunction

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

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

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

    Permalink
  233. def qualId(): Term.Ref

    Permalink
  234. def quasiquoteCase(): Case

    Permalink
  235. def quasiquoteCtor(): Ctor

    Permalink
  236. def quasiquoteEnumerator(): Enumerator

    Permalink
  237. def quasiquoteExpr(): Term

    Permalink
  238. def quasiquoteImportee(): Importee

    Permalink
  239. def quasiquoteImporter(): Importer

    Permalink
  240. def quasiquoteInit(): Init

    Permalink
  241. def quasiquoteModifier(): Mod

    Permalink
  242. def quasiquotePattern(): Pat

    Permalink
  243. def quasiquoteSelf(): Self

    Permalink
  244. def quasiquoteSource(): Source

    Permalink
  245. def quasiquoteStat(): Stat

    Permalink
  246. def quasiquoteTemplate(): Template

    Permalink
  247. def quasiquoteTermParam(): Param

    Permalink
  248. def quasiquoteType(): Type

    Permalink
  249. def quasiquoteTypeParam(): Param

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

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

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

    Permalink
  253. 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
  254. lazy val reporter: Reporter

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

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

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

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

    Permalink
  259. def self(): Self

    Permalink
  260. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

    Permalink
  263. def source(): Source

    Permalink
  264. def stableId(): Term.Ref

    Permalink
  265. def startInfixType(): Type

    Permalink
  266. def startModType(): Type

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  280. object termInfixContext extends InfixContext

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

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

    Permalink
  283. def toString(): String

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

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

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

    Permalink
  287. def topLevelTmplDef: Stat

    Permalink

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

  288. def topStat: PartialFunction[Token, Stat]

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

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

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

    Permalink
  292. def typ(): Type

    Permalink

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

  293. def typeBounds(): Bounds

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

    Permalink
  295. def typeIndentedOpt(): Type

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

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

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

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

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

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

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

    Permalink
  303. def unquoteExpr(): Term

    Permalink
  304. def unquotePattern(): Pat

    Permalink
  305. def unquoteXmlExpr(): Term

    Permalink
  306. def unquoteXmlPattern(): Pat

    Permalink
  307. final def wait(): Unit

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

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

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

    Permalink
  311. def xmlPat(): Xml

    Permalink
  312. object xmlSeqOK extends SeqContextSensitive

    Permalink

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

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

    Permalink
  314. def xmlTerm(): Xml

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