Class/Object

scala.meta.internal.parsers

ScalametaParser

Related Docs: object ScalametaParser | package parsers

Permalink

class ScalametaParser extends AnyRef

Self Type
ScalametaParser
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalametaParser
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. trait CanEndStat extends AnyRef

    Permalink
  2. trait CantStartStat extends AnyRef

    Permalink
  3. trait CaseDefEnd extends AnyRef

    Permalink
  4. trait CaseIntro extends AnyRef

    Permalink
  5. trait CloseDelim extends AnyRef

    Permalink
  6. trait DclIntro extends AnyRef

    Permalink
  7. trait DefIntro extends AnyRef

    Permalink
  8. trait ExprIntro extends AnyRef

    Permalink
  9. case class IndexPos(index: Int) extends Pos with Product with Serializable

    Permalink
  10. sealed abstract class InfixContext extends AnyRef

    Permalink
  11. trait InlineSoftModifier extends AnyRef

    Permalink
  12. class InvalidModCombination[M1 <: Mod, M2 <: Mod] extends AnyRef

    Permalink
  13. trait LineEnd extends AnyRef

    Permalink
  14. trait Literal extends AnyRef

    Permalink
  15. trait LocalModifier extends AnyRef

    Permalink
  16. trait Modifier extends AnyRef

    Permalink
  17. trait NonlocalModifier extends AnyRef

    Permalink
  18. trait NumericLiteral extends AnyRef

    Permalink
  19. trait PatternContextSensitive extends AnyRef

    Permalink

    Methods which implicitly propagate the context in which they were called: either in a pattern context or not.

    Methods which implicitly propagate the context in which they were called: either in a pattern context or not. Formerly, this was threaded through numerous methods as boolean isPattern.

  20. sealed trait Pos extends AnyRef

    Permalink
  21. trait SeqContextSensitive extends PatternContextSensitive

    Permalink

    Methods which implicitly propagate whether the initial call took place in a context where sequences are allowed.

    Methods which implicitly propagate whether the initial call took place in a context where sequences are allowed. Formerly, this was threaded through methods as boolean seqOK.

  22. trait StatSep extends AnyRef

    Permalink
  23. trait StatSeqEnd extends AnyRef

    Permalink
  24. trait TemplateIntro extends AnyRef

    Permalink
  25. sealed trait TemplateOwner extends AnyRef

    Permalink
  26. trait TokenIterator extends Iterator[Token]

    Permalink
  27. case class TokenPos(token: Token) extends Pos with Product with Serializable

    Permalink
  28. case class TreePos(tree: Tree) extends Pos with Product with Serializable

    Permalink
  29. trait Trivia extends AnyRef

    Permalink
  30. trait TypeIntro extends AnyRef

    Permalink
  31. trait Whitespace extends AnyRef

    Permalink
  32. implicit class XtensionTokenIndex extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to any2stringadd[ScalametaParser] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ScalametaParser, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to ArrowAssoc[ScalametaParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. object AutoPos extends Pos with Product with Serializable

    Permalink
  7. object CanEndStat

    Permalink
  8. object CantStartStat

    Permalink
  9. object CaseDefEnd

    Permalink
  10. object CaseIntro

    Permalink
  11. object CloseDelim

    Permalink
  12. object DclIntro

    Permalink
  13. object DefIntro

    Permalink
  14. object ExprIntro

    Permalink
  15. object InlineSoftModifier

    Permalink
  16. implicit object InvalidCaseImplicit extends InvalidModCombination[Mod.Case, Implicit]

    Permalink
  17. implicit object InvalidFinalAbstract extends InvalidModCombination[Final, Abstract]

    Permalink
  18. implicit object InvalidFinalSealed extends InvalidModCombination[Final, Sealed]

    Permalink
  19. implicit object InvalidOpenFinal extends InvalidModCombination[Open, Final]

    Permalink
  20. implicit object InvalidOpenSealed extends InvalidModCombination[Open, Sealed]

    Permalink
  21. implicit object InvalidOverrideAbstract extends InvalidModCombination[Override, Abstract]

    Permalink
  22. implicit object InvalidPrivateProtected extends InvalidModCombination[Private, Protected]

    Permalink
  23. implicit object InvalidProtectedPrivate extends InvalidModCombination[Protected, Private]

    Permalink
  24. object LineEnd

    Permalink
  25. object Literal

    Permalink
  26. object LocalModifier

    Permalink
  27. object Modifier

    Permalink
  28. object NonlocalModifier

    Permalink
  29. object NumericLiteral

    Permalink
  30. object OwnedByCaseClass extends TemplateOwner

    Permalink
  31. object OwnedByClass extends TemplateOwner

    Permalink
  32. object OwnedByEnum extends TemplateOwner

    Permalink
  33. object OwnedByObject extends TemplateOwner

    Permalink
  34. object OwnedByTrait extends TemplateOwner

    Permalink
  35. object StatSep

    Permalink
  36. object StatSeqEnd

    Permalink
  37. object TemplateIntro

    Permalink
  38. object Trivia

    Permalink
  39. object TypeIntro

    Permalink
  40. object Whitespace

    Permalink
  41. def accept[T <: Token](implicit arg0: TokenInfo[T]): Unit

    Permalink

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

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

    Permalink

    If current token is T consume it.

  43. def acceptStatSep(): Unit

    Permalink
  44. def acceptStatSepOpt(): Unit

    Permalink
  45. def accessModifier(): Mod

    Permalink
  46. final def ahead[T](body: ⇒ T): T

    Permalink

    Scoping operator used to temporarily look into the future.

    Scoping operator used to temporarily look into the future. Backs up token iterator before evaluating a block and restores it after.

    Annotations
    @inline()
  47. def annots(skipNewLines: Boolean, allowArgss: Boolean = true): collection.immutable.List[Annot]

    Permalink
  48. def argumentExpr(): Term

    Permalink
  49. def argumentExprs(): collection.immutable.List[Term]

    Permalink
  50. def argumentExprsOrPrefixExpr(): collection.immutable.List[Term]

    Permalink
  51. def argumentExprsWithUsing(): (collection.immutable.List[Term], Boolean)

    Permalink
  52. def argumentPattern(): Pat

    Permalink
  53. def argumentPatterns(): collection.immutable.List[Pat]

    Permalink
  54. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  55. def atPos[T <: Tree](start: Pos, end: Pos)(body: ⇒ T): T

    Permalink
  56. def auto: AutoPos.type

    Permalink
  57. def autoPos[T <: Tree](body: ⇒ T): T

    Permalink
  58. def batchSource(): Source

    Permalink
  59. def block(): Term

    Permalink
  60. def blockExpr(): Term

    Permalink
  61. def blockStatSeq(): collection.immutable.List[Stat]

    Permalink
  62. def bound[T <: Token](implicit arg0: TokenInfo[T]): Option[Type]

    Permalink
  63. def caseClause(): Case

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

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

    Permalink
  66. def classDef(mods: collection.immutable.List[Mod]): Class

    Permalink
  67. def clone(): AnyRef

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

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

    Permalink
  70. def constrBlock(): (Init, collection.immutable.List[Stat])

    Permalink
  71. def constrExpr(): (Init, collection.immutable.List[Stat])

    Permalink
  72. def constructorAnnots(): collection.immutable.List[Annot]

    Permalink
  73. def ctorModifiers(): Option[Mod]

    Permalink
  74. implicit val currentDialect: Dialect

    Permalink
  75. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat

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

    Permalink
    Annotations
    @inline()
  77. def dropTrivialBlock(term: Term): Term

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

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

    Permalink
  80. def ensuring(cond: (ScalametaParser) ⇒ Boolean, msg: ⇒ Any): ScalametaParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to Ensuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  81. def ensuring(cond: (ScalametaParser) ⇒ Boolean): ScalametaParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to Ensuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  82. def ensuring(cond: Boolean, msg: ⇒ Any): ScalametaParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to Ensuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  83. def ensuring(cond: Boolean): ScalametaParser

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to Ensuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  84. def entrypointCase(): Case

    Permalink
  85. def entrypointCtor(): Ctor

    Permalink
  86. def entrypointEnumerator(): Enumerator

    Permalink
  87. def entrypointExpr(): Term

    Permalink
  88. def entrypointImportee(): Importee

    Permalink
  89. def entrypointImporter(): Importer

    Permalink
  90. def entrypointInit(): Init

    Permalink
  91. def entrypointModifier(): Mod

    Permalink
  92. def entrypointPattern(): Pat

    Permalink
  93. def entrypointSelf(): Self

    Permalink
  94. def entrypointSource(): Source

    Permalink
  95. def entrypointStat(): Stat

    Permalink
  96. def entrypointTemplate(): Template

    Permalink
  97. def entrypointTermParam(): Param

    Permalink
  98. def entrypointType(): Type

    Permalink
  99. def entrypointTypeParam(): Param

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

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

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

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

    Permalink
  104. def enumerator(isFirst: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]

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

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

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

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

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

    Permalink
  110. def expr(): Term

    Permalink
  111. def exprSimpleType(): Type

    Permalink
  112. def exprTypeArgs(): collection.immutable.List[Type]

    Permalink
  113. def extMethod(mods: collection.immutable.List[Mod]): Stat

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

    Permalink
  115. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  116. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to StringFormat[ScalametaParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  117. def funDefExtRest(mods: collection.immutable.List[Mod]): Stat

    Permalink
  118. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat

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

    Permalink
  120. def generator(eqOK: Boolean, allowNestedIf: Boolean = true): collection.immutable.List[Enumerator]

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

    Permalink
    Definition Classes
    AnyRef → Any
  122. def guard(): Option[Term]

    Permalink
  123. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  124. def implicitClosure(location: Location): Term.Function

    Permalink
  125. def importStmt(): Import

    Permalink
  126. def importWildcardOrName(): Importee

    Permalink
  127. def importee(): Importee

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

    Permalink
  129. def importer(): Importer

    Permalink
  130. var in: TokenIterator

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

    Permalink
    Annotations
    @inline()
  132. final def inBracesOrError[T](body: ⇒ T, alt: T): T

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

    Permalink
    Annotations
    @inline()
  134. final def inBracesOrUnit[T](body: ⇒ Term): Term

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

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

    Permalink

    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()
  137. final def inParensOrError[T](body: ⇒ T, alt: T): T

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

    Permalink
    Annotations
    @inline()
  139. def inParensOrTupleOrUnit(location: Location, allowRepeated: Boolean): Term

    Permalink
  140. final def inParensOrUnit[T, Ret >: Lit](body: ⇒ Ret): Ret

    Permalink
    Annotations
    @inline()
  141. def initInsideAnnotation(allowArgss: Boolean): Init

    Permalink
  142. def initInsideConstructor(): Init

    Permalink
  143. def initInsideTemplate(): Init

    Permalink
  144. def initRest(typeParser: () ⇒ Type, allowArgss: Boolean, allowBraces: Boolean): Init

    Permalink
  145. implicit def intToIndexPos(index: Int): IndexPos

    Permalink
  146. def interpolate[Ctx <: Tree, Ret <: Tree](arg: () ⇒ Ctx, result: (Term.Name, collection.immutable.List[Lit], collection.immutable.List[Ctx]) ⇒ Ret): Ret

    Permalink
  147. def interpolatePat(): Interpolate

    Permalink
  148. def interpolateTerm(): Interpolate

    Permalink
  149. def isAmpersand: Boolean

    Permalink
  150. def isBackquoted: Boolean

    Permalink
  151. def isBar: Boolean

    Permalink
  152. def isColonWildcardStar: Boolean

    Permalink
  153. def isIdent: Boolean

    Permalink
  154. def isIdentAnd(token: Token, pred: (String) ⇒ Boolean): Boolean

    Permalink
  155. def isIdentAnd(pred: (String) ⇒ Boolean): Boolean

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

    Permalink
  157. def isIdentOf(name: String): Boolean

    Permalink
  158. def isInlineSoftKw(token: Token): Boolean

    Permalink
  159. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  160. def isSoftKw(token: Token, skw: SoftKeyword): Boolean

    Permalink
  161. def isSpliceFollowedBy(check: ⇒ Boolean): Boolean

    Permalink
  162. def isStar: Boolean

    Permalink
  163. def isUnaryOp: Boolean

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

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

    Permalink
  166. def localModifiers(): collection.immutable.List[Mod]

    Permalink
  167. def macroQuote(): Term

    Permalink
  168. def macroQuotedIdent(): Term

    Permalink
  169. def macroSplice(): Term

    Permalink
  170. def macroSplicedIdent(): Term

    Permalink
  171. def makeTuple[T <: Tree](body: collection.immutable.List[T], zero: () ⇒ T, tuple: (collection.immutable.List[T]) ⇒ T): T

    Permalink
  172. def makeTupleTerm(body: collection.immutable.List[Term]): Term

    Permalink
  173. def makeTupleType(body: collection.immutable.List[Type]): Type

    Permalink
  174. def methodParamModifiers(): collection.immutable.List[Mod]

    Permalink
  175. def mixinQualifier(): Name

    Permalink
  176. def modifier(): Mod

    Permalink
  177. def modifiers(isLocal: Boolean = false, isTparam: Boolean = false): collection.immutable.List[Mod]

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

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

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

    Permalink
  181. def newLineOptWhenFollowedBy[T <: Token](implicit arg0: TokenInfo[T]): Unit

    Permalink
  182. def newLineOptWhenFollowing(p: (Token) ⇒ Boolean): Unit

    Permalink
  183. def newLinesOpt(): Unit

    Permalink
  184. def next(): Token

    Permalink
  185. def nextOnce(): Token

    Permalink
  186. def nextThrice(): Token

    Permalink
  187. def nextTwice(): Token

    Permalink
  188. object noSeq extends SeqContextSensitive

    Permalink

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

  189. def nonLocalDefOrDcl(): Stat

    Permalink
  190. final def notify(): Unit

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

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

    Permalink
  193. def onlyAcceptMod[M <: Mod, T <: Token](mods: collection.immutable.List[Mod], errorMsg: String)(implicit classifier: Classifier[Mod, M], tag: ClassTag[M], tokenInfo: TokenInfo[T]): Unit

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

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

    Permalink
  196. object outPattern extends PatternContextSensitive

    Permalink

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

  197. def packageDef(): Pkg

    Permalink
  198. def packageObjectDef(): Object

    Permalink
  199. def packageOrPackageObjectDef(): Stat

    Permalink
  200. def param(ownerIsCase: Boolean, ownerIsType: Boolean, isImplicit: Boolean, isUsing: Boolean): Param

    Permalink
  201. def paramClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[collection.immutable.List[Param]]

    Permalink
  202. def paramType(): Type

    Permalink
  203. def parseCase(): Case

    Permalink
  204. def parseCtor(): Ctor

    Permalink
  205. def parseEnumerator(): Enumerator

    Permalink
  206. def parseImportee(): Importee

    Permalink
  207. def parseImporter(): Importer

    Permalink
  208. def parseInit(): Init

    Permalink
  209. def parseMod(): Mod

    Permalink
  210. def parsePat(): Pat

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

    Permalink
  212. def parseSelf(): Self

    Permalink
  213. def parseSource(): Source

    Permalink
  214. def parseStat(): Stat

    Permalink
  215. def parseTemplate(): Template

    Permalink
  216. def parseTerm(): Term

    Permalink
  217. def parseTermParam(): Param

    Permalink
  218. def parseType(): Type

    Permalink
  219. def parseTypeParam(): Param

    Permalink
  220. def parseUnquotePat(): Pat

    Permalink
  221. def parseUnquoteTerm(): Term

    Permalink
  222. lazy val parserTokenPositions: Array[Int]

    Permalink
  223. lazy val parserTokens: Tokens

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

    Permalink
  225. implicit object patInfixContext extends InfixContext

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

    Permalink
  227. def pattern(): Pat

    Permalink

    Default entry points into some pattern contexts.

  228. def patternTyp(): Type

    Permalink
  229. def patternTypeArgs(): collection.immutable.List[Type]

    Permalink
  230. def postfixExpr(allowRepeated: Boolean): Term

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

    Permalink
  232. def primaryCtor(owner: TemplateOwner): Primary

    Permalink
  233. def qualId(): Term.Ref

    Permalink
  234. def quasiquoteCase(): Case

    Permalink
  235. def quasiquoteCtor(): Ctor

    Permalink
  236. def quasiquoteEnumerator(): Enumerator

    Permalink
  237. def quasiquoteExpr(): Term

    Permalink
  238. def quasiquoteImportee(): Importee

    Permalink
  239. def quasiquoteImporter(): Importer

    Permalink
  240. def quasiquoteInit(): Init

    Permalink
  241. def quasiquoteModifier(): Mod

    Permalink
  242. def quasiquotePattern(): Pat

    Permalink
  243. def quasiquoteSelf(): Self

    Permalink
  244. def quasiquoteSource(): Source

    Permalink
  245. def quasiquoteStat(): Stat

    Permalink
  246. def quasiquoteTemplate(): Template

    Permalink
  247. def quasiquoteTermParam(): Param

    Permalink
  248. def quasiquoteType(): Type

    Permalink
  249. def quasiquoteTypeParam(): Param

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

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

    Permalink
  252. def refinement(): collection.immutable.List[Stat]

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

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

    Permalink
  255. lazy val reporter: Reporter

    Permalink
  256. lazy val scannerTokens: Tokens

    Permalink
  257. def scriptSource(): Source

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

    Permalink
  259. def secondaryCtorRest(mods: collection.immutable.List[Mod], name: Name, paramss: collection.immutable.List[collection.immutable.List[Param]]): Secondary

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

    Permalink
  261. def selectors(t: Term): Term.Ref

    Permalink
  262. def self(): Self

    Permalink
  263. object seqOK extends SeqContextSensitive

    Permalink

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

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

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

    Permalink
  266. def simpleExprRest(t: Term, canApply: Boolean): Term

    Permalink
  267. def source(): Source

    Permalink
  268. def stableId(): Term.Ref

    Permalink
  269. def startInfixType(): Type

    Permalink
  270. def startModType(): Type

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

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

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

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

    Permalink
  275. def template(): Template

    Permalink
  276. def templateBody(): (Self, collection.immutable.List[Stat])

    Permalink
  277. def templateBodyOpt(parenMeansSyntaxError: Boolean): (Self, collection.immutable.List[Stat])

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

    Permalink
  279. def templateParents(): collection.immutable.List[Init]

    Permalink
  280. def templateStat: PartialFunction[Token, Stat]

    Permalink
  281. def templateStatSeq(): (Self, collection.immutable.List[Stat])

    Permalink
  282. def templateStats(): collection.immutable.List[Stat]

    Permalink
  283. object termInfixContext extends InfixContext

    Permalink
  284. def termName(advance: Boolean = true): Term.Name

    Permalink
  285. def tmplDef(mods: collection.immutable.List[Mod]): Member with Stat

    Permalink
  286. def toString(): String

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

    Permalink
  288. final def tokenSeparated[Sep <: Token, T <: Tree](sepFirst: Boolean, part: ⇒ T)(implicit arg0: TokenInfo[Sep], arg1: AstInfo[T]): collection.immutable.List[T]

    Permalink
  289. implicit def tokenToTokenPos(token: Token): TokenPos

    Permalink
  290. def topLevelTmplDef: Member with Stat

    Permalink

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

  291. def topStat: PartialFunction[Token, Stat]

    Permalink
  292. def topStatSeq(): collection.immutable.List[Stat]

    Permalink
  293. def tparamModifiers(): Option[Mod]

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

    Permalink
  295. implicit def treeToTreePos(tree: Tree): TreePos

    Permalink
  296. def typ(): Type

    Permalink

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

  297. def typeBounds(): Bounds

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

    Permalink
  299. def typeName(advance: Boolean = true): Type.Name

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

    Permalink
  301. def typeParam(ownerIsType: Boolean, ctxBoundsAllowed: Boolean): Param

    Permalink
  302. def typeParamClauseOpt(ownerIsType: Boolean, ctxBoundsAllowed: Boolean): collection.immutable.List[Param]

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

    Permalink
  304. def unquote[T <: Tree](implicit arg0: AstInfo[T]): T

    Permalink
  305. def unquote[T <: Tree](advance: Boolean = true)(implicit arg0: AstInfo[T]): T

    Permalink
  306. def unquoteExpr(): Term

    Permalink
  307. def unquotePattern(): Pat

    Permalink
  308. def unquoteXmlExpr(): Term

    Permalink
  309. def unquoteXmlPattern(): Pat

    Permalink
  310. final def wait(): Unit

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

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

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

    Permalink
  314. def xmlPat(): Xml

    Permalink
  315. object xmlSeqOK extends SeqContextSensitive

    Permalink

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

  316. def xmlSeqPatterns(): collection.immutable.List[Pat]

    Permalink
  317. def xmlTerm(): Xml

    Permalink
  318. def [B](y: B): (ScalametaParser, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ScalametaParser to ArrowAssoc[ScalametaParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ScalametaParser to any2stringadd[ScalametaParser]

Inherited by implicit conversion StringFormat from ScalametaParser to StringFormat[ScalametaParser]

Inherited by implicit conversion Ensuring from ScalametaParser to Ensuring[ScalametaParser]

Inherited by implicit conversion ArrowAssoc from ScalametaParser to ArrowAssoc[ScalametaParser]

Ungrouped