Interface LexicalUnit


public interface LexicalUnit
A CSS lexical unit.

This lexical unit may be followed by a number of subsequent units, accessible via the getNextLexicalUnit() method. May also be preceded by other units that can be accessed by the getPreviousLexicalUnit().

It is recommended that implementations of this interface override the equals() and hashCode() methods, but in doing that do not take into account subsequent lexical units in the chain.

Based on SAC's LexicalUnit interface by Philippe Le Hegaret.