A B C D E F G H I J K L M N O P R S T U V W

A

abstractDeclarator - Variable in class com.sonar.c.api.CGrammar
 
add(STATEMENT) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
add(FlowHandler) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine.FlowHandlerStack
 
addAllTokens(List<Token>) - Method in class com.sonar.sslr.api.LexerOutput
Add a list of tokens to the list without notifying preprocessors.
addChild(AstNode) - Method in class com.sonar.sslr.api.AstNode
 
addCommentToken(Token) - Method in class com.sonar.sslr.api.LexerOutput
 
addException(Exception) - Method in interface com.sonar.sslr.api.AuditListener
This method is called when an exception different from a parsing error occurs
additiveExpression - Variable in class com.sonar.c.api.CGrammar
 
additiveExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
addPreprocessingToken(Token) - Method in class com.sonar.sslr.api.LexerOutput
 
addRecognitionException(RecognitionException) - Method in interface com.sonar.sslr.api.RecognictionExceptionListener
This method is called when a recognition exception occurs
addSourceCode(SourceCode) - Method in class com.sonar.c.api.ast.CAstVisitor
Do not use
addToken(Token) - Method in class com.sonar.sslr.api.LexerOutput
Add a token to the list without notifying preprocessors.
addTokenAndProcess(TokenType, String, int, int) - Method in class com.sonar.sslr.api.LexerOutput
Add a new token and notify the preprocessors
aggregateIfThereIsAlreadyAValue() - Method in enum com.sonar.c.api.metric.CMetric
 
and(Object...) - Method in interface com.sonar.sslr.api.Rule
 
andExpression - Variable in class com.sonar.c.api.CGrammar
 
argumentExpressionList - Variable in class com.sonar.c.api.CGrammar
 
assignementOperator - Variable in class com.sonar.c.api.CGrammar
 
assignmentExpression - Variable in class com.sonar.c.api.CGrammar
 
AstAndTokenVisitor - Interface in com.sonar.sslr.api
The AstVisitor allows to visit some desired AstNode.
AstListener<OUTPUT> - Class in com.sonar.sslr.api
 
AstListener() - Constructor for class com.sonar.sslr.api.AstListener
 
AstNode - Class in com.sonar.sslr.api
the parser is in charge to construct an abstract syntax tree (AST) which is a tree representation of the abstract syntactic structure of source code.
AstNode(Token) - Constructor for class com.sonar.sslr.api.AstNode
 
AstNode(AstNodeType, String, Token) - Constructor for class com.sonar.sslr.api.AstNode
 
AstNodeBrowser - Class in com.sonar.sslr.api
 
AstNodeBrowser(AstNode) - Constructor for class com.sonar.sslr.api.AstNodeBrowser
 
AstNodeSkippingPolicy - Interface in com.sonar.sslr.api
Specific Ast node types that can tell whether they should be skipped from being attached to the AST or not.
AstNodeType - Interface in com.sonar.sslr.api
Each AST Node has a type which can be for instance the Rule of a Grammar, a language keyword or a language special token like a WORD.
AstVisitor - Interface in com.sonar.sslr.api
 
AuditListener - Interface in com.sonar.sslr.api
An AuditListener must be used to be notified of parsing error or standard exception which might occur when analysing a source code

B

BarrierSignal - Exception in com.sonar.sslr.api.flow
 
BarrierSignal() - Constructor for exception com.sonar.sslr.api.flow.BarrierSignal
 
beforeLeaveFile(AstNode) - Method in class com.sonar.c.api.ast.CAstVisitor
blockItem - Variable in class com.sonar.c.api.CGrammar
 
BranchDepthExplorationBarrier - Class in com.sonar.sslr.api.flow
 
BranchDepthExplorationBarrier(int) - Constructor for class com.sonar.sslr.api.flow.BranchDepthExplorationBarrier
 
browse(AstNode) - Static method in class com.sonar.sslr.api.AstNodeBrowser
 

C

callEndPathOnVisitors() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
callLeaveBranchOnVisitors() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
callLeaveMandatoryBranches() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
callVisitBranchOnVisitors() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
callVisitMandatoryBranches() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
CAstCheck - Class in com.sonar.c.api.ast
Base class to implement a C check.
CAstCheck() - Constructor for class com.sonar.c.api.ast.CAstCheck
 
castExpression - Variable in class com.sonar.c.api.CGrammar
 
CAstVisitor - Class in com.sonar.c.api.ast
Base class to visit an AST (Abstract Syntactic Tree) generated by a parser.
CAstVisitor() - Constructor for class com.sonar.c.api.ast.CAstVisitor
 
