Method | Description | |
---|---|---|
NumericHighlighter ( ConsoleColor fg = null, ConsoleColor bg = null ) : System |
Creates the highlighter
|
|
ShouldBeHighlighted ( |
Returns true if the current token is a numeric value, false otherwise
|
public NumericHighlighter ( ConsoleColor fg = null, ConsoleColor bg = null ) : System | ||
fg | ConsoleColor | The foreground color of this highlighter. If null, the console default is used. |
bg | ConsoleColor | The background color of this highlighter. If null, the console default is used. |
return | System |
public ShouldBeHighlighted ( |
||
readerContext | context from the reader | |
highlighterContext | context about the current token | |
return | bool |