org.eclipse.cdt.internal.ui.text
Class COperatorRule

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.text.SingleCharRule
      extended by org.eclipse.cdt.internal.ui.text.COperatorRule
All Implemented Interfaces:
org.eclipse.jface.text.rules.IRule

public class COperatorRule
extends SingleCharRule

Rule to recognize operators.

Author:
P.Tomaszewski

Constructor Summary
COperatorRule(org.eclipse.jface.text.rules.IToken token)
          Creates new rule.
 
Method Summary
 boolean isRuleChar(int ch)
          Checks if char is rule char.
 
Methods inherited from class org.eclipse.cdt.internal.ui.text.SingleCharRule
evaluate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COperatorRule

public COperatorRule(org.eclipse.jface.text.rules.IToken token)
Creates new rule.

Parameters:
token - Style token.
Method Detail

isRuleChar

public boolean isRuleChar(int ch)
Description copied from class: SingleCharRule
Checks if char is rule char.

Parameters:
ch - Char to check.
Returns:
true if rule char.
See Also:
SingleCharRule.isRuleChar(int)