RomanNumeralDecoder

esmeta.util.BasicParsers.RomanNumeralDecoder

Attributes

Graph
Supertypes
trait BasicParsers
trait JavaTokenParsers
trait RegexParsers
trait Parsers
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

case class Error(msg: String, next: Input)

Attributes

Inherited from:
Parsers
Supertypes
trait Serializable
trait Product
trait Equals
class NoSuccess
class ParseResult[Nothing]
class Object
trait Matchable
class Any
Show all
case class Failure(msg: String, next: Input)

Attributes

Inherited from:
Parsers
Supertypes
trait Serializable
trait Product
trait Equals
class NoSuccess
class ParseResult[Nothing]
class Object
trait Matchable
class Any
Show all
trait From[T](parser: Parser[T])

Attributes

Inherited from:
BasicParsers
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BOp
object BranchInst
object COp
object Expr
object Func
object FuncKind
object Inst
object MOp
object NormalInsts
object Param
object Program
object Ref
object Type
object UOp
object VOp
object Block
object Condition
object Expression
object Intrinsic
object Literal
object Property
object Reference
object Step
object Type
object BuiltinPath
object Grammar
object Lhs
object Param
object Production
object Condition
object Rhs
object Summary
object Symbol
object AstTy
object Binding
object BoolTy
object CloTy
object FieldMap
object InfinityTy
object ListTy
object MapTy
object MathTy
object NumberTy
object RecordTy
object Ty
object Elem
object TyDecl
object TyModel
object UnknownTy
object ValueTy
Show all
abstract class LocationalParser[+T <: Locational] extends Parser[T]

Attributes

Inherited from:
BasicParsers
Supertypes
class Parser[T]
trait Input => ParseResult[T]
class Object
trait Matchable
class Any
sealed abstract class NoSuccess(msg: String, next: Input)

Attributes

Inherited from:
Parsers
Supertypes
class ParseResult[Nothing]
class Object
trait Matchable
class Any
object NoSuccess

Attributes

Inherited from:
Parsers
Supertypes
class Object
trait Matchable
class Any
abstract trait OnceParser[+T]()

Attributes

Inherited from:
Parsers
Supertypes
class Parser[T]
trait Input => ParseResult[T]
class Object
trait Matchable
class Any
sealed abstract class ParseResult[+T]()

Attributes

Inherited from:
Parsers
Supertypes
class Object
trait Matchable
class Any
abstract class Parser[+T]()

Attributes

Inherited from:
Parsers
Supertypes
trait Input => ParseResult[T]
class Object
trait Matchable
class Any
Known subtypes
class EPackratParser[T]
object EMPTY
class LocationalParser[T]

Attributes

Inherited from:
BasicParsers
Supertypes
trait BasicParsers
trait JavaTokenParsers
trait RegexParsers
trait Parsers
class Object
trait Matchable
class Any
Show all
case class Success[+T](result: T, next: Input)

Attributes

Inherited from:
Parsers
Supertypes
trait Serializable
trait Product
trait Equals
class ParseResult[T]
class Object
trait Matchable
class Any
Show all
protected object given_Conversion_Input_Pos extends Conversion[Input, Pos]

implicit conversion from scala parser's Input to util.Pos

implicit conversion from scala parser's Input to util.Pos

Attributes

Inherited from:
BasicParsers
Supertypes
class Conversion[Input, Pos]
trait Input => Pos
class Object
trait Matchable
class Any
case class ~[+a, +b](_1: a, _2: b)

Attributes

Inherited from:
Parsers
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type Elem = Char

Attributes

Inherited from:
RegexParsers
type Input = Reader[Elem]

Attributes

Inherited from:
Parsers

Value members

Concrete methods

def apply(str: String): Option[Int]

Inherited methods

def OnceParser[T](f: Input => ParseResult[T]): Parser[T] & OnceParser[T]

Attributes

Inherited from:
Parsers
def Parser[T](f: Input => ParseResult[T]): Parser[T]

Attributes

