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. sealed trait EndPos extends AnyRef
  14. trait ExprIntro extends AnyRef
  15. case class IndexPos(index: Int) extends Pos with Product with Serializable
  16. sealed abstract class InfixContext extends AnyRef
  17. trait InlineMatchMod extends AnyRef
  18. class InvalidModCombination[M1 <: Mod, M2 <: Mod] extends AnyRef
  19. trait KwExtension extends AnyRef
  20. class LazyTokenIterator extends TokenIterator
  21. trait LineEnd extends AnyRef
  22. trait Literal extends AnyRef
  23. trait LocalModifier extends AnyRef
  24. trait MacroQuotedIdent extends AnyRef
  25. trait MacroSplicedIdent extends AnyRef
  26. trait Modifier extends AnyRef
  27. trait MultilineComment extends AnyRef
  28. trait NonParamsModifier extends AnyRef
  29. trait NonlocalModifier extends AnyRef
  30. trait NumericLiteral extends AnyRef
  31. 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.

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

  41. trait SoftModifier extends AnyRef
  42. sealed trait StartPos extends AnyRef
  43. trait StatSep extends AnyRef
  44. trait StatSeqEnd extends AnyRef
  45. trait StopScanToken extends AnyRef
  46. trait TemplateIntro extends AnyRef
  47. sealed trait TemplateOwner extends AnyRef
  48. trait TokenIterator extends Iterator[Token]
  49. case class TokenPos(token: Token) extends Pos with Product with Serializable
  50. case class TokenRef(token: Token, pos: Int, nextPos: Int, pointPos: Int) extends Product with Serializable
  51. case class TreePos(tree: Tree) extends Pos with Product with Serializable
  52. trait Trivia extends AnyRef
  53. trait TypeIntro extends AnyRef
  54. trait Whitespace extends AnyRef
  55. 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: StartPos, end: EndPos)(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: StartPos, end: EndPos)(body: ⇒ Try[T]): Try[T]
  24. def atPosWithBody[T <: Tree](startTokenPos: Int, body: T, endPos: EndPos): T
  25. def auto: AutoPos.type
  26. def autoPos[T <: Tree](body: ⇒ T): T
  27. def autoPosTry[T <: Tree](body: ⇒ Try[T]): Try[T]
  28. def batchSource(): Source
  29. def block(isBlockOptional: Boolean = false): Term
  30. def blockExpr(isBlockOptional: Boolean = false): Term
  31. def blockStatSeq(): collection.immutable.List[Stat]
  32. def bound[T <: Token](implicit arg0: TokenInfo[T]): Option[Type]
  33. def caseClause(forceSingleExpr: Boolean = false): Case
  34. def caseClauses(): collection.immutable.List[Case]
  35. def caseClausesIfAny(): Option[collection.immutable.List[Case]]
  36. def checkAssoc(op: Term.Name, leftAssoc: Boolean): Unit
  37. def classDef(mods: collection.immutable.List[Mod]): Class
  38. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def commaSeparated[T <: Tree](part: ⇒ T)(implicit arg0: AstInfo[T]): collection.immutable.List[T]
    Annotations
    @inline()
  40. def condExpr(): Term
  41. def condExprInParens[T <: Token](implicit arg0: TokenInfo[T]): Term
  42. def constrBlock(): (Init, collection.immutable.List[Stat])
  43. def constrExpr(): (Init, collection.immutable.List[Stat])
  44. def constrIndent(): (Init, collection.immutable.List[Stat])
  45. def constrInternal(): (Init, collection.immutable.List[Stat])
  46. def constructorAnnots(): collection.immutable.List[Annot]
  47. def ctorModifiers(): Option[Mod]
  48. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod], enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): Stat
  49. def derivesClasses(): collection.immutable.List[Type]
  50. final def dropAnyBraces[T](body: ⇒ T): T
    Annotations
    @inline()
  51. def dropTrivialBlock(term: Term): Term
  52. def ellipsis[T <: Tree](rank: Int, astInfo: AstInfo[T], extraSkip: ⇒ Unit = {})(implicit arg0: AstInfo[T]): T
  53. def endMarker(): Stat
  54. def ensureEarlyDef(tree: Stat): Stat
  55. 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
  56. 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
  57. 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
  58. 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
  59. def entrypointCase(): Case
  60. def entrypointCtor(): Ctor
  61. def entrypointEnumerator(): Enumerator
  62. def entrypointExpr(): Term
  63. def entrypointImportee(): Importee
  64. def entrypointImporter(): Importer
  65. def entrypointInit(): Init
  66. def entrypointModifier(): Mod
  67. def entrypointPattern(): Pat
  68. def entrypointSelf(): Self
  69. def entrypointSource(): Source
  70. def entrypointStat(): Stat
  71. def entrypointTemplate(): Template
  72. def entrypointTermParam(): Param
  73. def entrypointType(): Type
  74. def entrypointTypeParam(): Param
  75. def enumCaseDef(mods: collection.immutable.List[Mod]): Stat
  76. def enumDef(mods: collection.immutable.List[Mod]): Enum
  77. def enumRepeatedCaseDef(mods: collection.immutable.List[Mod]): RepeatedEnumCase
  78. def enumSingleCaseDef(mods: collection.immutable.List[Mod]): EnumCase
  79. def enumerator(isFirst: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]
  80. def enumerators(): collection.immutable.List[Enumerator]
  81. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  82. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  83. def existentialStats(): collection.immutable.List[Stat]
  84. def exportStmt(): Stat
  85. def expr(location: Location, allowRepeated: Boolean): Term
  86. def expr(): Term
  87. def exprSimpleType(): Type
  88. def exprTypeArgs(): collection.immutable.List[Type]
  89. def extensionGroupDecl(mods: collection.immutable.List[Mod]): ExtensionGroup
  90. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  91. def followedByToken[T <: Token](implicit arg0: TokenInfo[T]): Boolean
  92. 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()
  93. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat
  94. def funDefRest(mods: collection.immutable.List[Mod]): Stat
  95. def generator(eqOK: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]
  96. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  97. def guard(): Option[Term]
  98. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  99. def ifClause(mods: collection.immutable.List[Mod] = Nil): If
  100. def implicitClosure(location: Location): Term.Function
  101. def importStmt(): Import
  102. def importWildcardOrName(): Importee
  103. def importee(): Importee
  104. def importeeRename(from: Name): Importee
  105. def importees(): collection.immutable.List[Importee]
  106. def importer(): Importer
  107. var in: TokenIterator
  108. final def inBraces[T](body: ⇒ T): T
    Annotations
    @inline()
  109. final def inBracesOrError[T](body: ⇒ T, alt: T): T
    Annotations
    @inline()
  110. final def inBracesOrNil[T](body: ⇒ collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  111. final def inBracesOrUnit[T](body: ⇒ Term): Term
    Annotations
    @inline()
  112. final def inBrackets[T](body: ⇒ T): T
    Annotations
    @inline()
  113. 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()
  114. final def inParensOrError[T](body: ⇒ T, alt: T): T
    Annotations
    @inline()
  115. final def inParensOrNil[T](body: ⇒ collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  116. def inParensOrTupleOrUnit(location: Location, allowRepeated: Boolean): Term
  117. final def inParensOrUnit[T, Ret >: Lit](body: ⇒ Ret): Ret
    Annotations
    @inline()
  118. final def indented[T](body: ⇒ T): T
    Annotations
    @inline()
  119. def init(): Init
  120. def initInsideAnnotation(allowArgss: Boolean): Init
  121. def initInsideConstructor(): Init
  122. def initInsideTemplate(): Init
  123. def initRest(typeParser: () ⇒ Type, allowArgss: Boolean, allowBraces: Boolean): Init
  124. def inlineMatchClause(inlineMods: collection.immutable.List[Mod]): Match

    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 { ... }}} Since matches can also be chained in Scala 3 we need to create the Match first and only then add the the inline modifier.

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

    Default entry points into some pattern contexts.

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

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

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

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

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

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

  351. object outPattern extends PatternContextSensitive

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

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

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

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