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 block(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term

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

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

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

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

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

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

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

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

    Permalink
  58. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
  69. def endMarker(): Stat

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

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

    Permalink
  76. def entrypointCase(): Case

    Permalink
  77. def entrypointCtor(): Ctor

    Permalink
  78. def entrypointEnumerator(): Enumerator

    Permalink
  79. def entrypointExpr(): Term

    Permalink
  80. def entrypointImportee(): Importee

    Permalink
  81. def entrypointImporter(): Importer

    Permalink
  82. def entrypointInit(): Init

    Permalink
  83. def entrypointModifier(): Mod

    Permalink
  84. def entrypointPattern(): Pat

    Permalink
  85. def entrypointSelf(): Self

    Permalink
  86. def entrypointSource(): Source

    Permalink
  87. def entrypointStat(): Stat

    Permalink
  88. def entrypointTemplate(): Template

    Permalink
  89. def entrypointTermParam(): Param

    Permalink
  90. def entrypointType(): Type

    Permalink
  91. def entrypointTypeParam(): Param

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

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

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

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

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

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

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

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

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

    Permalink
  101. def exportStmt(): Stat

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

    Permalink
  103. def expr(): Term

    Permalink
  104. def exprSimpleType(): Type

    Permalink
  105. def exprTypeArgs(): ArgClause

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

    Permalink
  107. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
  116. def importStmt(): Import

    Permalink
  117. def importWildcardOrName(): Importee

    Permalink
  118. def importee(): Importee

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

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

    Permalink
  121. def importer(): Importer

    Permalink
  122. var in: TokenIterator

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

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

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

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

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

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

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

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

    Permalink
  131. def initInsideConstructor(): Init

    Permalink
  132. def initInsideTemplate(): Init

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

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

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

    Permalink
  136. def interpolatePat(): Interpolate

    Permalink
  137. def interpolateTerm(): Interpolate

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

    Permalink
  139. def isBar: Boolean

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

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

    Permalink
  142. final def isInstanceOf[T0]: Boolean

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

    Permalink
  144. def isStar: Boolean

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

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

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

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

    Permalink
  149. def macroQuote(): Term

    Permalink
  150. def macroSplice(): Term

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

    Permalink
  152. def mixinQualifier(): Name

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

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

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

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

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

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

    Permalink
  159. def newLinesOpt(): Unit

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

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

    Permalink
  162. object noSeq extends SeqContextSensitive

    Permalink

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

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

    Permalink
  164. final def notify(): Unit

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

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

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

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

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

    Permalink
  171. object outPattern extends PatternContextSensitive

    Permalink

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

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

    Permalink
  173. def paramType(): Type

    Permalink
  174. def parseAmmonite(): MultiSource

    Permalink
  175. def parseCase(): Case

    Permalink
  176. def parseCtor(): Ctor

    Permalink
  177. def parseEnumerator(): Enumerator

    Permalink
  178. def parseImportee(): Importee

    Permalink
  179. def parseImporter(): Importer

    Permalink
  180. def parseInit(): Init

    Permalink
  181. def parseMod(): Mod

    Permalink
  182. def parsePat(): Pat

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

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

    Permalink
  185. def parseSelf(): Self

    Permalink
  186. def parseSource(): Source

    Permalink
  187. def parseStat(): Stat

    Permalink
  188. def parseTemplate(): Template

    Permalink
  189. def parseTerm(): Term

    Permalink
  190. def parseTermParam(): Param

    Permalink
  191. def parseType(): Type

    Permalink
  192. def parseTypeParam(): Param

    Permalink
  193. def parseUnquotePat(): Pat

    Permalink
  194. def parseUnquoteTerm(): Term

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

    Permalink
  196. implicit object patInfixContext extends InfixContext

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

    Permalink
  198. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  199. def patternTyp(): Type

    Permalink
  200. def patternTypeArgs(): ArgClause

    Permalink
  201. def peekIndex: Int

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

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

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

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

    Permalink
  206. def prevToken: Token

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

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

    Permalink
  209. def qualId(): Term.Ref

    Permalink
  210. def quasiquoteCase(): Case

    Permalink
  211. def quasiquoteCtor(): Ctor

    Permalink
  212. def quasiquoteEnumerator(): Enumerator

    Permalink
  213. def quasiquoteExpr(): Term

    Permalink
  214. def quasiquoteImportee(): Importee

    Permalink
  215. def quasiquoteImporter(): Importer

    Permalink
  216. def quasiquoteInit(): Init

    Permalink
  217. def quasiquoteModifier(): Mod

    Permalink
  218. def quasiquotePattern(): Pat

    Permalink
  219. def quasiquoteSelf(): Self

    Permalink
  220. def quasiquoteSource(): Source

    Permalink
  221. def quasiquoteStat(): Stat

    Permalink
  222. def quasiquoteTemplate(): Template

    Permalink
  223. def quasiquoteTermParam(): Param

    Permalink
  224. def quasiquoteType(): Type

    Permalink
  225. def quasiquoteTypeParam(): Param

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

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

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

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

    Permalink
  231. lazy val reporter: Reporter

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

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

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

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

    Permalink
  236. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

    Permalink
  239. def source(): Source

    Permalink
  240. def stableId(): Term.Ref

    Permalink
  241. def startInfixType(): Type

    Permalink
  242. def startModType(): Type

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  254. object termInfixContext extends InfixContext

    Permalink
  255. def termName(): Term.Name

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

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

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

    Permalink
  259. def toString(): String

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

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

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

    Permalink
  263. def topLevelTmplDef: Stat

    Permalink

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

  264. val topStat: PartialFunction[Token, Stat]

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

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

    Permalink
  267. def typ(): Type

    Permalink

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

  268. def typeBounds(): Bounds

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

    Permalink
  270. def typeIndentedOpt(): Type

    Permalink
  271. def typeName(): Type.Name

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

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

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

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

    Permalink
  276. def unquoteExpr(): Term

    Permalink
  277. def unquotePattern(): Pat

    Permalink
  278. def unquoteSeqPattern(): Pat

    Permalink
  279. final def wait(): Unit

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

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

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

    Permalink
  283. def xmlPat(): Xml

    Permalink
  284. def xmlTerm(): Xml

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