CGrammar - Class in com.sonar.c.api
 
CGrammar() - Constructor for class com.sonar.c.api.CGrammar
 
CKeyword - Enum in com.sonar.c.api
 
CMetric - Enum in com.sonar.c.api.metric
 
com.sonar.c.api - package com.sonar.c.api
 
com.sonar.c.api.ast - package com.sonar.c.api.ast
 
com.sonar.c.api.metric - package com.sonar.c.api.metric
 
com.sonar.sslr.api - package com.sonar.sslr.api
 
com.sonar.sslr.api.flow - package com.sonar.sslr.api.flow
 
com.sonar.sslr.api.symbol - package com.sonar.sslr.api.symbol
 
Comments - Class in com.sonar.sslr.api
 
Comments(Map<Integer, Token>) - Constructor for class com.sonar.sslr.api.Comments
 
compoundStatement - Variable in class com.sonar.c.api.CGrammar
 
conditionalExpression - Variable in class com.sonar.c.api.CGrammar
 
conditionalExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
constant - Variable in class com.sonar.c.api.CGrammar
 
constantExpression - Variable in class com.sonar.c.api.CGrammar
 
constantExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
contains(FlowHandler) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine.FlowHandlerStack
 
controlLine - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
CPreprocessorGrammar - Class in com.sonar.c.api
 
CPreprocessorGrammar() - Constructor for class com.sonar.c.api.CPreprocessorGrammar
 
CPunctuator - Enum in com.sonar.c.api
 
CTokenType - Enum in com.sonar.c.api
 

D

declaration - Variable in class com.sonar.c.api.CGrammar
 
declarationSpecifiers - Variable in class com.sonar.c.api.CGrammar
 
declarator - Variable in class com.sonar.c.api.CGrammar
 
decorate(GRAMMAR) - Method in interface com.sonar.sslr.api.GrammarDecorator
 
definedExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
designation - Variable in class com.sonar.c.api.CGrammar
 
designator - Variable in class com.sonar.c.api.CGrammar
 
destroy() - Method in class com.sonar.c.api.ast.CAstVisitor
Destroy the visitor.
directAbstractDeclarator - Variable in class com.sonar.c.api.CGrammar
 
directDeclarator - Variable in class com.sonar.c.api.CGrammar
 
doWhileStatement - Variable in class com.sonar.c.api.CGrammar
 
dumpSourceCode() - Method in class com.sonar.sslr.api.AstNode
Dump the partial source code covered by this node.

E

elifGroup - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
elseGroup - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
elseStatement - Variable in class com.sonar.c.api.CGrammar
 
endifGroup - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
endLexing(LexerOutput) - Method in class com.sonar.sslr.api.Preprocessor
 
endParsing() - Method in interface com.sonar.sslr.api.LeftRecursiveRule
Supporting left recursive rule requires to manage a state that must be (re)initialized before starting parsing a new source code.
endPath() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
enumerationConstant - Variable in class com.sonar.c.api.CGrammar
 
enumerator - Variable in class com.sonar.c.api.CGrammar
 
enumeratorList - Variable in class com.sonar.c.api.CGrammar
 
enumSpecifier - Variable in class com.sonar.c.api.CGrammar
 
equalityExpression - Variable in class com.sonar.c.api.CGrammar
 
equalityExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
equals(Object) - Method in class com.sonar.sslr.api.Token
 
error - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
exclusiveOrExpression - Variable in class com.sonar.c.api.CGrammar
 
ExecutionFlow<STATEMENT extends Statement> - Interface in com.sonar.sslr.api.flow
 
ExecutionFlowEngine<STATEMENT extends Statement> - Class in com.sonar.sslr.api.flow
 
ExecutionFlowEngine() - Constructor for class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
ExecutionFlowEngine.FlowHandlerStack - Class in com.sonar.sslr.api.flow
 
ExecutionFlowEngine.FlowHandlerStack() - Constructor for class com.sonar.sslr.api.flow.ExecutionFlowEngine.FlowHandlerStack
 
ExecutionFlowSignal - Exception in com.sonar.sslr.api.flow
 
ExecutionFlowSignal() - Constructor for exception com.sonar.sslr.api.flow.ExecutionFlowSignal
 
ExecutionFlowVisitor<STATEMENT extends Statement> - Class in com.sonar.sslr.api.flow
 
