Class

io.prophecy.abinitio.xfr.parse

CustomLexer

Related Doc: package parse

Permalink

class CustomLexer extends RegexParsers

Linear Supertypes
RegexParsers, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CustomLexer
  2. RegexParsers
  3. Parsers
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CustomLexer()

    Permalink

Type Members

  1. type Elem = Char

    Permalink
    Definition Classes
    RegexParsers → Parsers
  2. case class Error extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  3. case class Failure extends NoSuccess with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  4. type Input = Reader[Elem]

    Permalink
    Definition Classes
    Parsers
  5. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Permalink
    Definition Classes
    Parsers
  6. trait OnceParser[+T] extends Parser[T]

    Permalink
    Definition Classes
    Parsers
  7. sealed abstract class ParseResult[+T] extends AnyRef

    Permalink
    Definition Classes
    Parsers
  8. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]

    Permalink
    Definition Classes
    Parsers
  9. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Permalink
    Definition Classes
    Parsers
  10. case class ~[+a, +b] extends Product with Serializable

    Permalink
    Definition Classes
    Parsers

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object NoSuccess

    Permalink
    Definition Classes
    Parsers
  5. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Permalink
    Definition Classes
    Parsers
  6. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  7. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Permalink
    Definition Classes
    Parsers
  8. def accept[ES](es: ES)(implicit f: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Permalink
    Definition Classes
    Parsers
  9. implicit def accept(e: Elem): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  10. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  11. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Permalink
    Definition Classes
    Parsers
  12. def acceptSeq[ES](es: ES)(implicit f: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Permalink
    Definition Classes
    Parsers
  13. def apply(code: String): Either[CustomLexerError, List[CustomToken]]

    Permalink
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def ascii: Parser[ASCII]

    Permalink
  16. def begin: Parser[BEGIN]

    Permalink
  17. def bigEndian: Parser[BIGENDIAN]

    Permalink
  18. def block: Parser[BLOCK]

    Permalink
  19. def cBrace: Parser[CBRACE]

    Permalink
  20. def cBrack: Parser[CBRACK]

    Permalink
  21. def cParen: Parser[CPAREN]

    Permalink
  22. def century: Parser[CENTURY]

    Permalink
  23. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  24. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  25. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Permalink
    Definition Classes
    Parsers
  26. def charset: Parser[CHARSET]

    Permalink
  27. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  28. def colon: Parser[COLON]

    Permalink
  29. def colons: Parser[COLONS]

    Permalink
  30. def comma: Parser[COMMA]

    Permalink
  31. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  32. def constant: Parser[CONSTANT]

    Permalink
  33. def date: Parser[DATE]

    Permalink
  34. def dateIntIdentifier: Parser[IDENTIFIER]

    Permalink
  35. def datetime: Parser[DATETIME]

    Permalink
  36. def datetimeIntegerIdentifier: Parser[IDENTIFIER]

    Permalink
  37. def decimal: Parser[DECIMAL]

    Permalink
  38. def dollar: Parser[DOLLAR]

    Permalink
  39. def dot: Parser[DOT]

    Permalink
  40. def double: Parser[DOUBLE]

    Permalink
  41. def ebcdic: Parser[EBCDIC]

    Permalink
  42. def elem(e: Elem): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  43. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Permalink
    Definition Classes
    Parsers
  44. def end: Parser[END]

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

    Permalink
    Definition Classes
    AnyRef
  46. def equal: Parser[EQUAL]

    Permalink
  47. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  48. def err(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  49. def exit: Parser[EXIT]

    Permalink
  50. def failure(msg: String): Parser[Nothing]

    Permalink
    Definition Classes
    Parsers
  51. def float: Parser[FLOAT]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  53. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    Parsers
  54. def handleWhiteSpace(source: CharSequence, offset: Int): Int

    Permalink
    Attributes
    protected
    Definition Classes
    RegexParsers
  55. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  56. def identifier1: Parser[IDENTIFIER]

    Permalink
  57. def identifier2: Parser[IDENTIFIER]

    Permalink
  58. def int: Parser[INT]

    Permalink
  59. def integer: Parser[INTEGER]

    Permalink
  60. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  61. def iso_latin: Parser[ISO_LATIN]

    Permalink
  62. val keyword: String

    Permalink
  63. def let: Parser[LET]

    Permalink
  64. def lineCont: Parser[LINECONT]

    Permalink

    Line continuation pattern, ending with quote and beginning with another quote

  65. def literal: Parser[LITERAL]

    Permalink
  66. implicit def literal(s: String): Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  67. def literal2: Parser[LITERAL]

    Permalink

    This method is used to identify string literals containing multiple words and without double quotes.

    This method is used to identify string literals containing multiple words and without double quotes. This method will discard all keywords being recognised in abinitio as special meaning words and take all other space separated words without double quotes.

  68. def littleEndian: Parser[LITTLE_ENDIAN]

    Permalink
  69. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Permalink
    Definition Classes
    Parsers
  70. def long: Parser[LONG]

    Permalink
  71. def maxLen: Parser[MAX_LEN]

    Permalink
  72. def metadata: Parser[METADATA]

    Permalink
  73. def minus: Parser[MINUS]

    Permalink
  74. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Permalink
    Definition Classes
    Parsers
  75. def multiLineComment: Parser[COMMENT]

    Permalink

    Regex identifies comments starting with /* and ending with */ and spanning multiple lines as well.

  76. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  77. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Permalink
    Definition Classes
    Parsers
  78. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  79. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  80. def oBrace: Parser[OBRACE]

    Permalink
  81. def oBrack: Parser[OBRACK]

    Permalink
  82. def oParen: Parser[OPAREN]

    Permalink
  83. def operator1: Parser[BIN_OP1]

    Permalink
  84. def operator2: Parser[BIN_OP2]

    Permalink
  85. def operator3: Parser[BIN_OP3]

    Permalink
  86. def operator4: Parser[BIN_OP4]

    Permalink
  87. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Permalink
    Definition Classes
    Parsers
  88. def packed: Parser[PACKED]

    Permalink
  89. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  90. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  91. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  92. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  93. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  94. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Permalink
    Definition Classes
    RegexParsers
  95. def phrase[T](p: Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  96. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Permalink
    Definition Classes
    RegexParsers → Parsers
  97. def question: Parser[QUESTION]

    Permalink
  98. def real: Parser[REAL]

    Permalink
  99. def record: Parser[RECORD]

    Permalink
  100. implicit def regex(r: Regex): Parser[String]

    Permalink
    Definition Classes
    RegexParsers
  101. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  102. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.

  103. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  104. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  105. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  106. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Permalink
    Definition Classes
    Parsers
  107. def semi: Parser[SEMICOLON]

    Permalink
  108. def signReserved: Parser[SIGN_RESERVED]

    Permalink
  109. def signReserved2: Parser[SIGN_RESERVED]

    Permalink
  110. def signed: Parser[SIGNED]

    Permalink
  111. def singleLineComment: Parser[COMMENT]

    Permalink

    Below Regex identifies comments starting with // till the end of line.

  112. def skipWhitespace: Boolean

    Permalink
    Definition Classes
    CustomLexer → RegexParsers
  113. def split: Parser[SPLIT]

    Permalink
  114. def string: Parser[STRING]

    Permalink
  115. def stringLiteral: Parser[STRING_LITERAL]

    Permalink
  116. def success[T](v: T): Parser[T]

    Permalink
    Definition Classes
    Parsers
  117. def switch: Parser[SWITCH]

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

    Permalink
    Definition Classes
    AnyRef
  119. def theCase: Parser[CASE]

    Permalink
  120. def theElse: Parser[ELSE]

    Permalink
  121. def theFalse: Parser[FALSE]

    Permalink
  122. def theFalse2: Parser[FALSE]

    Permalink
  123. def theFor: Parser[FOR]

    Permalink
  124. def theIIf: Parser[IIF]

    Permalink
  125. def theIf: Parser[IF]

    Permalink
  126. def theMember: Parser[MEMBER]

    Permalink
  127. def theNull: Parser[NULL]

    Permalink
  128. def theTrue: Parser[TRUE]

    Permalink
  129. def theTrue2: Parser[TRUE]

    Permalink
  130. def theType: Parser[TYPE]

    Permalink
  131. def theWhile: Parser[WHILE]

    Permalink
  132. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  133. def tokens: Parser[List[CustomToken]]

    Permalink
  134. def unary_operator: Parser[UN_OP]

    Permalink
  135. def unicode: Parser[UNICODE]

    Permalink
  136. def unsigned: Parser[UNSIGNED]

    Permalink
  137. def utf8: Parser[UTF8]

    Permalink
  138. def vector: Parser[VECTOR]

    Permalink
  139. def void: Parser[VOID]

    Permalink
  140. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  142. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  143. val whiteSpace: Regex

    Permalink
    Definition Classes
    CustomLexer → RegexParsers

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped