com.hazelcast.org.snakeyaml.engine.v1.tokens

## Class Token

- java.lang.Object
- - com.hazelcast.org.snakeyaml.engine.v1.tokens.Token

- Direct Known Subclasses:
    AliasToken, AnchorToken, BlockEndToken, BlockEntryToken, BlockMappingStartToken, BlockSequenceStartToken, DirectiveToken, DocumentEndToken, DocumentStartToken, FlowEntryToken, FlowMappingEndToken, FlowMappingStartToken, FlowSequenceEndToken, FlowSequenceStartToken, KeyToken, ScalarToken, StreamEndToken, StreamStartToken, TagToken, ValueToken

      public abstract class Token
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Token.ID`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Token(Optional<Mark> startMark, Optional<Mark> endMark)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Mark>` | `getEndMark()`
    `Optional<Mark>` | `getStartMark()`
    `abstract Token.ID` | `getTokenId()` For error reporting.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Token

          public Token(Optional<Mark> startMark,
                       Optional<Mark> endMark)

  - ### Method Detail

    - #### getStartMark

          public Optional<Mark> getStartMark()

    - #### getEndMark

          public Optional<Mark> getEndMark()

    - #### getTokenId

          public abstract Token.ID getTokenId()

      For error reporting.
      Returns:
        ID of this token

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All rights reserved.