ExecutionFlowVisitor() - Constructor for class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
expression - Variable in class com.sonar.c.api.CGrammar
 
expressionStatement - Variable in class com.sonar.c.api.CGrammar
 
externalDeclaration - Variable in class com.sonar.c.api.CGrammar
 

F

findChildren(AstNodeType) - Method in class com.sonar.sslr.api.AstNode
Find the all children having the requested type.
findChildren(AstNodeType) - Method in class com.sonar.sslr.api.AstNodeBrowser
 
findDirectChildren(AstNodeType) - Method in class com.sonar.sslr.api.AstNode
Find the all children among direct children having the requested type.
findFirstChild(AstNodeType...) - Method in class com.sonar.sslr.api.AstNode
Find the first child among all children and grand-children having one of the requested types.
findFirstChild(AstNodeType...) - Method in class com.sonar.sslr.api.AstNodeBrowser
 
findFirstDirectChild(AstNodeType...) - Method in class com.sonar.sslr.api.AstNode
Find the first child among all direct children having one of the requested types.
findFirstDirectChild(AstNodeType...) - Method in class com.sonar.sslr.api.AstNodeBrowser
 
findFirstDirectChild(AstNodeType, String) - Method in class com.sonar.sslr.api.AstNodeBrowser
 
findFirstParent(AstNodeType) - Method in class com.sonar.sslr.api.AstNode
Find the first parent with the desired node type
floatingConstant - Variable in class com.sonar.c.api.CGrammar
 
FlowHandler<STATEMENT extends Statement> - Class in com.sonar.sslr.api.flow
 
FlowHandler() - Constructor for class com.sonar.sslr.api.flow.FlowHandler
 
forStatement - Variable in class com.sonar.c.api.CGrammar
 
functionDeclarator - Variable in class com.sonar.c.api.CGrammar
 
functionDefinition - Variable in class com.sonar.c.api.CGrammar
 
functionLikeMacro - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
functionName - Variable in class com.sonar.c.api.CGrammar
 
functionSpecifier - Variable in class com.sonar.c.api.CGrammar
 

G

gccAsm - Variable in class com.sonar.c.api.CGrammar
 
gccAsmStatement - Variable in class com.sonar.c.api.CGrammar
 
gccAttribute - Variable in class com.sonar.c.api.CGrammar
 
gccCaseRange - Variable in class com.sonar.c.api.CGrammar
 
GenericTokenType - Enum in com.sonar.sslr.api
 
get(int) - Method in class com.sonar.sslr.api.LexerOutput
 
getAggregationFormula() - Method in enum com.sonar.c.api.metric.CMetric
 
getAstNode() - Method in class com.sonar.sslr.api.flow.Statement
 
getAstNode() - Method in class com.sonar.sslr.api.symbol.Symbol
 
getAstNodeTypesToVisit() - Method in class com.sonar.c.api.ast.CAstVisitor
This method can't be overridden.
getAstNodeTypesToVisit() - Method in interface com.sonar.sslr.api.AstVisitor
The AST node types that this check must be registered for.
getCalculatedMetricFormula() - Method in enum com.sonar.c.api.metric.CMetric
 
getCGrammar() - Method in class com.sonar.c.api.ast.CAstVisitor
 
getChild(int) - Method in class com.sonar.sslr.api.AstNode
Get the desired child
getChildren() - Method in class com.sonar.sslr.api.AstNode
Get the list of children.
getColumn() - Method in class com.sonar.sslr.api.Token
 
getCommentAtLine(int) - Method in class com.sonar.sslr.api.Comments
 
getComments() - Method in class com.sonar.c.api.ast.CAstVisitor
 
getComments() - Method in class com.sonar.sslr.api.LexerOutput
 
getCommentTokens() - Method in class com.sonar.sslr.api.LexerOutput
 
getCopyBookOriginalFileName() - Method in class com.sonar.sslr.api.Token
 
getCopyBookOriginalLine() - Method in class com.sonar.sslr.api.Token
 
getEndLine() - Method in class com.sonar.sslr.api.symbol.Symbol
 
getFile() - Method in class com.sonar.c.api.ast.CAstVisitor
 
getFile() - Method in class com.sonar.sslr.api.LexerOutput
 
getFile() - Method in class com.sonar.sslr.api.Token
 
getFileAbsolutePath() - Method in class com.sonar.sslr.api.LexerOutput
 
getFileName() - Method in class com.sonar.sslr.api.LexerOutput
 
getFirstChild() - Method in class com.sonar.sslr.api.AstNode
Get the first child of this node
getFirstToken() - Method in class com.sonar.sslr.api.LexerOutput
 
