Packages

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

Instance Constructors

  1. new ScalametaParser(input: Input)(implicit dialect: Dialect)

Type Members

  1. trait CanContinueOnNextLine extends AnyRef
  2. trait CanEndStat extends AnyRef
  3. trait CanStartColonEol extends AnyRef
  4. trait CanStartIndent extends AnyRef
  5. trait CantStartStat extends AnyRef
  6. trait CaseDefEnd extends AnyRef
  7. trait CaseIntro extends AnyRef
  8. trait CloseDelim extends AnyRef
  9. trait DclIntro extends AnyRef
  10. trait DefIntro extends AnyRef
  11. trait EndMarkerIntro extends AnyRef
  12. trait EndMarkerWord extends AnyRef
  13. trait ExprIntro extends AnyRef
  14. case class IndexPos(index: Int) extends Pos with Product with Serializable
  15. sealed abstract class InfixContext extends AnyRef
  16. trait InlineMatchMod extends AnyRef
  17. class InvalidModCombination[M1 <: Mod, M2 <: Mod] extends AnyRef
  18. trait KwExtension extends AnyRef
  19. class LazyTokenIterator extends TokenIterator
  20. trait LineEnd extends AnyRef
  21. trait Literal extends AnyRef
  22. trait LocalModifier extends AnyRef
  23. trait MacroQuotedIdent extends AnyRef
  24. trait MacroSplicedIdent extends AnyRef
  25. trait Modifier extends AnyRef
  26. trait MultilineComment extends AnyRef
  27. trait NonParamsModifier extends AnyRef
  28. trait NonlocalModifier extends AnyRef
  29. trait NumericLiteral extends AnyRef
  30. trait PatternContextSensitive extends AnyRef

    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.

  31. sealed trait Pos extends AnyRef
  32. case class RegionBrace(indent: Int, indentOnArrow: Boolean) extends SepRegion with Product with Serializable
  33. case class RegionCase(indent: Int) extends SepRegion with Product with Serializable
  34. case class RegionEnum(indent: Int) extends SepRegion with Product with Serializable
  35. case class RegionIndent(indent: Int, closeOnNonCase: Boolean) extends SepRegion with Product with Serializable
  36. case class RegionIndentEnum(indent: Int) extends SepRegion with Product with Serializable
  37. sealed trait SepRegion extends AnyRef
  38. trait SeqContextSensitive extends PatternContextSensitive

    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.

  39. trait SoftModifier extends AnyRef
  40. trait StatSep extends AnyRef
  41. trait StatSeqEnd extends AnyRef
  42. trait StopScanToken extends AnyRef
  43. trait TemplateIntro extends AnyRef
  44. sealed trait TemplateOwner extends AnyRef
  45. trait TokenIterator extends Iterator[Token]
  46. case class TokenPos(token: Token) extends Pos with Product with Serializable
  47. case class TokenRef(token: Token, pos: Int, nextPos: Int, pointPos: Int) extends Product with Serializable
  48. case class TreePos(tree: Tree) extends Pos with Product with Serializable
  49. trait Trivia extends AnyRef
  50. trait TypeIntro extends AnyRef
  51. trait Whitespace extends AnyRef
  52. implicit class XtensionTokenIndex extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ScalametaParser toany2stringadd[ScalametaParser] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ScalametaParser, B)
    Implicit
    This member is added by an implicit conversion from ScalametaParser toArrowAssoc[ScalametaParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def accept[T <: Token](implicit arg0: TokenInfo[T]): Unit

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

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

    If current token is T consume it.

  8. def acceptStatSep(): Unit
  9. def acceptStatSepOpt(): Unit
  10. def accessModifier(): Mod
  11. final def ahead[T](body: => T): T

    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()
  12. def annots(skipNewLines: Boolean, allowArgss: Boolean = true): collection.immutable.List[Annot]
  13. def argumentExpr(): Term
  14. def argumentExprs(): collection.immutable.List[Term]
  15. def argumentExprsOrPrefixExpr(): collection.immutable.List[Term]
  16. def argumentExprsWithUsing(): (collection.immutable.List[Term], Boolean)
  17. def argumentPattern(): Pat
  18. def argumentPatterns(): collection.immutable.List[Pat]
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def atPos[T <: Tree](start: Pos, end: Pos)(body: => T): T
  21. def atPos[T <: Tree](token: Token)(body: => T): T
  22. def atPos[T <: Tree](pos: Position)(body: => T): T
  23. def atPosTry[T <: Tree](start: Pos, end: Pos)(body: => Try[T]): Try[T]
  24. def auto: AutoPos
  25. def autoPos[T <: Tree](body: => T): T
  26. def autoPosTry[T <: Tree](body: => Try[T]): Try[T]
  27. def batchSource(): Source
  28. def block(isBlockOptional: Boolean = false): Term
  29. def blockExpr(isBlockOptional: Boolean = false): Term
  30. def blockStatSeq(): collection.immutable.List[Stat]
  31. def bound[T <: Token](implicit arg0: TokenInfo[T]): Option[Type]
  32. def caseClause(forceSingleExpr: Boolean = false): Case
  33. def caseClauses(): collection.immutable.List[Case]
  34. def checkAssoc(op: Term.Name, leftAssoc: Boolean): Unit
  35. def classDef(mods: collection.immutable.List[Mod]): Class
  36. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  37. final def commaSeparated[T <: Tree](part: => T)(implicit arg0: AstInfo[T]): collection.immutable.List[T]
    Annotations
    @inline()
  38. def condExpr(): Term
  39. def condExprInParens[T <: Token](implicit arg0: TokenInfo[T]): Term
  40. def constrBlock(): (Init, collection.immutable.List[Stat])
  41. def constrExpr(): (Init, collection.immutable.List[Stat])
  42. def constrIndent(): (Init, collection.immutable.List[Stat])
  43. def constrInternal(): (Init, collection.immutable.List[Stat])
  44. def constructorAnnots(): collection.immutable.List[Annot]
  45. def ctorModifiers(): Option[Mod]
  46. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod], enumCaseAllowed: Boolean = false): Stat
  47. def derivesClasses(): collection.immutable.List[Type]
  48. final def dropAnyBraces[T](body: => T): T
    Annotations
    @inline()
  49. def dropTrivialBlock(term: Term): Term
  50. def ellipsis[T <: Tree](rank: Int, astInfo: AstInfo[T], extraSkip: => Unit = {})(implicit arg0: AstInfo[T]): T
  51. def endMarker(): Stat
  52. def ensureEarlyDef(tree: Stat): Stat
  53. def ensuring(cond: (ScalametaParser) => Boolean, msg: => Any): ScalametaParser
    Implicit
    This member is added by an implicit conversion from ScalametaParser toEnsuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  54. def ensuring(cond: (ScalametaParser) => Boolean): ScalametaParser
    Implicit
    This member is added by an implicit conversion from ScalametaParser toEnsuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  55. def ensuring(cond: Boolean, msg: => Any): ScalametaParser
    Implicit
    This member is added by an implicit conversion from ScalametaParser toEnsuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  56. def ensuring(cond: Boolean): ScalametaParser
    Implicit
    This member is added by an implicit conversion from ScalametaParser toEnsuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  57. def entrypointCase(): Case
  58. def entrypointCtor(): Ctor
  59. def entrypointEnumerator(): Enumerator
  60. def entrypointExpr(): Term
  61. def entrypointImportee(): Importee
  62. def entrypointImporter(): Importer
  63. def entrypointInit(): Init
  64. def entrypointModifier(): Mod
  65. def entrypointPattern(): Pat
  66. def entrypointSelf(): Self
  67. def entrypointSource(): Source
  68. def entrypointStat(): Stat
  69. def entrypointTemplate(): Template
  70. def entrypointTermParam(): Param
  71. def entrypointType(): Type
  72. def entrypointTypeParam(): Param
  73. def enumCaseDef(mods: collection.immutable.List[Mod]): Stat
  74. def enumDef(mods: collection.immutable.List[Mod]): Enum
  75. def enumRepeatedCaseDef(mods: collection.immutable.List[Mod]): RepeatedEnumCase
  76. def enumSingleCaseDef(mods: collection.immutable.List[Mod]): EnumCase
  77. def enumerator(isFirst: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]
  78. def enumerators(): collection.immutable.List[Enumerator]
  79. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  80. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  81. def existentialStats(): collection.immutable.List[Stat]
  82. def exportStmt(): Stat
  83. def expr(location: Location, allowRepeated: Boolean): Term
  84. def expr(): Term
  85. def exprSimpleType(): Type
  86. def exprTypeArgs(): collection.immutable.List[Type]
  87. def extensionGroupDecl(mods: collection.immutable.List[Mod]): ExtensionGroup
  88. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  89. def followedByToken[T <: Token](implicit arg0: TokenInfo[T]): Boolean
  90. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ScalametaParser toStringFormat[ScalametaParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  91. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat
  92. def funDefRest(mods: collection.immutable.List[Mod]): Stat
  93. def generator(eqOK: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]
  94. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  95. def guard(): Option[Term]
  96. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  97. def ifClause(mods: collection.immutable.List[Mod] = Nil): If
  98. def implicitClosure(location: Location): Term.Function
  99. def importStmt(): Import
  100. def importWildcardOrName(): Importee
  101. def importee(): Importee
  102. def importeeRename(from: Name): Importee
  103. def importees(): collection.immutable.List[Importee]
  104. def importer(): Importer
  105. var in: TokenIterator
  106. final def inBraces[T](body: => T): T
    Annotations
    @inline()
  107. final def inBracesOrError[T](body: => T, alt: T): T
    Annotations
    @inline()
  108. final def inBracesOrNil[T](body: => collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  109. final def inBracesOrUnit[T](body: => Term): Term
    Annotations
    @inline()
  110. final def inBrackets[T](body: => T): T
    Annotations
    @inline()
  111. final def inParens[T](body: => T): T

    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()
  112. final def inParensOrError[T](body: => T, alt: T): T
    Annotations
    @inline()
  113. final def inParensOrNil[T](body: => collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  114. def inParensOrTupleOrUnit(location: Location, allowRepeated: Boolean): Term
  115. final def inParensOrUnit[T, Ret >: Lit](body: => Ret): Ret
    Annotations
    @inline()
  116. final def indented[T](body: => T): T
    Annotations
    @inline()
  117. def init(): Init
  118. def initInsideAnnotation(allowArgss: Boolean): Init
  119. def initInsideConstructor(): Init
  120. def initInsideTemplate(): Init
  121. def initRest(typeParser: () => Type, allowArgss: Boolean, allowBraces: Boolean): Init
  122. def inlineMatchClause(inlineMods: collection.immutable.List[Mod]): Match

    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.

  123. implicit def intToIndexPos(index: Int): IndexPos
  124. def interpolate[Ctx <: Tree, Ret <: Tree](arg: () => Ctx, result: (Term.Name, collection.immutable.List[Lit], collection.immutable.List[Ctx]) => Ret): Ret
  125. def interpolatePat(): Interpolate
  126. def interpolateTerm(): Interpolate
  127. def isAmpersand: Boolean
  128. def isBackquoted: Boolean
  129. def isBar: Boolean
  130. def isColonEol(token: Token): Boolean
  131. def isColonWildcardStar: Boolean
  132. def isIdent: Boolean
  133. def isIdentAnd(pred: (String) => Boolean): Boolean
  134. def isIdentExcept(except: String): Boolean
  135. def isIdentOf(name: String): Boolean
  136. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  137. def isMultilinePos(p: Position): Boolean
  138. def isSpliceFollowedBy(check: => Boolean): Boolean
  139. def isStar: Boolean
  140. def isStarWildcard(token: Token): Boolean
  141. def isStarWildcard: Boolean
  142. def isUnaryOp: Boolean
  143. def isVarargStarParam(allowRepeated: Boolean): Boolean
  144. def literal(isNegated: Boolean = false): Lit
  145. def localDef(implicitMod: Option[Implicit]): Stat
  146. def localModifiers(): collection.immutable.List[Mod]
  147. def macroQuote(): Term
  148. def macroQuotedIdent(): Term
  149. def macroSplice(): Term
  150. def macroSplicedIdent(): Term
  151. def makeTuple[T <: Tree](body: collection.immutable.List[T], zero: () => T, tuple: (collection.immutable.List[T]) => T): T
  152. def makeTupleTerm(body: collection.immutable.List[Term]): Term
  153. def makeTupleType(body: collection.immutable.List[Type]): Type
  154. def matchClause(t: Term): Match
  155. def mixinQualifier(): Name
  156. def modifier(): Mod
  157. def modifiers(isLocal: Boolean = false, isTparam: Boolean = false, isParams: Boolean = false): collection.immutable.List[Mod]
  158. implicit def modsToPos(mods: collection.immutable.List[Mod]): Pos
  159. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  160. def newLineOpt(): Unit
  161. def newLineOptWhenFollowedBy[T <: Token](implicit arg0: TokenInfo[T]): Unit
  162. def newLineOptWhenFollowedBySignificantIndentationAnd(cond: (Token) => Boolean): Unit
  163. def newLineOptWhenFollowing(p: (Token) => Boolean): Unit
  164. def newLinesOpt(): Unit
  165. def next(): Token
  166. def nextOnce(): Token
  167. def nextThrice(): Token
  168. def nextTwice(): Token
  169. def nonLocalDefOrDcl(enumCaseAllowed: Boolean = false): Stat
  170. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  171. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  172. def objectDef(mods: collection.immutable.List[Mod]): Object
  173. 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
  174. def onlyAllowedMods[M1 <: Mod, M2 <: Mod](mods: collection.immutable.List[Mod], culprit: String)(implicit classifier1: Classifier[Mod, M1], tag1: ClassTag[M1], classifier2: Classifier[Mod, M2], tag2: ClassTag[M2]): Unit
  175. implicit def optionTreeToPos(tree: Option[Tree]): Pos
  176. def packageDef(): Pkg
  177. def packageObjectDef(): Object
  178. def packageOrPackageObjectDef(): Stat
  179. def param(ownerIsCase: Boolean, ownerIsType: Boolean, isImplicit: Boolean, isUsing: Boolean): Param
  180. def paramClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[collection.immutable.List[Param]]
  181. def paramType(): Type
  182. def parseCase(): Case
  183. def parseCtor(): Ctor
  184. def parseEnumerator(): Enumerator
  185. def parseImportee(): Importee
  186. def parseImporter(): Importer
  187. def parseInit(): Init
  188. def parseMod(): Mod
  189. def parsePat(): Pat
  190. def parseRule[T <: Tree](rule: (ScalametaParser.this.type) => T): T
  191. def parseSelf(): Self
  192. def parseSource(): Source
  193. def parseStat(): Stat
  194. def parseTemplate(): Template
  195. def parseTerm(): Term
  196. def parseTermParam(): Param
  197. def parseType(): Type
  198. def parseTypeParam(): Param
  199. def parseUnquotePat(): Pat
  200. def parseUnquoteTerm(): Term
  201. def patDefOrDcl(mods: collection.immutable.List[Mod]): Stat
  202. def path(thisOK: Boolean = true): Term.Ref
  203. def pattern(): Pat

    Default entry points into some pattern contexts.

  204. def patternTyp(): Type
  205. def patternTypeArgs(): collection.immutable.List[Type]
  206. def polyFunction(): PolyFunction
  207. def postfixExpr(allowRepeated: Boolean): Term
  208. def prefixExpr(allowRepeated: Boolean): Term
  209. def primaryCtor(owner: TemplateOwner): Primary
  210. def qualId(): Term.Ref
  211. def quasiquoteCase(): Case
  212. def quasiquoteCtor(): Ctor
  213. def quasiquoteEnumerator(): Enumerator
  214. def quasiquoteExpr(): Term
  215. def quasiquoteImportee(): Importee
  216. def quasiquoteImporter(): Importer
  217. def quasiquoteInit(): Init
  218. def quasiquoteModifier(): Mod
  219. def quasiquotePattern(): Pat
  220. def quasiquoteSelf(): Self
  221. def quasiquoteSource(): Source
  222. def quasiquoteStat(): Stat
  223. def quasiquoteTemplate(): Template
  224. def quasiquoteTermParam(): Param
  225. def quasiquoteType(): Type
  226. def quasiquoteTypeParam(): Param
  227. def refineStat(): Option[Stat]
  228. def refineStatSeq(): collection.immutable.List[Stat]
  229. def refinement(innerType: Option[Type]): Refine
  230. def rejectMod[M <: Mod](mods: collection.immutable.List[Mod], errorMsg: String)(implicit classifier: Classifier[Mod, M], tag: ClassTag[M]): Unit
  231. 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
  232. lazy val reporter: Reporter
  233. lazy val scannerTokens: Tokens
  234. def scriptSource(): Source
  235. def secondaryCtor(mods: collection.immutable.List[Mod]): Secondary
  236. def secondaryCtorRest(mods: collection.immutable.List[Mod], name: Name, paramss: collection.immutable.List[collection.immutable.List[Param]]): Secondary
  237. def selector(t: Term): Select
  238. def selectors(t: Term): Term.Ref
  239. def self(): Self
  240. def seqPatterns(): collection.immutable.List[Pat]
  241. def simpleExpr(allowRepeated: Boolean): Term
  242. def simpleExprRest(t: Term, canApply: Boolean): Term
  243. def source(): Source
  244. def stableId(): Term.Ref
  245. def startInfixType(): Type
  246. def startModType(): Type
  247. def stat(body: => Stat): Stat
  248. def statSeq[T <: Tree](statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): collection.immutable.List[T]
  249. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  250. def syntaxErrorExpected[T <: Token](implicit arg0: TokenInfo[T]): Nothing
  251. def template(afterExtend: Boolean = false, enumCaseAllowed: Boolean): Template
  252. def template(edefs: collection.immutable.List[Stat], parents: collection.immutable.List[Init], enumCaseAllowed: Boolean): Template
  253. def templateBody(enumCaseAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  254. def templateBodyOpt(parenMeansSyntaxError: Boolean, enumCaseAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  255. def templateOpt(owner: TemplateOwner): Template
  256. def templateParents(afterExtend: Boolean = false): collection.immutable.List[Init]
  257. def templateStatSeq(enumCaseAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  258. def templateStats(enumCaseAllowed: Boolean = false): collection.immutable.List[Stat]
  259. def termName(advance: Boolean = true): Term.Name
  260. def tmplDef(mods: collection.immutable.List[Mod]): Stat
  261. def toString(): String
    Definition Classes
    AnyRef → Any
  262. def token: Token
  263. final def tokenSeparated[Sep <: Token, T <: Tree](sepFirst: Boolean, part: => T)(implicit arg0: TokenInfo[Sep], arg1: AstInfo[T]): collection.immutable.List[T]
  264. implicit def tokenToTokenPos(token: Token): TokenPos
  265. def topLevelTmplDef: Stat

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

  266. def topStat: PartialFunction[Token, Stat]
  267. def topStatSeq(): collection.immutable.List[Stat]
  268. def tparamModifiers(): Option[Mod]
  269. def traitDef(mods: collection.immutable.List[Mod]): Trait
  270. implicit def treeToTreePos(tree: Tree): TreePos
  271. def trimmedPos(startTokenPos: Int, endTokenPos: Int): TokenStreamPosition
  272. def typ(): Type

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

  273. def typeBounds(): Bounds
  274. def typeDefOrDcl(mods: collection.immutable.List[Mod]): Member.Type with Stat
  275. def typeIndentedOpt(): Type
  276. def typeName(advance: Boolean = true): Type.Name
  277. def typeOrInfixType(location: Location): Type
  278. def typeParam(ownerIsType: Boolean, ctxBoundsAllowed: Boolean, allowUnderscore: Boolean = true): Param
  279. def typeParamClauseOpt(ownerIsType: Boolean, ctxBoundsAllowed: Boolean, allowUnderscore: Boolean = true): collection.immutable.List[Param]
  280. def typedOpt(): Option[Type]
  281. def unquote[T <: Tree](implicit arg0: AstInfo[T]): T
  282. def unquote[T <: Tree](advance: Boolean = true)(implicit arg0: AstInfo[T]): T
  283. def unquoteExpr(): Term
  284. def unquotePattern(): Pat
  285. def unquoteXmlExpr(): Term
  286. def unquoteXmlPattern(): Pat
  287. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  288. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  289. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  290. def xmlLiteralPattern(): Pat
  291. def xmlPat(): Xml
  292. def xmlSeqPatterns(): collection.immutable.List[Pat]
  293. def xmlTerm(): Xml
  294. case object AutoPos extends Pos with Product with Serializable
  295. object CanContinueOnNextLine
  296. object CanEndStat
  297. object CanStartColonEol
  298. object CanStartIndent
  299. object CantStartStat
  300. object CaseDefEnd
  301. object CaseIntro
  302. object CloseDelim
  303. object DclIntro
  304. object DefIntro
  305. object EndMarkerIntro
  306. object EndMarkerWord
  307. object ExprIntro
  308. object InlineMatchMod
  309. implicit object InvalidCaseImplicit extends InvalidModCombination[Mod.Case, Implicit]
  310. implicit object InvalidFinalAbstract extends InvalidModCombination[Final, Abstract]
  311. implicit object InvalidFinalSealed extends InvalidModCombination[Final, Sealed]
  312. implicit object InvalidOpenFinal extends InvalidModCombination[Open, Final]
  313. implicit object InvalidOpenSealed extends InvalidModCombination[Open, Sealed]
  314. implicit object InvalidOverrideAbstract extends InvalidModCombination[Override, Abstract]
  315. implicit object InvalidPrivateProtected extends InvalidModCombination[Private, Protected]
  316. implicit object InvalidProtectedPrivate extends InvalidModCombination[Protected, Private]
  317. object KwExtension
  318. object LineEnd
  319. object Literal
  320. object LocalModifier
  321. object MacroQuotedIdent
  322. object MacroSplicedIdent
  323. object Modifier
  324. object MultilineComment
  325. object NonParamsModifier
  326. object NonlocalModifier
  327. object NumericLiteral
  328. object OwnedByCaseClass extends TemplateOwner
  329. object OwnedByClass extends TemplateOwner
  330. object OwnedByEnum extends TemplateOwner
  331. object OwnedByObject extends TemplateOwner
  332. object OwnedByTrait extends TemplateOwner
  333. object QuoteSpliceContext
  334. case object RegionArrow extends SepRegion with Product with Serializable
  335. case object RegionBracket extends SepRegion with Product with Serializable
  336. case object RegionEnumArtificialMark extends SepRegion with Product with Serializable
  337. case object RegionParen extends SepRegion with Product with Serializable
  338. object SoftModifier
  339. object StatSep
  340. object StatSeqEnd
  341. object StopScanToken
  342. object TemplateIntro
  343. object Trivia
  344. object TypeIntro
  345. object Whitespace
  346. object noSeq extends SeqContextSensitive

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

  347. object outPattern extends PatternContextSensitive

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

  348. implicit object patInfixContext extends InfixContext
  349. object seqOK extends SeqContextSensitive

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

  350. object termInfixContext extends InfixContext
  351. object xmlSeqOK extends SeqContextSensitive

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

Deprecated Value Members

  1. def [B](y: B): (ScalametaParser, B)
    Implicit
    This member is added by an implicit conversion from ScalametaParser toArrowAssoc[ScalametaParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromScalametaParser to any2stringadd[ScalametaParser]

Inherited by implicit conversion StringFormat fromScalametaParser to StringFormat[ScalametaParser]

Inherited by implicit conversion Ensuring fromScalametaParser to Ensuring[ScalametaParser]

Inherited by implicit conversion ArrowAssoc fromScalametaParser to ArrowAssoc[ScalametaParser]

Ungrouped