Class SyntaxTokenizer.SyntaxRecord

java.lang.Object
com.wolfram.jlink.ui.SyntaxTokenizer.SyntaxRecord
Enclosing class:
SyntaxTokenizer

public class SyntaxTokenizer.SyntaxRecord
extends java.lang.Object
A simple class the encapsulates information about a syntax element.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int length
    The length in characters of this syntax element.
    int start
    The character position at which this syntax element begins.
    int type
    The type of the syntax element.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • type

      public int type
      The type of the syntax element. Will be one of: SyntaxTokenizer.NORMAL, SyntaxTokenizer.SYMBOL, SyntaxTokenizer.STRING, SyntaxTokenizer.COMMENT.
    • start

      public int start
      The character position at which this syntax element begins.
    • length

      public int length
      The length in characters of this syntax element.