getFlowHandler() - Method in class com.sonar.sslr.api.flow.Statement
 
getFlowHandlerStack() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
getFollowingToken() - Method in class com.sonar.sslr.api.Token
 
getFromIndex() - Method in class com.sonar.sslr.api.AstNode
 
getInitValue() - Method in enum com.sonar.c.api.metric.CMetric
 
getKey() - Method in class com.sonar.c.api.ast.CAstCheck
 
getLastChild() - Method in class com.sonar.sslr.api.AstNode
Get the last child of this node
getLastToken() - Method in class com.sonar.sslr.api.AstNode
 
getLastToken() - Method in class com.sonar.sslr.api.LexerOutput
 
getLine() - Method in interface com.sonar.sslr.api.RecognitionException
Line where the parsing error has occurred.
getLine() - Method in class com.sonar.sslr.api.Token
 
getMessage() - Method in interface com.sonar.sslr.api.RecognitionException
The full parsing stack trace.
getName() - Method in enum com.sonar.c.api.CKeyword
 
getName() - Method in enum com.sonar.c.api.CPunctuator
 
getName() - Method in enum com.sonar.c.api.CTokenType
 
getName() - Method in enum com.sonar.c.api.metric.CMetric
 
getName() - Method in class com.sonar.sslr.api.AstNode
 
getName() - Method in enum com.sonar.sslr.api.GenericTokenType
 
getName() - Method in interface com.sonar.sslr.api.TokenType
 
getNext() - Method in class com.sonar.sslr.api.flow.Statement
 
getNumberOfChildren() - Method in class com.sonar.sslr.api.AstNode
 
getParent() - Method in class com.sonar.sslr.api.AstNode
Get the parent of this node in the tree.
getPreprocessingTokens() - Method in class com.sonar.sslr.api.LexerOutput
 
getPrevious() - Method in class com.sonar.sslr.api.flow.Statement
 
getPreviousToken() - Method in class com.sonar.sslr.api.Token
 
getResult() - Method in class com.sonar.sslr.api.AstNodeBrowser
 
getResults() - Method in class com.sonar.sslr.api.AstNodeBrowser
 
getRootRule() - Method in class com.sonar.c.api.CGrammar
 
getRootRule() - Method in class com.sonar.c.api.CPreprocessorGrammar
 
getRootRule() - Method in interface com.sonar.sslr.api.Grammar
Each Grammar has always an entry point whose name is usually by convention the "Computation Unit".
getStartLine() - Method in class com.sonar.sslr.api.symbol.Symbol
 
getStatement(AstNode) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
getStatements() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
getToIndex() - Method in class com.sonar.sslr.api.AstNode
 
getToken() - Method in class com.sonar.sslr.api.AstNode
Get the Token associated to this AstNode
getTokenLine() - Method in class com.sonar.sslr.api.AstNode
Get the Token's line associated to this AstNode
getTokens() - Method in class com.sonar.sslr.api.AstNode
Return all tokens contained in this tree node.
getTokens() - Method in class com.sonar.sslr.api.LexerOutput
 
getTokenValue() - Method in class com.sonar.sslr.api.AstNode
Get the Token's value associated to this AstNode
getType() - Method in class com.sonar.sslr.api.AstNode
 
getType() - Method in class com.sonar.sslr.api.Token
 
getValue() - Method in enum com.sonar.c.api.CKeyword
 
getValue() - Method in enum com.sonar.c.api.CPunctuator
 
getValue() - Method in enum com.sonar.c.api.CTokenType
 
getValue() - Method in enum com.sonar.sslr.api.GenericTokenType
 
getValue() - Method in class com.sonar.sslr.api.Token
 
getValue() - Method in interface com.sonar.sslr.api.TokenType
 
gotoStatement - Variable in class com.sonar.c.api.CGrammar
 
grammar - Variable in class com.sonar.c.api.ast.CAstVisitor
 
Grammar - Interface in com.sonar.sslr.api
A Grammar must be implemented to define the syntactic rules of a language.
GrammarDecorator<GRAMMAR extends Grammar> - Interface in com.sonar.sslr.api
 

H

hasChildren() - Method in class com.sonar.sslr.api.AstNode
 
hasChildren(AstNodeType...) - Method in class com.sonar.sslr.api.AstNode
 
hasDirectChildren(AstNodeType...) - Method in class com.sonar.sslr.api.AstNode
 
hasFlowHandler() - Method in class com.sonar.sslr.api.flow.Statement
 
