yu.ac.bg.etf.javaqx.qswingx.text.code
Class CodeToken

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswingx.text.code.CodeToken
Direct Known Subclasses:
CppToken, JavaToken

public class CodeToken
extends java.lang.Object

Code Token.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Field Summary
static int CHAR
          Char token type (the value is 4).
static int COMMENT_END
          Comment end token type (the value is 1).
static int COMMENT_START
          Comment start token type (the value is 0).
static int EOCB
          End of comment block token type (the value is 7).
static int EOF
          End of file token type (the value is 8).
static int INLINE_COMMENT
          Inline comment token type (the value is 2).
static int KEYWORD
          Keyword token type (the value is 6).
 int length
          The token length.
static int NUMBER
          Number token type (the value is 3).
 int start
          The token start.
static int STRING
          String token type (the value is 5).
 int type
          The token type.
 
Constructor Summary
CodeToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENT_START

public static final int COMMENT_START
Comment start token type (the value is 0).

See Also:
Constant Field Values

COMMENT_END

public static final int COMMENT_END
Comment end token type (the value is 1).

See Also:
Constant Field Values

INLINE_COMMENT

public static final int INLINE_COMMENT
Inline comment token type (the value is 2).

See Also:
Constant Field Values

NUMBER

public static final int NUMBER
Number token type (the value is 3).

See Also:
Constant Field Values

CHAR

public static final int CHAR
Char token type (the value is 4).

See Also:
Constant Field Values

STRING

public static final int STRING
String token type (the value is 5).

See Also:
Constant Field Values

KEYWORD

public static final int KEYWORD
Keyword token type (the value is 6).

See Also:
Constant Field Values

EOCB

public static final int EOCB
End of comment block token type (the value is 7).

See Also:
Constant Field Values

EOF

public static final int EOF
End of file token type (the value is 8).

See Also:
Constant Field Values

start

public int start
The token start.


length

public int length
The token length.


type

public int type
The token type.

Constructor Detail

CodeToken

public CodeToken()


Copyright © 2007 ETF and contributors. All Rights Reserved.