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

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 NonParamsModifier extends AnyRef
  27. trait NonlocalModifier extends AnyRef
  28. trait NumericLiteral extends AnyRef
  29. 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.

  30. sealed trait Pos extends AnyRef
  31. case class RegionBrace(indent: Int, indentOnArrow: Boolean) extends SepRegion with Product with Serializable
  32. case class RegionCase(indent: Int) extends SepRegion with Product with Serializable
  33. case class RegionEnum(indent: Int) extends SepRegion with Product with Serializable
  34. case class RegionIndent(indent: Int, closeOnNonCase: Boolean) extends SepRegion with Product with Serializable
  35. case class RegionIndentEnum(indent: Int) extends SepRegion with Product with Serializable
  36. sealed trait SepRegion extends AnyRef
  37. 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.

  38. trait SoftModifier extends AnyRef
  39. trait StatSep extends AnyRef
  40. trait StatSeqEnd extends AnyRef
  41. trait TemplateIntro extends AnyRef
  42. sealed trait TemplateOwner extends AnyRef
  43. trait TokenIterator extends Iterator[Token]
  44. case class TokenPos(token: Token) extends Pos with Product with Serializable
  45. case class TokenRef(token: Token, pos: Int, nextPos: Int, pointPos: Int) extends Product with Serializable
  46. case class TreePos(tree: Tree) extends Pos with Product with Serializable
  47. trait Trivia extends AnyRef
  48. trait TypeIntro extends AnyRef
  49. trait Whitespace extends AnyRef
  50. 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 to any2stringadd[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 to ArrowAssoc[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.type
  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( ... ) @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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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: Any): 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 formatted(fmtstr: String): String
    Implicit
    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()
  90. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat
  91. def funDefRest(mods: collection.immutable.List[Mod]): Stat
  92. def generator(eqOK: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]
  93. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  94. def guard(): Option[Term]
  95. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  96. def ifClause(mods: collection.immutable.List[Mod] = Nil): If
  97. def implicitClosure(location: Location): Term.Function
  98. def importStmt(): Import
  99. def importWildcardOrName(): Importee
  100. def importee(): Importee
  101. def importeeRename(from: Name): Importee
  102. def importees(): collection.immutable.List[Importee]
  103. def importer(): Importer
  104. var in: TokenIterator
  105. final def inBraces[T](body: ⇒ T): T
    Annotations
    @inline()
  106. final def inBracesOrError[T](body: ⇒ T, alt: T): T
    Annotations
    @inline()
  107. final def inBracesOrNil[T](body: ⇒ collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  108. final def inBracesOrUnit[T](body: ⇒ Term): Term
    Annotations
    @inline()
  109. final def inBrackets[T](body: ⇒ T): T
    Annotations
    @inline()
  110. 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()
  111. final def inParensOrError[T](body: ⇒ T, alt: T): T
    Annotations
    @inline()
  112. final def inParensOrNil[T](body: ⇒ collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  113. def inParensOrTupleOrUnit(location: Location, allowRepeated: Boolean): Term
  114. final def inParensOrUnit[T, Ret >: Lit](body: ⇒ Ret): Ret
    Annotations
    @inline()
  115. final def indented[T](body: ⇒ T): T
    Annotations
    @inline()
  116. def init(): Init
  117. def initInsideAnnotation(allowArgss: Boolean): Init
  118. def initInsideConstructor(): Init
  119. def initInsideTemplate(): Init
  120. def initRest(typeParser: () ⇒ Type, allowArgss: Boolean, allowBraces: Boolean): Init
  121. 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.

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

    Default entry points into some pattern contexts.

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

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

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

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

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

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

  344. object outPattern extends PatternContextSensitive

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

  345. implicit object patInfixContext extends InfixContext
  346. object seqOK extends SeqContextSensitive

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

  347. object termInfixContext extends InfixContext
  348. object xmlSeqOK extends SeqContextSensitive

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

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