hashCode() - Method in class com.sonar.sslr.api.Token
 
hasNext() - Method in class com.sonar.sslr.api.flow.Statement
 
hasParents(AstNodeType) - Method in class com.sonar.sslr.api.AstNode
 
hasPrevious() - Method in class com.sonar.sslr.api.flow.Statement
 
hasResult() - Method in class com.sonar.sslr.api.AstNodeBrowser
 
hasToBeSkippedFromAst(AstNode) - Method in enum com.sonar.c.api.CKeyword
 
hasToBeSkippedFromAst(AstNode) - Method in enum com.sonar.c.api.CPunctuator
 
hasToBeSkippedFromAst(AstNode) - Method in enum com.sonar.c.api.CTokenType
 
hasToBeSkippedFromAst() - Method in class com.sonar.sslr.api.AstNode
 
hasToBeSkippedFromAst(AstNode) - Method in interface com.sonar.sslr.api.AstNodeSkippingPolicy
Some AstNode can be pretty useless and makes a global AST less readable.
hasToBeSkippedFromAst(AstNode) - Method in enum com.sonar.sslr.api.GenericTokenType
 
hasToBeSkippedFromAst(AstNode) - Method in interface com.sonar.sslr.api.TokenType
 
hasToken() - Method in class com.sonar.sslr.api.AstNode
 

I

identifierList - Variable in class com.sonar.c.api.CGrammar
 
ifDefGroup - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
ifGroup - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
ifNDefGroup - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
ifSection - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
ifStatement - Variable in class com.sonar.c.api.CGrammar
 
include - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
includeInfSupFileName - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
includeLiteralFileName - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
inclusiveOrExpression - Variable in class com.sonar.c.api.CGrammar
 
incorrectExternalDeclaration - Variable in class com.sonar.c.api.CGrammar
 
init() - Method in class com.sonar.c.api.ast.CAstVisitor
Initialize the visitor.
initDeclarator - Variable in class com.sonar.c.api.CGrammar
 
initializer - Variable in class com.sonar.c.api.CGrammar
 
initializerList - Variable in class com.sonar.c.api.CGrammar
 
integerConstant - Variable in class com.sonar.c.api.CGrammar
 
is(AstNodeType) - Method in class com.sonar.sslr.api.AstNode
 
is(Object...) - Method in interface com.sonar.sslr.api.Rule
This method allows the define the current rule as the sequence of the matchers passed as parameters, respecting the order of the given matchers.
isBlankComment(String) - Static method in class com.sonar.sslr.api.Comments
 
isCalculatedMetric() - Method in enum com.sonar.c.api.metric.CMetric
 
isCopyBook() - Method in class com.sonar.sslr.api.Token
 
isCopyBookOrGeneratedNode() - Method in class com.sonar.sslr.api.AstNode
 
isEmpty() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine.FlowHandlerStack
 
isGeneratedCode() - Method in class com.sonar.sslr.api.Token
 
isNot(AstNodeType) - Method in class com.sonar.sslr.api.AstNode
 
isOr(Object...) - Method in interface com.sonar.sslr.api.Rule
 
isThereAggregationFormula() - Method in enum com.sonar.c.api.metric.CMetric
 
isThereCommentBeforeLine(int) - Method in class com.sonar.sslr.api.Comments
 
iterator() - Method in class com.sonar.sslr.api.Comments
 

J

jumpStatement - Variable in class com.sonar.c.api.CGrammar
 

K

keywordValues() - Static method in enum com.sonar.c.api.CKeyword
 

L

labeledStatement - Variable in class com.sonar.c.api.CGrammar
 
leaveBranch() - Method in class com.sonar.sslr.api.flow.BranchDepthExplorationBarrier
 
leaveBranch() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
leaveFile(AstNode) - Method in class com.sonar.c.api.ast.CAstVisitor
Called once a computation unit tree has been fully visited.
leaveFile(AstNode) - Method in interface com.sonar.sslr.api.AstVisitor
Called once a computation unit tree has been fully visited.
leaveMandatoryBranches() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
leaveNode(AstNode) - Method in class com.sonar.c.api.ast.CAstVisitor
Called once an AST node has been fully visited.
leaveNode(AstNode) - Method in interface com.sonar.sslr.api.AstVisitor
Called once an AST node has been fully visited.
LeftRecursiveRule - Interface in com.sonar.sslr.api
A LeftRecursiveRule must be used in place of a Rule in order to support left recursion.
LexerOutput - Class in com.sonar.sslr.api
 
