Skip navigation links
A B C D E F G H I K L N O P R S T U V W X Y 

A

AbstractBashLexer - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Abstract class the JFlex Bash lexer will extend to inherit methods required to properly analyze Bash scripts Heavily inspired by IntelliJ IDEA Bash Support plugin
AbstractBashLexer() - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
 
ADD_SHELL_LANGUAGE_ENV_VAR - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.ShellCheckPlugin
 
analyse(SensorContext, FileLinesContextFactory, InputFile) - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCounter
Analyzes a file and saves its line measures.

B

backToPreviousState() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Goes back to the previous state of the lexer.
BashLexer - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Main Bash lexer class
BashLexer(Reader) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexer
Constructs a new Bash lexer for the passed Shell script supposed to be a Bash 4 script
BashLexer(boolean, Reader) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexer
Constructs a new Bash lexer for the passed Shell script
BashLexerBase - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
This class is a scanner generated by JFlex 1.7.0 from the specification file src/main/jflex/bash.jflex
BashLexerBase(Reader) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Creates a new scanner

C

CheckRepository - Class in com.github.sbaudoin.sonar.plugins.shellcheck.checks
 
cleanMarker(String, boolean) - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.HeredocSharedImpl
Returned the marker cleaned out of the meaningless characters suchs as quotes or $
close() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.util.FileSystem
 
closeHereStringIfAvailable() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Closes a here_string content token if the lexer is currently reading a here string
column() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Returns the column pointer remembered by this class
column - Variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
The column at which the token starts in the line (starting from 0)
com.github.sbaudoin.sonar.plugins.shellcheck - package com.github.sbaudoin.sonar.plugins.shellcheck
 
com.github.sbaudoin.sonar.plugins.shellcheck.checks - package com.github.sbaudoin.sonar.plugins.shellcheck.checks
 
com.github.sbaudoin.sonar.plugins.shellcheck.highlighting - package com.github.sbaudoin.sonar.plugins.shellcheck.highlighting
 
com.github.sbaudoin.sonar.plugins.shellcheck.languages - package com.github.sbaudoin.sonar.plugins.shellcheck.languages
 
com.github.sbaudoin.sonar.plugins.shellcheck.lexer - package com.github.sbaudoin.sonar.plugins.shellcheck.lexer
 
com.github.sbaudoin.sonar.plugins.shellcheck.measures - package com.github.sbaudoin.sonar.plugins.shellcheck.measures
 
com.github.sbaudoin.sonar.plugins.shellcheck.rules - package com.github.sbaudoin.sonar.plugins.shellcheck.rules
 
com.github.sbaudoin.sonar.plugins.shellcheck.settings - package com.github.sbaudoin.sonar.plugins.shellcheck.settings
 
com.github.sbaudoin.sonar.plugins.shellcheck.util - package com.github.sbaudoin.sonar.plugins.shellcheck.util
 
compareTo(Object) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
 

D

decOpenParenthesisCount() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Decrements the open parenthesis counter
define(BuiltInQualityProfilesDefinition.Context) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellQualityProfile
 
define(RulesDefinition.Context) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckRulesDefinition
 
define(Plugin.Context) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.ShellCheckPlugin
 
describe(SensorDescriptor) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
 

E

effectiveCommentLines() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCountData
Returns the set of line numbers of comments
end() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
return the end position of the token
enterHereStringContent() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Notifies that the lexer is entering a here-string content
equals(Object) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellLanguage
 
equals(Object) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
 
execute(SensorContext) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Executes shellcheck and saves the issues detected with this tool
executeCommand(List<String>, List<String>, List<String>) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Executes a system command and writes the standard and error outputs to the passed StringBuilder if not null

F

FILE_SUFFIXES_DEFAULT_VALUE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.settings.ShellCheckSettings
 
FILE_SUFFIXES_KEY - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.settings.ShellCheckSettings
 
FileSystem - Class in com.github.sbaudoin.sonar.plugins.shellcheck.util
A class used to make the default FileSystem be closable like the other file systems without raising an exception
FileSystem(URI) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.util.FileSystem
Initializes a new file system connected to the passed resource

G

getEndColumnIndex() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Returns the column number where the highlighted portion of code ends
getEndLine() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Returns the line number where the highlighted portion of code ends
getFileSuffixes() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellLanguage
Returns the file suffixes (.sh and .ksh by default) that identify Shell scripts
getHighlightingData() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellHighlighting
Returns the list of highlighting data found for the Shell script
getLineCountData() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCountParser
Returns the LineCountData describing the passed Shell script
getProperties() - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.settings.ShellCheckSettings
 
getRuleKey(String) - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.checks.CheckRepository
Returns the RuleKey of the rule identified by its Id as a string
getRuleKey(SensorContext, String) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Returns the RuleKey identified as the passed ruleId or null if no corresponding active rule has been found
getRuleKeys() - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.checks.CheckRepository
Returns the keys of all rules supported by this plugin
getShellCheckPath(SensorContext) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Returns the plugin configuration parameter (settings) that defines the path to the command shellcheck
getStartColumnIndex() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Returns the column number where the highlighted portion of code starts
getStartLine() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Returns the line number where the highlighted portion of code starts
getToken() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexer
 
