class ScalametaParser extends AnyRef

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

Instance Constructors

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

Type Members

  1. sealed abstract class InfixContext extends AnyRef
  2. class InvalidModCombination[M1 <: Mod, M2 <: Mod] extends AnyRef
  3. trait MacroQuotedIdent extends AnyRef
  4. trait MacroSplicedIdent extends AnyRef
  5. 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.

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

  7. sealed trait TemplateOwner extends AnyRef

Value Members

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

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

  7. def acceptStatSep(): Unit
  8. def acceptStatSepOpt(): Unit
  9. 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()
  10. def annots(skipNewLines: Boolean, allowArgss: Boolean = true): collection.immutable.List[Annot]
  11. def annotsBuf[T >: Annot](annots: ListBuffer[T], skipNewLines: Boolean, allowArgss: Boolean = true): Unit
  12. def argumentExpr(location: Location): Term
  13. def argumentExprs(location: Location = NoStat): collection.immutable.List[Term]
  14. def argumentExprsWithUsing(location: Location = NoStat): (collection.immutable.List[Term], Boolean)
  15. def argumentPattern(): Pat
  16. def argumentPatterns(): collection.immutable.List[Pat]
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def atCurPos[T <: Tree](body: => T): T
  19. def atCurPosNext[T <: Tree](body: => T): T
  20. def atPos[T <: Tree](pos: Int)(body: => T): T
  21. def atPos[T <: Tree](start: Int, end: EndPos)(body: T): T
    Annotations
    @inline()
  22. def atPos[T <: Tree](start: StartPos, end: EndPos)(body: => T): T
  23. def atPos[T <: Tree](token: Token)(body: => T): T
  24. def atPosTry[T <: Tree](start: StartPos, end: EndPos)(body: => Try[T]): Try[T]
  25. def atPosWithBody[T <: Tree](startTokenPos: Int, body: T, endPos: Int): T
  26. def auto: AutoPos
  27. def autoEndPos[T <: Tree](start: StartPos)(body: => T): T
    Annotations
    @inline()
  28. def autoEndPos[T <: Tree](start: Int)(body: => T): T
    Annotations
    @inline()
  29. def autoPos[T <: Tree](body: => T): T
  30. def autoPosTry[T <: Tree](body: => Try[T]): Try[T]
  31. def batchSource(statpf: PartialFunction[Token, Stat] = topStat): Source
  32. def block(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term
  33. def blockExpr(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term
  34. def blockStatSeq(allowRepeated: Boolean = false): collection.immutable.List[Stat]
  35. def bound[T](implicit arg0: tokens.TokenClassifier[T]): Option[Type]
  36. def caseClause(forceSingleExpr: Boolean = false): Case
  37. def caseClauses(): collection.immutable.List[Case]
  38. def caseClausesIfAny(): Option[collection.immutable.List[Case]]
  39. def checkAssoc(op: Name, leftAssoc: Boolean): Unit
    Annotations
    @inline()
  40. def classDef(mods: collection.immutable.List[Mod]): Class
  41. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  42. final def commaSeparated[T <: Tree](part: => T)(implicit arg0: AstInfo[T]): collection.immutable.List[T]
    Annotations
    @inline()
  43. def condExpr(): Term
  44. def condExprInParens[T <: Token](implicit arg0: TokenInfo[T]): Term
  45. def constrInternal(): (Init, collection.immutable.List[Stat])
  46. def ctorModifiers(): Option[Mod]
  47. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod], enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): Stat
  48. def derivesClasses(): collection.immutable.List[Type]
  49. final def dropAnyBraces[T](body: => T): T
    Annotations
    @inline()
  50. def ellipsis[T <: Tree](ell: Ellipsis, extraSkip: => Unit)(implicit astInfo: AstInfo[T]): T
  51. def ellipsis[T <: Tree](ell: Ellipsis)(implicit arg0: AstInfo[T]): T
  52. def ellipsis[T <: Tree](ell: Ellipsis, rank: Int, 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 toEnsuring[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 toEnsuring[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 toEnsuring[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 toEnsuring[ScalametaParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  59. def entryPointAmmonite(): MultiSource
  60. def entrypointCase(): Case
  61. def entrypointCtor(): Ctor
  62. def entrypointEnumerator(): Enumerator
  63. def entrypointExpr(): Term
  64. def entrypointImportee(): Importee
  65. def entrypointImporter(): Importer
  66. def entrypointInit(): Init
  67. def entrypointModifier(): Mod
  68. def entrypointPattern(): Pat
  69. def entrypointSelf(): Self
  70. def entrypointSource(): Source
  71. def entrypointStat(): Stat
  72. def entrypointTemplate(): Template
  73. def entrypointTermParam(): Param
  74. def entrypointType(): Type
  75. def entrypointTypeParam(): Param
  76. def enumCaseDef(mods: collection.immutable.List[Mod]): Stat
  77. def enumDef(mods: collection.immutable.List[Mod]): Enum
  78. def enumRepeatedCaseDef(mods: collection.immutable.List[Mod]): RepeatedEnumCase
  79. def enumSingleCaseDef(mods: collection.immutable.List[Mod]): EnumCase
  80. def enumerators(): collection.immutable.List[Enumerator]
  81. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  82. def equals(arg0: AnyRef): 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](implicit arg0: tokens.TokenClassifier[T]): Boolean
  92. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat
  93. def funDefRest(mods: collection.immutable.List[Mod]): Stat
  94. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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 inBracesOr[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 inBrackets[T](body: => T): T
    Annotations
    @inline()
  109. final def inParens[T](body: => T): T
    Annotations
    @inline()
  110. def inParensOrTupleOrUnitExpr(allowRepeated: Boolean): Term
  111. final def indented[T](body: => T): T
    Annotations
    @inline()
  112. def init(): Init
  113. def initInsideAnnotation(allowArgss: Boolean): Init
  114. def initInsideConstructor(): Init
  115. def initInsideTemplate(): Init
  116. def initRest(typeParser: => Type, allowArgss: Boolean, allowBraces: Boolean, allowTypeSingleton: Boolean): Init
  117. 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 { ... }}} Scala 3 we need to create the Match first and only then add the the inline modifier.

  118. implicit def intToIndexPos(index: Int): Pos
  119. def interpolatePat(): Interpolate
  120. def interpolateTerm(): Interpolate
  121. def isAfterOptNewLine[T](implicit arg0: tokens.TokenClassifier[T]): Boolean
  122. def isAmpersand: Boolean
  123. def isBackquoted: Boolean
  124. def isBar: Boolean
  125. def isColonEol(token: Token): Boolean
  126. def isIdent: Boolean
  127. def isIdentAnd(pred: (String) => Boolean): Boolean
  128. def isIdentExcept(except: String): Boolean
  129. def isIdentOf(name: String): Boolean
  130. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  131. def isStar: Boolean
  132. def isUnaryOp: Boolean
  133. def isVarargStarParam(): Boolean
  134. def literal(isNegated: Boolean = false): Lit
  135. def localDef(implicitMod: Option[Implicit]): Stat
  136. def macroQuote(): Term
  137. def macroQuotedIdent(): Term
  138. def macroSplice(): Term
  139. def macroSplicedIdent(): Term
  140. def makeTupleTerm(lpPos: Int, body: collection.immutable.List[Term]): Term
  141. def makeTupleType(lpPos: Int, body: collection.immutable.List[Type]): Type
  142. def matchClause(t: Term): Match
  143. def mixinQualifier(): Name
  144. def modifiersBuf(buf: ListBuffer[Mod], isLocal: Boolean = false, isParams: Boolean = false): Unit
  145. implicit def modsToPos(mods: collection.immutable.List[Mod]): Pos
  146. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  147. def newLineOpt(): Unit
    Annotations
    @inline()
  148. def newLineOptWhenFollowedBy[T](implicit arg0: tokens.TokenClassifier[T]): Unit
  149. def newLineOptWhenFollowedBySignificantIndentationAnd(cond: (Token) => Boolean): Boolean
  150. def newLinesOpt(): Unit
    Annotations
    @inline()
  151. def next(): Unit
  152. def nextTwice(): Unit
  153. def nonLocalDefOrDcl(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): Stat
  154. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  155. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  156. def objectDef(mods: collection.immutable.List[Mod]): Object
  157. def onlyAcceptMod[M <: Mod, T](mods: collection.immutable.List[Mod], errorMsg: String)(implicit arg0: ClassTag[M], arg1: tokens.TokenClassifier[T], classifier: Classifier[Mod, M]): Unit
  158. def onlyAllowedMods(mods: collection.immutable.List[Mod], matchers: collection.immutable.List[(Mod) => Boolean], culprit: String): Unit
  159. def onlyAllowedMods[M1 <: Mod, M2 <: Mod](mods: collection.immutable.List[Mod], culprit: String)(implicit classifier1: Classifier[Mod, M1], classifier2: Classifier[Mod, M2]): Unit
  160. implicit def optionTreeToPos(tree: Option[Tree]): Pos
  161. def packageOrPackageObjectDef(statpf: PartialFunction[Token, Stat]): Stat
  162. def param(ownerIsCase: Boolean, ownerIsType: Boolean, isImplicit: Boolean, isUsing: Boolean): Param
  163. def paramClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[collection.immutable.List[Param]]
  164. def paramType(): Type
  165. def parseAmmonite(): MultiSource
  166. def parseCase(): Case
  167. def parseCtor(): Ctor
  168. def parseEnumerator(): Enumerator
  169. def parseImportee(): Importee
  170. def parseImporter(): Importer
  171. def parseInit(): Init
  172. def parseMod(): Mod
  173. def parsePat(): Pat
  174. def parseRule[T <: Tree](rule: => T): T
  175. def parseRule[T <: Tree](rule: (ScalametaParser.this.type) => T): T
  176. def parseSelf(): Self
  177. def parseSource(): Source
  178. def parseStat(): Stat
  179. def parseTemplate(): Template
  180. def parseTerm(): Term
  181. def parseTermParam(): Param
  182. def parseType(): Type
  183. def parseTypeParam(): Param
  184. def parseUnquotePat(): Pat
  185. def parseUnquoteTerm(): Term
  186. def patDefOrDcl(mods: collection.immutable.List[Mod]): Stat
  187. def path(thisOK: Boolean = true): Term.Ref
  188. def pattern(): Pat

    Default entry points into some pattern contexts.

  189. def patternTyp(): Type
  190. def patternTypeArgs(): collection.immutable.List[Type]
  191. def polyFunction(): PolyFunction
  192. def postfixExpr(allowRepeated: Boolean, location: Location = NoStat): Term
  193. def prefixExpr(allowRepeated: Boolean): Term
  194. def primaryCtor(owner: TemplateOwner): Primary
  195. def qualId(): Term.Ref
  196. def quasiquoteCase(): Case
  197. def quasiquoteCtor(): Ctor
  198. def quasiquoteEnumerator(): Enumerator
  199. def quasiquoteExpr(): Term
  200. def quasiquoteImportee(): Importee
  201. def quasiquoteImporter(): Importer
  202. def quasiquoteInit(): Init
  203. def quasiquoteModifier(): Mod
  204. def quasiquotePattern(): Pat
  205. def quasiquoteSelf(): Self
  206. def quasiquoteSource(): Source
  207. def quasiquoteStat(): Stat
  208. def quasiquoteTemplate(): Template
  209. def quasiquoteTermParam(): Param
  210. def quasiquoteType(): Type
  211. def quasiquoteTypeParam(): Param
  212. def refineStat(): Option[Stat]
  213. def refineStatSeq(): collection.immutable.List[Stat]
  214. def rejectMod[M <: Mod](mods: collection.Iterable[Mod], errorMsg: String)(implicit classifier: Classifier[Mod, M], tag: ClassTag[M]): Unit
  215. def rejectModCombination[M1 <: Mod, M2 <: Mod](mods: collection.Iterable[Mod], culpritOpt: => Option[String] = None)(implicit arg0: ClassTag[M1], arg1: ClassTag[M2], classifier1: Classifier[Mod, M1], classifier2: Classifier[Mod, M2]): Unit
  216. def rejectModWith[M <: Mod](m2: Mod, mods: collection.Iterable[Mod], culpritOpt: => Option[String] = None)(implicit arg0: ClassTag[M], classifier: Classifier[Mod, M]): Unit
  217. lazy val reporter: Reporter
  218. def secondaryCtor(mods: collection.immutable.List[Mod]): Secondary
  219. def secondaryCtorRest(mods: collection.immutable.List[Mod], name: Name, paramss: collection.immutable.List[collection.immutable.List[Param]]): Secondary
  220. def selector(t: Term): Select
  221. def seqPatterns(): collection.immutable.List[Pat]
  222. def simpleExpr(allowRepeated: Boolean): Term
  223. def source(): Source
  224. def stableId(): Term.Ref
  225. def startInfixType(): Type
  226. def startModType(): Type
  227. def stat(body: => Stat): Stat
  228. def statSeq[T <: Tree](statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): collection.immutable.List[T]
  229. def statSeqBuf[T <: Tree](stats: ListBuffer[T], statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): Unit
  230. def summonClassifierFunc[A, B](implicit v: Classifier[A, B]): (A) => Boolean
  231. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  232. def syntaxErrorExpected[T <: Token](implicit tokenInfo: TokenInfo[T]): Nothing
  233. def template(afterExtend: Boolean = false, enumCaseAllowed: Boolean, secondaryConstructorAllowed: Boolean): Template
  234. def template(edefs: collection.immutable.List[Stat], parents: collection.immutable.List[Init], enumCaseAllowed: Boolean, secondaryConstructorAllowed: Boolean): Template
  235. def templateBody(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  236. def templateBodyOpt(parenMeansSyntaxError: Boolean, enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  237. def templateOpt(owner: TemplateOwner): Template
  238. def templateParents(afterExtend: Boolean = false): collection.immutable.List[Init]
  239. def templateStat(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): PartialFunction[Token, Stat]
  240. def templateStatSeq(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  241. def termName(): Term.Name
  242. def tmplDef(mods: collection.immutable.List[Mod]): Stat
  243. def toString(): String
    Definition Classes
    AnyRef → Any
  244. def token: Token
  245. final def tokenSeparated[Sep, T <: Tree](sepFirst: Boolean, part: => T)(implicit arg0: tokens.TokenClassifier[Sep], arg1: AstInfo[T]): collection.immutable.List[T]
  246. implicit def tokenToTokenPos(token: Token): Pos
  247. def topLevelTmplDef: Stat

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

  248. val topStat: PartialFunction[Token, Stat]
  249. def tparamModifiers(): Option[Mod]
  250. def traitDef(mods: collection.immutable.List[Mod]): Trait
  251. implicit def treeToTreePos(tree: Tree): Pos
  252. def typ(): Type

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

  253. def typeBounds(): Bounds
  254. def typeDefOrDcl(mods: collection.immutable.List[Mod]): Member.Type with Stat
  255. def typeIndentedOpt(): Type
  256. def typeName(): Type.Name
  257. def typeOrInfixType(location: Location): Type
  258. def typeParam(ownerIsType: Boolean, ctxBoundsAllowed: Boolean, allowUnderscore: Boolean = true): Param
  259. def typeParamClauseOpt(ownerIsType: Boolean, ctxBoundsAllowed: Boolean, allowUnderscore: Boolean = true): collection.immutable.List[Param]
  260. def typedOpt(): Option[Type]
  261. def unquote[T <: Tree](implicit arg0: AstInfo[T]): T
  262. def unquoteExpr(): Term
  263. def unquotePattern(): Pat
  264. def unquoteXmlExpr(): Term
  265. def unquoteXmlPattern(): Pat
  266. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  267. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  268. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  269. def xmlLiteralPattern(): Pat
  270. def xmlPat(): Xml
  271. def xmlSeqPatterns(): collection.immutable.List[Pat]
  272. def xmlTerm(): Xml
  273. case object AutoPos extends Pos with Product with Serializable
  274. case object EndPosPreOutdent extends EndPos with Product with Serializable
  275. implicit object InvalidCaseImplicit extends InvalidModCombination[Mod.Case, Implicit]
  276. implicit object InvalidFinalAbstract extends InvalidModCombination[Final, Abstract]
  277. implicit object InvalidFinalSealed extends InvalidModCombination[Final, Sealed]
  278. implicit object InvalidOpenFinal extends InvalidModCombination[Open, Final]
  279. implicit object InvalidOpenSealed extends InvalidModCombination[Open, Sealed]
  280. implicit object InvalidOverrideAbstract extends InvalidModCombination[Override, Abstract]
  281. implicit object InvalidPrivateProtected extends InvalidModCombination[Private, Protected]
  282. implicit object InvalidProtectedPrivate extends InvalidModCombination[Protected, Private]
  283. object MacroQuotedIdent
  284. object MacroSplicedIdent
  285. object OwnedByCaseClass extends TemplateOwner
  286. object OwnedByClass extends TemplateOwner
  287. object OwnedByEnum extends TemplateOwner
  288. object OwnedByObject extends TemplateOwner
  289. object OwnedByTrait extends TemplateOwner
  290. case object StartPosPrev extends StartPos with Product with Serializable
  291. object noSeq extends SeqContextSensitive

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

  292. object outPattern extends PatternContextSensitive

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

  293. implicit object patInfixContext extends InfixContext
  294. object seqOK extends SeqContextSensitive

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

  295. object termInfixContext extends InfixContext
  296. object xmlSeqOK extends SeqContextSensitive

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

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ScalametaParser toStringFormat[ScalametaParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

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

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromScalametaParser to any2stringadd[ScalametaParser]

Inherited by implicit conversion StringFormat fromScalametaParser to StringFormat[ScalametaParser]

Inherited by implicit conversion Ensuring fromScalametaParser to Ensuring[ScalametaParser]

Inherited by implicit conversion ArrowAssoc fromScalametaParser to ArrowAssoc[ScalametaParser]

Ungrouped