LexerOutput(Preprocessor...) - Constructor for class com.sonar.sslr.api.LexerOutput
 
LexerOutput(List<Token>) - Constructor for class com.sonar.sslr.api.LexerOutput
 
line - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
literal - Variable in class com.sonar.c.api.CGrammar
 
log(String, AstNode, Object...) - Method in class com.sonar.c.api.ast.CAstCheck
 
log(String, Token, Object...) - Method in class com.sonar.c.api.ast.CAstCheck
 
log(String, int, Object...) - Method in class com.sonar.c.api.ast.CAstCheck
 
logicalAndExpression - Variable in class com.sonar.c.api.CGrammar
 
logicalAndExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
logicalOrExpression - Variable in class com.sonar.c.api.CGrammar
 
logicalOrExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 

M

macroDefineParameter - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
macroName - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
mock() - Method in interface com.sonar.sslr.api.Rule
 
mockUpperCase() - Method in interface com.sonar.sslr.api.Rule
 
multiplicativeExpression - Variable in class com.sonar.c.api.CGrammar
 
multiplicativeExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 

N

nextAstNode() - Method in class com.sonar.sslr.api.AstNode
Get the next sibling AstNode in the tree and if this node doesn't exist try to get the next AST Node of the parent.
nextSibling() - Method in class com.sonar.sslr.api.AstNode
Get the next sibling AstNode if exists in the tree.
NotVisitTwiceTheSameStatementBarrier - Class in com.sonar.sslr.api.flow
 
NotVisitTwiceTheSameStatementBarrier() - Constructor for class com.sonar.sslr.api.flow.NotVisitTwiceTheSameStatementBarrier
 

O

objectLikeMacro - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
onError(Throwable) - Method in class com.sonar.c.api.ast.CAstVisitor
 
or(Object...) - Method in interface com.sonar.sslr.api.Rule
 
orBefore(Object...) - Method in interface com.sonar.sslr.api.Rule
 
override(Object...) - Method in interface com.sonar.sslr.api.Rule
This method has the same effect as RuleImpl#is(Object...), except that it can be called more than once to redefine a rule from scratch.

P

parameterDeclaration - Variable in class com.sonar.c.api.CGrammar
 
parameterTypeList - Variable in class com.sonar.c.api.CGrammar
 
peek() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine.FlowHandlerStack
 
peekSourceCode() - Method in class com.sonar.c.api.ast.CAstVisitor
Do not use
plug(Class) - Method in interface com.sonar.sslr.api.Rule
 
pointer - Variable in class com.sonar.c.api.CGrammar
 
pop() - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine.FlowHandlerStack
 
popSourceCode() - Method in class com.sonar.c.api.ast.CAstVisitor
Do not use
postfixExpression - Variable in class com.sonar.c.api.CGrammar
 
pragma - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
Preprocessor - Class in com.sonar.sslr.api
 
Preprocessor() - Constructor for class com.sonar.sslr.api.Preprocessor
 
previousSibling() - Method in class com.sonar.sslr.api.AstNode
Get the previous sibling AstNode if exists in the tree.
primaryExpression - Variable in class com.sonar.c.api.CGrammar
 
primaryExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
process(Token, LexerOutput) - Method in class com.sonar.sslr.api.Preprocessor
 
processFlow(ExecutionFlowEngine<STATEMENT>) - Method in class com.sonar.sslr.api.flow.FlowHandler
 
pushBackTokenAndProcess(Token, Preprocessor) - Method in class com.sonar.sslr.api.LexerOutput
This method must be called by a preprocessor when a token has been temporary consumed by this preprocessor but finally must be pushed back to the LexerOutput.
pushBackTokensAndProcess(List<Token>, Preprocessor) - Method in class com.sonar.sslr.api.LexerOutput
This method must be called by a preprocessor when some tokens have been temporary consumed by this preprocessor but finally must be pushed back to the LexerOutput.

R

RecognictionExceptionListener - Interface in com.sonar.sslr.api
A RecognictionExceptionListener must be used to be notified of parsing error
RecognitionException - Interface in com.sonar.sslr.api
If a parsing error is encountered, an exception which implements this RecognitionException is thrown by the Parser.
recoveryRule() - Method in interface com.sonar.sslr.api.Rule
A recovery rule notify RecognitionExceptionListener(s) of a parsing error before consuming bad tokens.
relationalExpression - Variable in class com.sonar.c.api.CGrammar
 
relationalExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
removeLastTokens(int) - Method in class com.sonar.sslr.api.LexerOutput
 
replacementList - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
returnStatement - Variable in class com.sonar.c.api.CGrammar
 
Rule - Interface in com.sonar.sslr.api
A Rule describes a grammar syntactic rule.

S

setAstNodeListener(AstListener) - Method in class com.sonar.sslr.api.AstNode
 
setComments(Comments) - Method in class com.sonar.c.api.ast.CAstVisitor
Do not use
setCopyBook(boolean) - Method in class com.sonar.sslr.api.Token
 
setCopyBookOriginalFileName(String) - Method in class com.sonar.sslr.api.Token
 
setCopyBookOriginalLine(int) - Method in class com.sonar.sslr.api.Token
 
setFile(File) - Method in class com.sonar.c.api.ast.CAstVisitor
 
setFile(File) - Method in class com.sonar.sslr.api.LexerOutput
 
setFile(File) - Method in class com.sonar.sslr.api.Token
 
setFlowHandler(FlowHandler) - Method in class com.sonar.sslr.api.flow.Statement
 
setFollowingToken(Token) - Method in class com.sonar.sslr.api.Token
 
setFromIndex(int) - Method in class com.sonar.sslr.api.AstNode
 
setGeneratedCode(boolean) - Method in class com.sonar.sslr.api.Token
 
setGrammar(CGrammar) - Method in class com.sonar.c.api.ast.CAstVisitor
Do not use
setListener(AstListener) - Method in interface com.sonar.sslr.api.Rule
 
setNext(Statement) - Method in class com.sonar.sslr.api.flow.Statement
 
setPreviousToken(Token) - Method in class com.sonar.sslr.api.Token
 
setSourceCodeStack(Stack<SourceCode>) - Method in class com.sonar.c.api.ast.CAstVisitor
Do not use
setToIndex(int) - Method in class com.sonar.sslr.api.AstNode
 
setTokens(List<Token>) - Method in class com.sonar.sslr.api.LexerOutput
 
setType(TokenType) - Method in class com.sonar.sslr.api.Token
 
setValue(String) - Method in class com.sonar.sslr.api.Token
 
shiftExpression - Variable in class com.sonar.c.api.CGrammar
 
shiftExpression - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
size() - Method in class com.sonar.sslr.api.Comments
 
size() - Method in class com.sonar.sslr.api.LexerOutput
 
skip() - Method in interface com.sonar.sslr.api.Rule
 
skipIf(AstNodeType) - Method in interface com.sonar.sslr.api.Rule
 
skipIfOneChild() - Method in interface com.sonar.sslr.api.Rule
 
speciaTypeName - Variable in class com.sonar.c.api.CGrammar
 
specifierQualifierList - Variable in class com.sonar.c.api.CGrammar
 
start() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
start() - Method in class com.sonar.sslr.api.flow.NotVisitTwiceTheSameStatementBarrier
 
startLexing() - Method in class com.sonar.sslr.api.Preprocessor
 
startListening(AstNode, OUTPUT) - Method in class com.sonar.sslr.api.AstListener
 
startListening(Object) - Method in class com.sonar.sslr.api.AstNode
 
statement - Variable in class com.sonar.c.api.CGrammar
 
Statement - Class in com.sonar.sslr.api.flow
 
Statement(AstNode) - Constructor for class com.sonar.sslr.api.flow.Statement
 
stop() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
stop() - Method in class com.sonar.sslr.api.flow.NotVisitTwiceTheSameStatementBarrier
 
StopFlowExplorationSignal - Exception in com.sonar.sslr.api.flow
 
StopFlowExplorationSignal() - Constructor for exception com.sonar.sslr.api.flow.StopFlowExplorationSignal
 
stopListening(AstNode, OUTPUT) - Method in class com.sonar.sslr.api.AstListener
 
stopListening(Object) - Method in class com.sonar.sslr.api.AstNode
 
StopPathExplorationSignal - Exception in com.sonar.sslr.api.flow
 
StopPathExplorationSignal() - Constructor for exception com.sonar.sslr.api.flow.StopPathExplorationSignal
 
storageClassSpecifier - Variable in class com.sonar.c.api.CGrammar
 
structDeclaration - Variable in class com.sonar.c.api.CGrammar
 
structDeclarator - Variable in class com.sonar.c.api.CGrammar
 
structOrUnion - Variable in class com.sonar.c.api.CGrammar
 
structOrUnionSpecifier - Variable in class com.sonar.c.api.CGrammar
 
subscribeTo(AstNodeType...) - Method in class com.sonar.c.api.ast.CAstVisitor
This method must called into the init() method when a Cobol AST visitor wants to subscribe to a set of AST node type.
switchStatement - Variable in class com.sonar.c.api.CGrammar
 
Symbol - Class in com.sonar.sslr.api.symbol
 
Symbol(AstNode) - Constructor for class com.sonar.sslr.api.symbol.Symbol
 

T

Token - Class in com.sonar.sslr.api
 
Token(TokenType, String) - Constructor for class com.sonar.sslr.api.Token
 
Token(TokenType, String, int, int) - Constructor for class com.sonar.sslr.api.Token
 
Token(TokenType, String, int, int, File) - Constructor for class com.sonar.sslr.api.Token
 
TokenType - Interface in com.sonar.sslr.api
 
toString() - Method in class com.sonar.sslr.api.AstNode
 
toString() - Method in class com.sonar.sslr.api.flow.Statement
 
toString() - Method in class com.sonar.sslr.api.LexerOutput
 
toString() - Method in class com.sonar.sslr.api.Token
 
translationUnit - Variable in class com.sonar.c.api.CGrammar
 
translationUnit - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
type - Variable in class com.sonar.sslr.api.AstNode
 
typeName - Variable in class com.sonar.c.api.CGrammar
 
typeQualifier - Variable in class com.sonar.c.api.CGrammar
 
typeQualifierList - Variable in class com.sonar.c.api.CGrammar
 
typeSpecifier - Variable in class com.sonar.c.api.CGrammar
 

U

unaryExpression - Variable in class com.sonar.c.api.CGrammar
 
unaryOperator - Variable in class com.sonar.c.api.CGrammar
 
undef - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
UnreservedKeyword - Interface in com.sonar.sslr.api
 

V

valueOf(String) - Static method in enum com.sonar.c.api.CKeyword
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sonar.c.api.CPunctuator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sonar.c.api.CTokenType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sonar.c.api.metric.CMetric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sonar.sslr.api.GenericTokenType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sonar.c.api.CKeyword
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sonar.c.api.CPunctuator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sonar.c.api.CTokenType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sonar.c.api.metric.CMetric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.sonar.sslr.api.GenericTokenType
Returns an array containing the constants of this enum type, in the order they are declared.
visitBranch() - Method in class com.sonar.sslr.api.flow.BranchDepthExplorationBarrier
 
visitBranch() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
visitFile(AstNode) - Method in class com.sonar.c.api.ast.CAstVisitor
Called before starting visiting a computation unit tree.
visitFile(AstNode) - Method in interface com.sonar.sslr.api.AstVisitor
Called before starting visiting a computation unit tree.
visitFlow(AstNode, ExecutionFlowVisitor<STATEMENT>...) - Method in interface com.sonar.sslr.api.flow.ExecutionFlow
 
visitFlow(ExecutionFlowVisitor<STATEMENT>...) - Method in interface com.sonar.sslr.api.flow.ExecutionFlow
 
visitFlow(AstNode, ExecutionFlowVisitor<STATEMENT>...) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
visitFlow(STATEMENT, ExecutionFlowVisitor<STATEMENT>...) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
visitFlow(AstNode) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
visitFlow(STATEMENT) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
visitFlow(ExecutionFlowVisitor<STATEMENT>...) - Method in class com.sonar.sslr.api.flow.ExecutionFlowEngine
 
visitMandatoryBranches() - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
visitNode(AstNode) - Method in class com.sonar.c.api.ast.CAstVisitor
Called to process an AST node whose type has been registered to be visited.
visitNode(AstNode) - Method in interface com.sonar.sslr.api.AstVisitor
Called to process an AST node whose type has been registered to be visited.
visitStatement(STATEMENT) - Method in class com.sonar.sslr.api.flow.ExecutionFlowVisitor
 
visitStatement(Statement) - Method in class com.sonar.sslr.api.flow.NotVisitTwiceTheSameStatementBarrier
 
visitToken(Token) - Method in interface com.sonar.sslr.api.AstAndTokenVisitor
Called sequentially for each token generated by the Lexer

W

warning - Variable in class com.sonar.c.api.CPreprocessorGrammar
 
whileStatement - Variable in class com.sonar.c.api.CGrammar
 
windowsCallingConventions - Variable in class com.sonar.c.api.CGrammar
 

A B C D E F G H I J K L M N O P R S T U V W

Copyright © 2011 SonarSource. All Rights Reserved.