Inherited from:
Parsers
def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

Attributes

Inherited from:
Parsers
def accept[ES](es: ES)(implicit f: ES => List[Elem]): Parser[List[Elem]]

Attributes

Inherited from:
Parsers
def acceptIf(p: Elem => Boolean)(err: Elem => String): Parser[Elem]

Attributes

Inherited from:
Parsers
def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

Attributes

Inherited from:
Parsers
def acceptSeq[ES](es: ES)(implicit f: ES => Iterable[Elem]): Parser[List[Elem]]

Attributes

Inherited from:
Parsers
def chainl1[T, U](first: => Parser[T], p: => Parser[U], q: => Parser[(T, U) => T]): Parser[T]

Attributes

Inherited from:
Parsers
def chainl1[T](p: => Parser[T], q: => Parser[(T, T) => T]): Parser[T]

Attributes

Inherited from:
Parsers
def chainr1[T, U](p: => Parser[T], q: => Parser[(T, U) => U], combine: (T, U) => U, first: U): Parser[U]

Attributes

Inherited from:
Parsers
def commit[T](p: => Parser[T]): Parser[T]

Attributes

Inherited from:
Parsers
def decimalNumber: Parser[String]

Attributes

Inherited from:
JavaTokenParsers
def elem(e: Elem): Parser[Elem]

Attributes

Inherited from:
Parsers
def elem(kind: String, p: Elem => Boolean): Parser[Elem]

Attributes

Inherited from:
Parsers
override def err(msg: String): Parser[Nothing]

Attributes

Definition Classes
RegexParsers -> Parsers
Inherited from:
RegexParsers
def errHandle[T](parser: Parser[T], result: ParseResult[T]): T

Attributes

Inherited from:
BasicParsers
def failure(msg: String): Parser[Nothing]

Attributes

Inherited from:
Parsers

Attributes

Inherited from:
JavaTokenParsers
def fromFileWithParser[T](f: String, parser: Parser[T]): T

Attributes

Inherited from:
BasicParsers
def guard[T](p: => Parser[T]): Parser[T]

Attributes

Inherited from:
Parsers
protected def handleWhiteSpace(source: CharSequence, offset: Int): Int

Attributes

Inherited from:
RegexParsers
def ident: Parser[String]

Attributes

Inherited from:
JavaTokenParsers
def locationed[T <: Locational](p: => Parser[T]): Parser[T]

Attributes

Inherited from:
BasicParsers
def log[T](p: => Parser[T])(name: String): Parser[T]

Attributes

Inherited from:
Parsers
def mkList[T]: (T ~ List[T]) => List[T]

Attributes

Inherited from:
Parsers
def not[T](p: => Parser[T]): Parser[Unit]

Attributes

Inherited from:
Parsers
def opt[T](p: => Parser[T]): Parser[Option[T]]

Attributes

Inherited from:
Parsers
def parse[T](str: String)(using parser: Parser[T]): T

Attributes

Inherited from:
BasicParsers
def parse[T](p: Parser[T], in: Reader): ParseResult[T]

Attributes

Inherited from:
RegexParsers
def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

Attributes

Inherited from:
RegexParsers
def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

Attributes

Inherited from:
RegexParsers
def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

Attributes

Inherited from:
RegexParsers
def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

Attributes

Inherited from:
RegexParsers
def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

Attributes

Inherited from:
RegexParsers
def parseBy[T](parser: Parser[T])(str: String): T

Attributes

Inherited from:
BasicParsers
override def phrase[T](p: Parser[T]): Parser[T]

Attributes

Definition Classes
RegexParsers -> Parsers
Inherited from:
RegexParsers
override def positioned[T <: Positional](p: => Parser[T]): Parser[T]

Attributes

Definition Classes
RegexParsers -> Parsers
Inherited from:
RegexParsers
def rep[T](p: => Parser[T]): Parser[List[T]]

Attributes

Inherited from:
Parsers
def rep1[T](first: => Parser[T], p0: => Parser[T]): Parser[List[T]]

