com.github.kardapoltsev.astparser.parser

AstParser

class AstParser extends BaseParser

Linear Supertypes
BaseParser, Logger, Parsers, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AstParser
  2. BaseParser
  3. Logger
  4. Parsers
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AstParser(enableProfiling: Boolean = false)

Type Members

  1. type Elem = Token

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

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

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

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

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

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

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

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

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

    Definition Classes
    Parsers

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. val HexNumberRegexp: Regex

    Attributes
    protected
  9. val IdentifierRegexp: Regex

    Attributes
    protected
  10. val IntNumberRegexp: Regex

    Attributes
    protected
  11. object NoSuccess

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

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

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

    Definition Classes
    Parsers
  15. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]

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

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

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

    Definition Classes
    Parsers
  19. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  20. def apackage: Parser[Package]

    Attributes
    protected
  21. def argument: Parser[Argument]

    Attributes
    protected
  22. def argumentsExpr: Parser[Seq[Argument]]

    Attributes
    protected
  23. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  24. def callDefinition: Parser[Call]

    Attributes
    protected
  25. def callDefinitionExp: Parser[Call]

    Attributes
    protected
  26. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

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

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

    Definition Classes
    Parsers
  29. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  31. def definition: Parser[Definition]

    Attributes
    protected
  32. def definitions: Parser[List[Definition]]

  33. def elem(e: Elem): Parser[Elem]

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

    Definition Classes
    Parsers
  35. val enableProfiling: Boolean

    Attributes
    protected
    Definition Classes
    AstParserBaseParser
  36. def ensuring(cond: (AstParser) ⇒ Boolean, msg: ⇒ Any): AstParser

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

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

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

    Implicit information
    This member is added by an implicit conversion from AstParser to Ensuring[AstParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Parsers
  43. def externalTypeDefinition: Parser[Definition]

    Attributes
    protected
  44. def failure(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  45. def finalize(): Unit

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

    Implicit information
    This member is added by an implicit conversion from AstParser to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  47. def genericTypeParameters: Parser[Seq[TypeParameter]]

    Attributes
    protected
  48. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  49. def getResult[T](res: ParseResult[T]): T

    Attributes
    protected
    Definition Classes
    BaseParser
  50. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  51. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  52. def hashId: Parser[IntNumber]

    Attributes
    protected
  53. def hexNumber: Parser[IntNumber]

    Attributes
    protected
  54. def identifier: Parser[Identifier]

    Attributes
    protected
  55. def identifierM: Parser[Elem]

    Attributes
    protected
  56. def importDefinition: Parser[Import]

    Attributes
    protected[com.github.kardapoltsev.astparser]
  57. def intNumber: Parser[IntNumber]

    Attributes
    protected
  58. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  59. def leftDoc: Parser[Documentation]

    Attributes
    protected
  60. val lexer: Lexer

    Attributes
    protected
  61. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Definition Classes
    Parsers
  62. val log: Logger

    Attributes
    protected
    Definition Classes
    Logger
  63. def loggingTime[A](tag: String)(f: ⇒ A): A

    Attributes
    protected
    Definition Classes
    Logger
  64. def loggingTimeMuted[A](tag: String)(f: ⇒ A): A

    Attributes
    protected
    Definition Classes
    Logger
  65. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Definition Classes
    Parsers
  66. def modernArgumentsExpr: Parser[List[Argument]]

    Attributes
    protected
  67. final def ne(arg0: AnyRef): Boolean

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

    Definition Classes
    Parsers
  69. final def notify(): Unit

    Definition Classes
    AnyRef
  70. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  71. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Definition Classes
    Parsers
  72. def parse(file: File): Schema

  73. def parse(input: CharSequence, sourceName: String): Schema

  74. def parse[T](parser: Parser[T], input: CharSequence, sourceName: String): T

    Attributes
    protected
  75. def phrase[T](p: Parser[T]): Parser[T]

    Definition Classes
    Parsers
  76. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  77. def profile[T](name: String)(p: Parser[T]): Parser[T]

    Attributes
    protected
    Definition Classes
    BaseParser
  78. def reference: Parser[Reference]

    Attributes
    protected[com.github.kardapoltsev.astparser]
  79. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

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

    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.

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

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

    Definition Classes
    Parsers
  83. def repLeftDoc: Parser[List[Documentation]]

    Attributes
    protected
  84. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  85. def repRightDoc: Parser[List[Documentation]]

    Attributes
    protected
  86. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  87. def rightDoc: Parser[Documentation]

    Attributes
    protected
  88. def schema: Parser[Schema]

  89. def schemaInfoExp: Parser[Identifier]

  90. def success[T](v: T): Parser[T]

    Definition Classes
    Parsers
  91. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  92. def toString(): String

    Definition Classes
    AnyRef → Any
  93. def traitDefinition: Parser[Trait]

    Attributes
    protected
  94. def tryParse(input: CharSequence, sourceName: String): ParseResult[Schema]

  95. def tryParse[T](parser: Parser[T], input: CharSequence, sourceName: String): ParseResult[T]

    Attributes
    protected
  96. def typeAlias: Parser[TypeAlias]

    Attributes
    protected
  97. def typeConstructor: Parser[TypeConstructor]

    Attributes
    protected
  98. def typeDefinition: Parser[Type]

    Attributes
    protected
  99. def typeDefinitionBody: Parser[Seq[TypeConstructor]]

    Attributes
    protected
  100. def typeExtensionExpr: Parser[Seq[Reference]]

    Attributes
    protected
  101. def typeStatement: Parser[TypeStatement]

    Attributes
    protected[com.github.kardapoltsev.astparser]
  102. def versionsInterval: Parser[VersionsInterval]

    Attributes
    protected
  103. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  106. def [B](y: B): (AstParser, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from AstParser to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (astParser: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from AstParser to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (astParser: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def lastNoSuccess: NoSuccess

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

  2. def lastNoSuccess_=(x: NoSuccess): Unit

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

  3. def x: AstParser

    Implicit information
    This member is added by an implicit conversion from AstParser to ArrowAssoc[AstParser] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (astParser: ArrowAssoc[AstParser]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  4. def x: AstParser

    Implicit information
    This member is added by an implicit conversion from AstParser to Ensuring[AstParser] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (astParser: Ensuring[AstParser]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from BaseParser

Inherited from Logger

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AstParser to StringAdd

Inherited by implicit conversion any2stringfmt from AstParser to StringFormat

Inherited by implicit conversion any2ArrowAssoc from AstParser to ArrowAssoc[AstParser]

Inherited by implicit conversion any2Ensuring from AstParser to Ensuring[AstParser]

Ungrouped