com.sonar.sslr.impl.channel
Class BomCharacterChannel

java.lang.Object
  extended by org.sonar.channel.Channel<Lexer>
      extended by com.sonar.sslr.impl.channel.BomCharacterChannel

public class BomCharacterChannel
extends org.sonar.channel.Channel<Lexer>

Ignores all BOM characters.

Since:
1.17

Field Summary
static int BOM_CHAR
           
 
Constructor Summary
BomCharacterChannel()
           
 
Method Summary
 boolean consume(org.sonar.channel.CodeReader code, Lexer lexer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOM_CHAR

public static final int BOM_CHAR
See Also:
Constant Field Values
Constructor Detail

BomCharacterChannel

public BomCharacterChannel()
Method Detail

consume

public boolean consume(org.sonar.channel.CodeReader code,
                       Lexer lexer)
Specified by:
consume in class org.sonar.channel.Channel<Lexer>


Copyright © 2009-2014 SonarSource. All Rights Reserved.