Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text.rules
Interface IToken

All Known Implementing Classes:
Token

public interface IToken

A token to be returned by a rule.


Method Summary
  Object getData ()
          Return a data attached to this token.
 boolean isEOF ()
          Return whether this token represents End Of File.
 boolean isOther ()
          Return whether this token is neither undefined, nor whitespace, nor EOF.
 boolean isUndefined ()
          Return whether this token is undefined.
 boolean isWhitespace ()
          Return whether this token represents a whitespace.
 

Method Detail

isUndefined

boolean isUndefined()
Return whether this token is undefined.

Returns:
trueif this token is undefined

isWhitespace

boolean isWhitespace()
Return whether this token represents a whitespace.

Returns:
trueif this token represents a whitespace

isEOF

boolean isEOF()
Return whether this token represents End Of File.

Returns:
trueif this token represents EOF

isOther

boolean isOther()
Return whether this token is neither undefined, nor whitespace, nor EOF.

Returns:
trueif this token is not undefined, not a whitespace, and not EOF

getData


Object getData()
Return a data attached to this token. The semantics of this data kept undefined by this interface.

Returns:
the data attached to this token.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire