| Package | Description |
|---|---|
| com.github.sbaudoin.sonar.plugins.shellcheck.highlighting | |
| com.github.sbaudoin.sonar.plugins.shellcheck.lexer |
| Constructor and Description |
|---|
ShellLocation(String content,
Token token)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Token |
ShellLexer.getToken()
Returns the token just read with
ShellLexer.next() or null if no token read yet, ShellLexer.scan() was called or
the last token was reached (i.e. |
Token |
BashLexer.getToken() |
Token |
ShellLexer.next()
Contrary to the
ShellLexer.scan() method, the tokens are returned one by one by this method: it resumes scanning
until the next regular expression is matched, the end of input is encountered or an I/O error occurs |
Token |
BashLexer.next() |
protected Token |
AbstractBashLexer.token(TokenType type)
Create and return a
Token of given type. |
protected Token |
AbstractBashLexer.token(TokenType type,
int start,
int length)
Create and return a Token of given type from start with length
offset is added to start
|
protected Token |
BashLexerBase.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
protected abstract Token |
AbstractBashLexer.yylex()
This is called to return the next Token from the input
Reader |
| Modifier and Type | Method and Description |
|---|---|
List<Token> |
ShellLexer.scan()
Returns all non-overlapping found tokens for each recognized token in the stream set by the constructor.
|
List<Token> |
BashLexer.scan() |
Copyright © 2018–2019. All rights reserved.