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

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

  5. 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 argumentPattern(): Pat
  13. def argumentPatterns(): collection.immutable.List[Pat]
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def atCurPos[T <: Tree](body: => T): T
  16. def atCurPosNext[T <: Tree](body: => T): T
  17. def atPos[T <: Tree](pos: Int)(body: => T): T
  18. def atPos[T <: Tree](start: Int, end: EndPos)(body: T): T
    Annotations
    @inline()
  19. def atPos[T <: Tree](start: StartPos, end: EndPos)(body: => T): T
  20. def atPos[T <: Tree](token: Token)(body: => T): T
  21. def atPosOpt[T <: Tree](start: Int, end: EndPos)(body: T): T
  22. def atPosOpt[T <: Tree](start: StartPos, end: EndPos)(body: => T): T
  23. def atPosTry[T <: Tree](start: StartPos, end: EndPos)(body: => Try[T]): Try[T]
  24. def atPosTryOpt[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 autoEndPosOpt[T <: Tree](start: Int)(body: => T): T
    Annotations
    @inline()
  30. def autoPos[T <: Tree](body: => T): T
  31. def autoPosOpt[T <: Tree](body: => T): T
  32. def autoPosTry[T <: Tree](body: => Try[T]): Try[T]
  33. def autoPrevPos[T <: Tree](body: => T): T
    Annotations
    @inline()
  34. def batchSource(statpf: PartialFunction[Token, Stat] = topStat): Source
  35. def block(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term
  36. def blockExpr(isBlockOptional: Boolean = false, allowRepeated: Boolean = false): Term
  37. def blockStatSeq(allowRepeated: Boolean = false): collection.immutable.List[Stat]
  38. def bound[T](implicit arg0: tokens.TokenClassifier[T]): Option[Type]
  39. def caseClause(forceSingleExpr: Boolean = false): Case
  40. def caseClauses(): collection.immutable.List[Case]
  41. def caseClausesIfAny(): Option[collection.immutable.List[Case]]
  42. def checkAssoc(op: Name, leftAssoc: Boolean): Unit
    Annotations
    @inline()
  43. def classDef(mods: collection.immutable.List[Mod]): Class
  44. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  45. final def commaSeparated[T <: Tree](part: => T)(implicit arg0: AstInfo[T]): collection.immutable.List[T]
    Annotations
    @inline()
  46. def condExpr(): Term
  47. def constrInternal(): (Init, collection.immutable.List[Stat])
  48. def ctorModifiers(): Option[Mod]
  49. def defOrDclOrSecondaryCtor(mods: collection.immutable.List[Mod], enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): Stat
  50. def derivesClasses(): collection.immutable.List[Type]
  51. final def dropAnyBraces[T](body: => T): T
    Annotations
    @inline()
  52. def ellipsis[T <: Tree](ell: Ellipsis, extraSkip: => Unit)(implicit arg0: AstInfo[T]): T
  53. def ellipsis[T <: Tree](ell: Ellipsis)(implicit arg0: AstInfo[T]): T
  54. def ellipsis[T <: Tree](ell: Ellipsis, rank: Int, extraSkip: => Unit = {})(implicit arg0: AstInfo[T]): T
  55. def endMarker(): Stat
  56. def ensureEarlyDef(tree: Stat): Stat
  57. 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
  58. 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
  59. 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
  60. 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
  61. def entryPointAmmonite(): MultiSource
  62. def entrypointCase(): Case
  63. def entrypointCtor(): Ctor
  64. def entrypointEnumerator(): Enumerator
  65. def entrypointExpr(): Term
  66. def entrypointImportee(): Importee
  67. def entrypointImporter(): Importer
  68. def entrypointInit(): Init
  69. def entrypointModifier(): Mod
  70. def entrypointPattern(): Pat
  71. def entrypointSelf(): Self
  72. def entrypointSource(): Source
  73. def entrypointStat(): Stat
  74. def entrypointTemplate(): Template
  75. def entrypointTermParam(): Param
  76. def entrypointType(): Type
  77. def entrypointTypeParam(): Param
  78. def enumCaseDef(mods: collection.immutable.List[Mod]): Stat
  79. def enumDef(mods: collection.immutable.List[Mod]): Enum
  80. def enumRepeatedCaseDef(mods: collection.immutable.List[Mod]): RepeatedEnumCase
  81. def enumSingleCaseDef(mods: collection.immutable.List[Mod]): EnumCase
  82. def enumerators(): collection.immutable.List[Enumerator]
  83. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  85. def existentialStats(): collection.immutable.List[Stat]
  86. def exportStmt(): Stat
  87. def expr(location: Location, allowRepeated: Boolean): Term
  88. def expr(): Term
  89. def exprSimpleType(): Type
  90. def exprTypeArgs(): ArgClause
  91. def extensionGroupDecl(mods: collection.immutable.List[Mod]): ExtensionGroup
  92. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  93. def funDefOrDclOrExtensionOrSecondaryCtor(mods: collection.immutable.List[Mod]): Stat
  94. def funDefRest(mods: collection.immutable.List[Mod]): Stat
  95. def getAfterOptNewLine[A](body: => Option[A]): Option[A]
  96. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  97. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  98. def ifClause(mods: collection.immutable.List[Mod] = Nil): If
  99. def implicitClosure(location: Location): Term.Function
  100. def importStmt(): Import
  101. def importWildcardOrName(): Importee
  102. def importee(): Importee
  103. def importeeRename(from: Name): Importee
  104. def importees(): collection.immutable.List[Importee]
  105. def importer(): Importer
  106. var in: TokenIterator
  107. final def inBraces[T](body: => T): T
    Annotations
    @inline()
  108. final def inBracesOr[T](body: => T)(ifEmpty: => T): T
    Annotations
    @inline()
  109. final def inBracesOrNil[T](body: => collection.immutable.List[T]): collection.immutable.List[T]
    Annotations
    @inline()
  110. final def inBrackets[T](body: => T): T
    Annotations
    @inline()
  111. final def inParens[T](body: => T): T
    Annotations
    @inline()
  112. final def inParensOr[T](body: => T)(ifEmpty: => T): T
    Annotations
    @inline()
  113. final def indented[T](body: => T): T
    Annotations
    @inline()
  114. def init(): Init
  115. def initInsideAnnotation(allowArgss: Boolean): Init
  116. def initInsideConstructor(): Init
  117. def initInsideTemplate(): Init
  118. def initRest(typeParser: => Type, allowArgss: Boolean, allowBraces: Boolean, allowTypeSingleton: Boolean): Init
  119. 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.

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

    Default entry points into some pattern contexts.

  186. def patternTyp(): Type
  187. def patternTypeArgs(): ArgClause
  188. def polyFunction(): PolyFunction
  189. def postfixExpr(allowRepeated: Boolean, location: Location = NoStat): Term
  190. def prefixExpr(allowRepeated: Boolean): Term
  191. def primaryCtor(owner: TemplateOwner): Primary
  192. def qualId(): Term.Ref
  193. def quasiquoteCase(): Case
  194. def quasiquoteCtor(): Ctor
  195. def quasiquoteEnumerator(): Enumerator
  196. def quasiquoteExpr(): Term
  197. def quasiquoteImportee(): Importee
  198. def quasiquoteImporter(): Importer
  199. def quasiquoteInit(): Init
  200. def quasiquoteModifier(): Mod
  201. def quasiquotePattern(): Pat
  202. def quasiquoteSelf(): Self
  203. def quasiquoteSource(): Source
  204. def quasiquoteStat(): Stat
  205. def quasiquoteTemplate(): Template
  206. def quasiquoteTermParam(): Param
  207. def quasiquoteType(): Type
  208. def quasiquoteTypeParam(): Param
  209. def refineStat(): Option[Stat]
  210. def refineStatSeq(): collection.immutable.List[Stat]
  211. def rejectMod[M <: Mod](mods: collection.Iterable[Mod], errorMsg: String)(implicit classifier: Classifier[Mod, M], tag: ClassTag[M]): Unit
  212. 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
  213. def rejectModWith[M <: Mod](m2: Mod, mods: collection.Iterable[Mod], culpritOpt: => Option[String] = None)(implicit arg0: ClassTag[M], classifier: Classifier[Mod, M]): Unit
  214. lazy val reporter: Reporter
  215. def secondaryCtor(mods: collection.immutable.List[Mod]): Secondary
  216. def secondaryCtorRest(mods: collection.immutable.List[Mod], name: Name, paramss: collection.immutable.Seq[ParamClause]): Secondary
  217. def selector(t: Term): Select
    Annotations
    @inline()
  218. def selector(t: Term, startPos: Int): Select
  219. def seqPatterns(): collection.immutable.List[Pat]
  220. def simpleExpr(allowRepeated: Boolean): Term
  221. def source(): Source
  222. def stableId(): Term.Ref
  223. def startInfixType(): Type
  224. def startModType(): Type
  225. def stat(body: => Stat): Stat
  226. def statSeq[T <: Tree](statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): collection.immutable.List[T]
  227. def statSeqBuf[T <: Tree](stats: ListBuffer[T], statpf: PartialFunction[Token, T], errorMsg: String = "illegal start of definition")(implicit arg0: AstInfo[T]): Unit
  228. def summonClassifierFunc[A, B](implicit v: Classifier[A, B]): (A) => Boolean
  229. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  230. def syntaxErrorExpected[T <: Token](implicit tokenInfo: TokenInfo[T]): Nothing
  231. def template(afterExtend: Boolean = false, enumCaseAllowed: Boolean, secondaryConstructorAllowed: Boolean): Template
  232. def template(edefs: collection.immutable.List[Stat], parents: collection.immutable.List[Init], enumCaseAllowed: Boolean, secondaryConstructorAllowed: Boolean): Template
  233. def templateBody(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  234. def templateBodyOpt(parenMeansSyntaxError: Boolean, enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  235. def templateOpt(owner: TemplateOwner): Template
  236. def templateParents(afterExtend: Boolean = false): collection.immutable.List[Init]
  237. def templateStat(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): PartialFunction[Token, Stat]
  238. def templateStatSeq(enumCaseAllowed: Boolean = false, secondaryConstructorAllowed: Boolean = false): (Self, collection.immutable.List[Stat])
  239. def termName(): Term.Name
  240. def termParam(ownerIsCase: Boolean, ownerIsType: Boolean, mod: Option[ParamsType] = None): Param
  241. def termParamClauses(ownerIsType: Boolean, ownerIsCase: Boolean = false): collection.immutable.List[ParamClause]
  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 typedOpt(): Option[Type]
  260. def unquote[T <: Tree](implicit arg0: AstInfo[T]): T with Quasi
  261. def unquoteExpr(): Term
  262. def unquotePattern(): Pat
  263. def unquoteSeqPattern(): Pat
  264. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  265. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  266. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  267. def xmlLiteralPattern(): Pat
  268. def xmlPat(): Xml
  269. def xmlTerm(): Xml
  270. case object AutoPos extends Pos with Product with Serializable
  271. case object EndPosPreOutdent extends EndPos with Product with Serializable
  272. implicit object InvalidCaseImplicit extends InvalidModCombination[Mod.Case, Implicit]
  273. implicit object InvalidFinalAbstract extends InvalidModCombination[Final, Abstract]
  274. implicit object InvalidFinalSealed extends InvalidModCombination[Final, Sealed]
  275. implicit object InvalidOpenFinal extends InvalidModCombination[Open, Final]
  276. implicit object InvalidOpenSealed extends InvalidModCombination[Open, Sealed]
  277. implicit object InvalidOverrideAbstract extends InvalidModCombination[Override, Abstract]
  278. implicit object InvalidPrivateProtected extends InvalidModCombination[Private, Protected]
  279. implicit object InvalidProtectedPrivate extends InvalidModCombination[Protected, Private]
  280. object OwnedByCaseClass extends TemplateOwner
  281. object OwnedByClass extends TemplateOwner
  282. object OwnedByEnum extends TemplateOwner
  283. object OwnedByObject extends TemplateOwner
  284. object OwnedByTrait extends TemplateOwner
  285. case object StartPosPrev extends StartPos with Product with Serializable
  286. object noSeq extends SeqContextSensitive

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

  287. object outPattern extends PatternContextSensitive

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

  288. implicit object patInfixContext extends InfixContext
  289. object seqOK extends SeqContextSensitive

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

  290. object termInfixContext extends InfixContext

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