All Known Implementing Classes:
EotToken, ErrorToken, MarkToken, NounToken, NumToken, StrToken, VerbToken

public interface Token
A token in a Kink program.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the position index on which the token ends.
    int
    Returns the position index on which the token starts.
  • Method Details

    • startPos

      int startPos()
      Returns the position index on which the token starts.
      Returns:
      the position index on which the token starts.
    • endPos

      int endPos()
      Returns the position index on which the token ends.
      Returns:
      the position index on which the token starts.