/**
* Rule to detect java operators.
- *
+ *
* @since 3.0
*/
protected class OperatorRule implements IRule {
/**
* Creates a new operator rule.
- *
+ *
* @param token
* Token to use for this rule
* @param tokenHeredoc
/**
* Is this character an operator character?
- *
+ *
* @param character
* Character to determine whether it is an operator character
* @return <code>true</code> iff the character is an operator,
/**
* Check if lastCharacter/character are a PHP start or end token ( <?
* ... ?> )
- *
+ *
* @param scanner
* @param lastCharacter
* @param character
/**
* Adds a word and the token to be returned if it is detected.
- *
+ *
* @param word
* the word this rule will search for, may not be
* <code>null</code>
private static String[] fgTokenProperties = {
IPreferenceConstants.PHP_MULTILINE_COMMENT,
IPreferenceConstants.PHP_SINGLELINE_COMMENT,
- IPreferenceConstants.PHP_TAG, IPreferenceConstants.PHP_KEYWORD,
+ IPreferenceConstants.PHP_TAG,
+ IPreferenceConstants.PHP_KEYWORD,
IPreferenceConstants.PHP_FUNCTIONNAME,
IPreferenceConstants.PHP_VARIABLE,
IPreferenceConstants.PHP_VARIABLE_DOLLAR,
IPreferenceConstants.PHP_STRING_DQ,
- IPreferenceConstants.PHP_STRING_SQ, IPreferenceConstants.PHP_TYPE,
+ IPreferenceConstants.PHP_STRING_SQ,
+ IPreferenceConstants.PHP_TYPE,
IPreferenceConstants.PHP_CONSTANT,
IPreferenceConstants.PHP_DEFAULT,
IPreferenceConstants.PHP_OPERATOR,
setDefaultReturnToken(getToken(IPreferenceConstants.PHP_DEFAULT));
return rules;
}
-}
\ No newline at end of file
+}