getToken() - Method in interface com.github.sbaudoin.sonar.plugins.shellcheck.lexer.ShellLexer
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.
getTypeOfText() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Returns the type of text
goToState(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Goes to the given state and stores the previous state on the stack of states.

H

hashCode() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellLanguage
 
hashCode() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
 
HeredocLexingState - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Heredoc lexing state used in the lexer
HeredocLexingState() - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.HeredocLexingState
 
HeredocSharedImpl - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Shared code for the Heredoc handling.
heredocState() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the HeredocLexingState object used by the lexer to deal with here-docs
highlight(NewHighlighting) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Highlights the portion of code in SonarQube as described by this class
HighlightingData - Class in com.github.sbaudoin.sonar.plugins.shellcheck.highlighting
Class that stores the parameters a portion of Shell script to be highlighted and that is responsible for highlighting code in Sonar
HighlightingData(int, int, int, int, TypeOfText) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.HighlightingData
Constructor

I

incOpenParenthesisCount() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Increments the open parenthesis counter
isBash4() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the lexer is applying the Bash 4 syntax to analyze the code
isEmpty() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.HeredocLexingState
Tells if the state stack is empty or not
isEmptyConditionalCommand() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if an empty conditional command ([ ]) was met or not
isEvaluatingMarker(String) - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.HeredocSharedImpl
Tells if the passed string is an evaluating marker.
isInCaseBody() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the lexer is currently in a case statement
isInHereStringContent() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the lexer is currently analyzing a in-here string
isInState(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the current lexical state is the passed state (possibly nesting/parent stated)
isParamExpansionHash() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the lexer is currently considering a parameter expansion based on # (e.g.
isParamExpansionOther() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the current token is a parameter expansion marker other than # (e.g.
isParamExpansionWord() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Tells if the current lexer token is a parameter expansion word
isSameAs(ShellLocation) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Tells if the passed ShellLocation has the same offset or not (this is a kind of shallow version of the equals method)

K

KEY - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellLanguage
 

L

leaveHereStringContent() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Sets the in-here string state to false
length - Variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
The length of the token (in characters)
line() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Returns the line pointer remembered by this class
line - Variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
The line number at which the token starts (starting from 0)
LineCountData - Class in com.github.sbaudoin.sonar.plugins.shellcheck.measures
Bean that holds a summary of the lines of a source file (total number of lines, actual line numbers of line of code and line numbers of comments)
LineCountData(Integer, Set<Integer>, Set<Integer>) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCountData
Constructor
LineCounter - Class in com.github.sbaudoin.sonar.plugins.shellcheck.measures
Class used to count the code and comment lines of a Shell script and save these "facts" into SonarQube as measures
LineCountParser - Class in com.github.sbaudoin.sonar.plugins.shellcheck.measures
Counting lines, comment lines and blank lines in Shell scripts
LineCountParser(String) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCountParser
Constructor.
linesNumber() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCountData
Returns the total number of lines of code
linesOfCodeLines() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.measures.LineCountData
Returns the set of line numbers of lines of code

N

NAME - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellLanguage
 
next() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexer
 
next() - Method in interface com.github.sbaudoin.sonar.plugins.shellcheck.lexer.ShellLexer
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

O

openParenthesisCount() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the open parenthesis counter, i.e.

P

popStates(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Pops the passed state from the stack of nested states.

R

readChar() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Returns the character of the Shell script pointed to by the offset
readDirectory(URI) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.util.FileSystem
Reads and returns the 1st-level content of the passed directory described as a URI.
REPOSITORY_KEY - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.checks.CheckRepository
 
REPOSITORY_NAME - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.checks.CheckRepository
 
RULES_DEFINITION_FOLDER - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.checks.CheckRepository
 

S

S_ARITH - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_ARITH_ARRAY_MODE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_ARITH_SQUARE_MODE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_ARRAY - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_ASSIGNMENT_LIST - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_BACKQUOTE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_CASE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_CASE_PATTERN - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_DOLLAR_PREFIXED - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_PARAM_EXPANSION - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_PARAM_EXPANSION_DELIMITER - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_PARAM_EXPANSION_PATTERN - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_PARAM_EXPANSION_REPLACEMENT - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_SUBSHELL - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_TEST - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
S_TEST_COMMAND - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
saveIssue(SensorContext, InputFile, int, String, String) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Saves the found issues in SonarQube
saveIssues(InputFile, String, SensorContext) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Saves in SonarQube all the issues found in the passed JSON output.
scan() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexer
 
scan() - Method in interface com.github.sbaudoin.sonar.plugins.shellcheck.lexer.ShellLexer
Returns all non-overlapping found tokens for each recognized token in the stream set by the constructor.
setEmptyConditionalCommand(boolean) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Sets the flag that tracks empty conditional commands
setInCaseBody(boolean) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Sets the flag that tells if the lexer is in a case statement
setParamExpansionHash(boolean) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Sets the flag that tracks parameter expansion based on #
setParamExpansionOther(boolean) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Sets the flag that tracks parameter expansion marker other than #
setParamExpansionWord(boolean) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Sets the flag that tracks parameter expansion words
SHELLCHECK_PATH_DEFAULT_VALUE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.settings.ShellCheckSettings
 
SHELLCHECK_PATH_KEY - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.settings.ShellCheckSettings
 
ShellCheckPlugin - Class in com.github.sbaudoin.sonar.plugins.shellcheck
 
ShellCheckPlugin() - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.ShellCheckPlugin
 
ShellCheckRulesDefinition - Class in com.github.sbaudoin.sonar.plugins.shellcheck.rules
 
ShellCheckRulesDefinition() - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckRulesDefinition
 
ShellCheckSensor - Class in com.github.sbaudoin.sonar.plugins.shellcheck.rules
SonarQube sensor class responsible for analyzing Shell scripts with ShellCheck
ShellCheckSensor(FileSystem, FileLinesContextFactory) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor
Constructor
ShellCheckSensor.UnexpectedCommandOutputException - Exception in com.github.sbaudoin.sonar.plugins.shellcheck.rules
Class thrown when the executed command does not return the expected output
ShellCheckSettings - Class in com.github.sbaudoin.sonar.plugins.shellcheck.settings
 
ShellHighlighting - Class in com.github.sbaudoin.sonar.plugins.shellcheck.highlighting
Class in charge of Shell code highlighting in SonarQube
ShellHighlighting(String) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellHighlighting
Constructor
ShellLanguage - Class in com.github.sbaudoin.sonar.plugins.shellcheck.languages
Describes the Shell language and tells when it applies
ShellLanguage(Configuration) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellLanguage
Constructor
ShellLexer - Interface in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Shell lexers should implement this interface.
ShellLocation - Class in com.github.sbaudoin.sonar.plugins.shellcheck.highlighting
Wrapper class used to locate tokens in Shell scripts and help highlight them
ShellLocation(String, Token) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Constructor
ShellLocation(String, int, int, int) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Constructor
ShellQualityProfile - Class in com.github.sbaudoin.sonar.plugins.shellcheck.languages
Default, built-in quality profile for the projects having Shell scripts
ShellQualityProfile() - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.languages.ShellQualityProfile
 
shift(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Returns a ShellLocation that corresponds to this instance + line, column and offset parameters moved forward of the passed number of characters
start - Variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
The offset (in characters) at which the token was identified in the source Shell code
startMarkerTextOffset(String, boolean) - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.HeredocSharedImpl
Returns the start offset of the passed marker text
StringLexingstate - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Class to store information about the current parsing of strings.
StringLexingstate() - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.StringLexingstate
 
stringParsingState() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the StringLexingState object used by the lexer to deal with strings

T

token(TokenType, int, int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Create and return a Token of given type from start with length offset is added to start
token(TokenType) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Create and return a Token of given type.
Token - Class in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
This class represents the tokens identified by Shell lexers
Token(TokenType, int, int, int, int) - Constructor for class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
Constructs a new token
TokenType - Enum in com.github.sbaudoin.sonar.plugins.shellcheck.lexer
Enumeration of known Bash token types
toString() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.highlighting.ShellLocation
Returns a string representation of this class
toString() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
 
type - Variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.Token
The token type

U

UnexpectedCommandOutputException(String) - Constructor for exception com.github.sbaudoin.sonar.plugins.shellcheck.rules.ShellCheckSensor.UnexpectedCommandOutputException
 

V

valueOf(String) - Static method in enum com.github.sbaudoin.sonar.plugins.shellcheck.lexer.TokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.sbaudoin.sonar.plugins.shellcheck.lexer.TokenType
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapMarker(String, String) - Static method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.HeredocSharedImpl
Replaces the marker name in the original marker by the passed new name.

X

X_HERE_STRING - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
X_HEREDOC - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
X_HEREDOC_MARKER - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
X_HEREDOC_MARKER_IGNORE_TABS - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
X_STRINGMODE - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 

Y

yybegin(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Enters a new lexical state.
yybegin(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Enters a new lexical state
yychar() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the char number from beginning of input stream.
yychar() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
yycharat(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the character at position pos from the matched text.
yycharat(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Returns the character at position pos from the matched text.
yyclose() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Closes the input stream
yycolumn() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the column number from beginning of the line (starting from 0).
yycolumn() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
YYEOF - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
This character denotes the end of file
YYINITIAL - Static variable in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
lexical states
yylength() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the length of the matched text region.
yylength() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Returns the length of the matched text region.
yylex() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
This is called to return the next Token from the input Reader
yylex() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
yyline() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the start line number from beginning of input stream (starting from 0).
yyline() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
 
yypushback(int) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Pushes the specified amount of characters back into the input stream.
yyreset(Reader) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
This will be called to reset the the lexer.
yyreset(Reader) - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Resets the scanner to read from a new input stream.
yystate() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the current lexical state
yystate() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Returns the current lexical state.
yytext() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.AbstractBashLexer
Returns the text matched by the current regular expression.
yytext() - Method in class com.github.sbaudoin.sonar.plugins.shellcheck.lexer.BashLexerBase
Returns the text matched by the current regular expression.
A B C D E F G H I K L N O P R S T U V W X Y 
Skip navigation links

Copyright © 2018–2019. All rights reserved.