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 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 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 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 to StringFormat[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[_]
    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(mods: collection.immutable.List[Mod], matchers: collection.immutable.List[(Mod) ⇒ Boolean], culprit: String): Unit
  175. def onlyAllowedMods[M1 <: Mod, M2 <: Mod](mods: collection.immutable.List[Mod], culprit: String)(implicit classifier1: Classifier[Mod, M1], classifier2: Classifier[Mod, M2]): Unit
  176. implicit def optionTreeToPos(tree: Option[Tree]): Pos
  177. def packageDef(): Pkg
  178. def packageObjectDef(): Object
  179. def packageOrPackageObjectDef(): Stat
  180. def param(ownerIsCase: Boolean, ownerIsType: Boolean, isImplicit: Boolean, isUsing: Boolean): Param
  181. def paramClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[collection.immutable.List[Param]]
  182. def paramType(): Type
  183. def parseCase(): Case
  184. def parseCtor(): Ctor
  185. def parseEnumerator(): Enumerator
  186. def parseImportee(): Importee
  187. def parseImporter(): Importer
  188. def parseInit(): Init
  189. def parseMod(): Mod
  190. def parsePat(): Pat
  191. def parseRule[T <: Tree](rule: (ScalametaParser.this.type) ⇒ T): T
  192. def parseSelf(): Self
  193. def parseSource(): Source
  194. def parseStat(): Stat
  195. def parseTemplate(): Template
  196. def parseTerm(): Term
  197. def parseTermParam(): Param
  198. def parseType(): Type
  199. def parseTypeParam(): Param
  200. def parseUnquotePat(): Pat
  201. def parseUnquoteTerm(): Term
  202. def patDefOrDcl(mods: collection.immutable.List[Mod]): Stat
  203. def path(thisOK: Boolean = true): Term.Ref
  204. def pattern(): Pat

    Default entry points into some pattern contexts.

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

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

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

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

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

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

  350. object outPattern extends PatternContextSensitive

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

  351. implicit object patInfixContext extends InfixContext
  352. object seqOK extends SeqContextSensitive

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

  353. object termInfixContext extends InfixContext
  354. 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