c

org.yaml.lexer

BaseYLexer

abstract class BaseYLexer extends BaseLexer[YamlToken]

A Base Lexer for YamlTokens

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseYLexer
  2. BaseLexer
  3. Lexer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseYLexer(input: LexerInput)
    Attributes
    protected

Type Members

  1. type TD = TokenData[YamlToken]
    Definition Classes
    BaseLexer

Abstract Value Members

  1. abstract val offsetPosition: (Int, Int)
    Definition Classes
    BaseLexer

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def advance(): Unit

    Advance the lexer to the next token.

    Advance the lexer to the next token.

    Definition Classes
    BaseLexerLexer
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def beginOfLine: Boolean
    Definition Classes
    BaseLexer
    Annotations
    @inline()
  7. final def check(str: String): Int

    Compare with the specified String and return 0 or the length of the string if all characters are equal

    Compare with the specified String and return 0 or the length of the string if all characters are equal

    Definition Classes
    BaseLexer
  8. def checkKeyword(str: String): Unit
    Attributes
    protected
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def consume(str: String): Boolean

    Compare with the specified String and consume if all characters are equal

    Compare with the specified String and consume if all characters are equal

    Definition Classes
    BaseLexer
  11. def consume(c: Char): Boolean

    Compare with the specified char and consume if they are equal

    Compare with the specified char and consume if they are equal

    Attributes
    protected
    Definition Classes
    BaseLexer
  12. final def consume(n: Int): Unit
    Attributes
    protected
    Definition Classes
    BaseLexer
  13. final def consume(): Unit
    Definition Classes
    BaseLexer
  14. final def consumeAndEmit(n: Int, token: YamlToken): Boolean
    Definition Classes
    BaseLexer
  15. final def consumeAndEmit(t1: YamlToken, t2: YamlToken): Boolean
    Definition Classes
    BaseLexer
  16. final def consumeAndEmit(token: YamlToken): Boolean
    Definition Classes
    BaseLexer
  17. def consumeWhile(p: (Int) ⇒ Boolean): Unit
    Attributes
    protected
    Definition Classes
    BaseLexer
  18. final def currentChar: Int
    Attributes
    protected
    Definition Classes
    BaseLexer
  19. def emit(t1: YamlToken, t2: YamlToken): Boolean

    Emit 2 Tokens

    Emit 2 Tokens

    Definition Classes
    BaseLexer
    Annotations
    @failfast()
  20. def emit(token: YamlToken): Boolean

    Emit a Token

    Emit a Token

    Definition Classes
    BaseLexer
    Annotations
    @failfast()
  21. def emitForMark(t1: YamlToken, t2: YamlToken): Boolean

    Emit 2 Tokens with same mark

    Emit 2 Tokens with same mark

    Attributes
    protected
    Definition Classes
    BaseLexer
    Annotations
    @failfast()
  22. def endPlainScalar(): Unit
    Attributes
    protected
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def findToken(chr: Int): Unit
    Attributes
    protected
    Definition Classes
    BaseLexer
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  29. def initialize(): Unit

    Init must initialize the stack and the current _tokenData (may be invoking advance)

    Init must initialize the stack and the current _tokenData (may be invoking advance)

    Attributes
    protected
    Definition Classes
    BaseYLexerBaseLexer
  30. var input: LexerInput
    Definition Classes
    BaseLexer
  31. def isIdentifierPart(chr: Int): Boolean
    Attributes
    protected
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isWhitespace(c: Int): Boolean
    Attributes
    protected
  34. final def lookAhead(n: Int): Int
    Definition Classes
    BaseLexer
  35. final def matches(p: ⇒ Boolean): Boolean
    Definition Classes
    BaseLexer
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def nodeEnd(block: YamlToken, indicator: Boolean = true): Unit
    Attributes
    protected
  38. def nodeStart(block: YamlToken, indicator: Boolean = true): Unit
    Attributes
    protected
  39. def nonEof: Boolean

    We're not at the Eof

    We're not at the Eof

    Definition Classes
    BaseLexer
  40. def nonTokenEmitted: Boolean

    Check if there are emitted tokens

    Check if there are emitted tokens

    Definition Classes
    BaseLexer
  41. final def notify(): Unit
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  43. def number(): Unit
    Attributes
    protected
  44. final def oneOrMore(p: ⇒ Boolean): Boolean
    Definition Classes
    BaseLexer
  45. final def optional(p: Boolean): Boolean
    Definition Classes
    BaseLexer
  46. def processPending(): Unit

    Process all pending tokens.

    Process all pending tokens. Trivial implementation just emit the EofToken More complex ones can continue returning pending tokens until they emit the EofToken

    Attributes
    protected
    Definition Classes
    BaseYLexerBaseLexer
  47. def reset(): Unit
    Attributes
    protected
    Definition Classes
    BaseLexer
  48. def restoreState(s: (Int, (Int, Int, Int), Mark)): Unit
    Definition Classes
    BaseLexer
  49. def saveState: (Int, (Int, Int, Int), Mark)
    Definition Classes
    BaseLexer
  50. val sourceName: String
    Definition Classes
    BaseLexer
  51. var stack: List[YamlToken]
    Attributes
    protected
  52. def startPlainScalar(): Unit
    Attributes
    protected
  53. def string(): Unit
    Attributes
    protected
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. def token: YamlToken

    get the current token in the input stream.

    get the current token in the input stream.

    Definition Classes
    BaseLexerLexer
  57. def tokenData: TD

    All the token data.

    All the token data.

    Definition Classes
    BaseLexerLexer
  58. def tokenString: String

    Get the current Token String.

    Get the current Token String.

    Definition Classes
    Lexer
  59. def tokenText: CharSequence

    Get the current Token Char Sequence.

    Get the current Token Char Sequence.

    Definition Classes
    BaseLexerLexer
  60. def tokenText(td: TD): CharSequence

    Get the specified Token Char Sequence.

    Get the specified Token Char Sequence.

    Definition Classes
    BaseLexer
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def zeroOrMore(p: ⇒ Boolean): Boolean
    Definition Classes
    BaseLexer

Inherited from BaseLexer[YamlToken]

Inherited from Lexer[YamlToken]

Inherited from AnyRef

Inherited from Any

Ungrouped