public class CommentRegexpChannel extends Channel<Lexer>
RegexpChannelBuilder| Constructor and Description |
|---|
CommentRegexpChannel(String regexp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
consume(CodeReader code,
Lexer lexer)
Tries to consume the character stream at the current reading cursor position (provided by the
CodeReader). |
public CommentRegexpChannel(String regexp)
public boolean consume(CodeReader code, Lexer lexer)
ChannelCodeReader). If
the character stream is consumed the method must return true and the OUTPUT object can be fed.Copyright © 2009–2018 SonarSource. All rights reserved.