Attributes

Inherited from:
Parsers
def rep1[T](p: => Parser[T]): Parser[List[T]]

Attributes

Inherited from:
Parsers
def rep1sep[T](p: => Parser[T], q: => Parser[Any]): Parser[List[T]]

Attributes

Inherited from:
Parsers
def repN[T](num: Int, p: => Parser[T]): Parser[List[T]]

Attributes

Inherited from:
Parsers
def repNM[T](n: Int, m: Int, p: Parser[T], sep: Parser[Any]): Parser[List[T]]

Attributes

Inherited from:
Parsers
def repsep[T](p: => Parser[T], q: => Parser[Any]): Parser[List[T]]

Attributes

Inherited from:
Parsers

Attributes

Inherited from:
RegexParsers

Attributes

Inherited from:
RegexParsers

Attributes

Inherited from:
RegexParsers
def skipWhitespace: Boolean

Attributes

Inherited from:
RegexParsers
def stringLiteral: Parser[String]

Attributes

Inherited from:
JavaTokenParsers
def success[T](v: T): Parser[T]

Attributes

Inherited from:
Parsers
protected def trimInput[T](in: Input): Input

trim unused whitespace for position

trim unused whitespace for position

Attributes

Inherited from:
BasicParsers
def wholeNumber: Parser[String]

Attributes

Inherited from:
JavaTokenParsers

Concrete fields

lazy val _1: Parser[Int]
lazy val _10: Parser[Int]
lazy val _100: Parser[Int]
lazy val _1000: Parser[Int]
lazy val _4: Parser[Int]
lazy val _40: Parser[Int]
lazy val _400: Parser[Int]
lazy val _5: Parser[Int]
lazy val _50: Parser[Int]
lazy val _500: Parser[Int]
lazy val _9: Parser[Int]
lazy val _90: Parser[Int]
lazy val _900: Parser[Int]
lazy val numeral: Parser[Int]

Inherited fields

lazy val bigInt: Parser[BigInt]

Attributes

Inherited from:
BasicParsers
lazy val bool: Parser[Boolean]

Attributes

Inherited from:
BasicParsers
lazy val camel: Regex

Attributes

Inherited from:
BasicParsers
lazy val codeUnit: Parser[Char]

Attributes

Inherited from:
BasicParsers
lazy val decimal: Parser[BigDecimal]

Attributes

Inherited from:
BasicParsers
lazy val double: Parser[Double]

Attributes

Inherited from:
BasicParsers
lazy val int: Parser[Int]

Attributes

Inherited from:
BasicParsers
lazy val integer: Regex

Attributes

Inherited from:
BasicParsers
lazy val loc: Parser[Loc]

Attributes

Inherited from:
BasicParsers
lazy val long: Parser[Long]

Attributes

Inherited from:
BasicParsers
lazy val newline: Regex

Attributes

Inherited from:
BasicParsers
lazy val number: Regex

Attributes

Inherited from:
BasicParsers
lazy val pos: Parser[Pos]

Attributes

Inherited from:
BasicParsers
lazy val string: Parser[String]

Attributes

Inherited from:
BasicParsers
lazy val whiteSpaceWithComment: Regex

white spaces with comments

white spaces with comments

Attributes

Inherited from:
BasicParsers
lazy val word: Regex

Attributes

Inherited from:
BasicParsers

Givens

Inherited givens

implicit conversion from scala parser's Input to util.Pos

implicit conversion from scala parser's Input to util.Pos

Attributes

Inherited from:
BasicParsers

Extensions

Inherited extensions

extension [T](p: Parser[T])
def ^^![S](v: => S): Parser[S]

Attributes

Inherited from:
BasicParsers

Implicits

Inherited implicits

implicit def accept(e: Elem): Parser[Elem]

Attributes

Inherited from:
Parsers
implicit def literal(s: String): Parser[String]

Attributes

Inherited from:
RegexParsers
implicit def regex(r: Regex): Parser[String]

Attributes

Inherited from:
RegexParsers