Class TokenMarker.LineInfo

java.lang.Object
mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker.LineInfo
Enclosing class:
TokenMarker

public class TokenMarker.LineInfo extends Object
Inner class for storing information about tokenized lines.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    This is for use by the token marker implementations themselves.
    byte
    The id of the last token of the line.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new LineInfo object with token = Token.NULL and obj = null.
    LineInfo​(byte token, Object obj)
    Creates a new LineInfo object with the specified parameters.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • token

      public byte token
      The id of the last token of the line.
    • obj

      public Object obj
      This is for use by the token marker implementations themselves. It can be used to store anything that is an object and that needs to exist on a per-line basis.
  • Constructor Details

    • LineInfo

      public LineInfo()
      Creates a new LineInfo object with token = Token.NULL and obj = null.
    • LineInfo

      public LineInfo(byte token, Object obj)
      Creates a new LineInfo object with the specified parameters.