Package com.sonar.sslr.impl.channel
Class BomCharacterChannel
Ignores all BOM characters.
- Since:
- 1.17
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconsume(CodeReader code, Lexer lexer) Tries to consume the character stream at the current reading cursor position (provided by theCodeReader).
-
Field Details
-
BOM_CHAR
public static final int BOM_CHAR- See Also:
-
-
Constructor Details
-
BomCharacterChannel
public BomCharacterChannel()
-
-
Method Details
-
consume
Description copied from class:ChannelTries to consume the character stream at the current reading cursor position (provided by theCodeReader). If the character stream is consumed the method must return true and the OUTPUT object can be fed.
-