Class StatementAndBraceFinder
- java.lang.Object
-
- net.sourceforge.pmd.lang.plsql.ast.PLSQLParserVisitorAdapter
-
- net.sourceforge.pmd.lang.plsql.dfa.StatementAndBraceFinder
-
- All Implemented Interfaces:
PLSQLParserVisitor
@Deprecated public class StatementAndBraceFinder extends PLSQLParserVisitorAdapter
Deprecated.SeeDataFlowNode
Sublayer of DataFlowFacade. Finds all data flow nodes and stores the type information (@see StackObject). At last it uses this information to link the nodes.- Author:
- raik
-
-
Constructor Summary
Constructors Constructor Description StatementAndBraceFinder(DataFlowHandler dataFlowHandler)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
buildDataFlowFor(PLSQLNode node)
Deprecated.Object
visit(ASTCaseStatement node, Object data)
Deprecated.Object
visit(ASTCaseWhenClause node, Object data)
Deprecated.Object
visit(ASTCloseStatement node, Object data)
Deprecated.Object
visit(ASTContinueStatement node, Object data)
Deprecated.Treat a PLSQL CONTINUE like a Java "continue"Object
visit(ASTElseClause node, Object data)
Deprecated.Object
visit(ASTElsifClause node, Object data)
Deprecated.Object
visit(ASTEmbeddedSqlStatement node, Object data)
Deprecated.Object
visit(ASTExitStatement node, Object data)
Deprecated.Treat a PLSQL EXIT like a Java "break"Object
visit(ASTExpression node, Object data)
Deprecated.Object
visit(ASTFetchStatement node, Object data)
Deprecated.Object
visit(ASTGotoStatement node, Object data)
Deprecated.Treat a PLSQL GOTO like a Java "continue"Object
visit(ASTIfStatement node, Object data)
Deprecated.Object
visit(ASTLabelledStatement node, Object data)
Deprecated.Object
visit(ASTLoopStatement node, Object data)
Deprecated.PL/SQL does not have a do/while statement or repeat/until statement: the equivalent is a LOOP statement.Object
visit(ASTOpenStatement node, Object data)
Deprecated.Object
visit(ASTPipelineStatement node, Object data)
Deprecated.Object
visit(ASTRaiseStatement node, Object data)
Deprecated.Object
visit(ASTReturnStatement node, Object data)
Deprecated.Object
visit(ASTSqlStatement node, Object data)
Deprecated.Object
visit(ASTStatement node, Object data)
Deprecated.Object
visit(ASTUnlabelledStatement node, Object data)
Deprecated.Object
visit(ASTVariableOrConstantDeclarator node, Object data)
Deprecated.Object
visit(ASTWhileStatement node, Object data)
Deprecated.A PL/SQL WHILE statement includes the LOOP statement and all Expressions within it: it does not have a single test expression, so the Java control processing (on the Expression) fires for each Expression in the LOOP.-
Methods inherited from class net.sourceforge.pmd.lang.plsql.ast.PLSQLParserVisitorAdapter
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Constructor Detail
-
StatementAndBraceFinder
public StatementAndBraceFinder(DataFlowHandler dataFlowHandler)
Deprecated.
-
-
Method Detail
-
buildDataFlowFor
public void buildDataFlowFor(PLSQLNode node)
Deprecated.
-
visit
public Object visit(ASTSqlStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTEmbeddedSqlStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTCloseStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTOpenStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTFetchStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTPipelineStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTVariableOrConstantDeclarator node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTExpression node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTLabelledStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTLoopStatement node, Object data)
Deprecated.PL/SQL does not have a do/while statement or repeat/until statement: the equivalent is a LOOP statement. A PL/SQL LOOP statement is exited using an explicit EXIT ( == break;) statement It does not have a test expression, so the Java control processing (on the expression) does not fire. The best way to cope it to push a DO_EXPR after the loop.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTWhileStatement node, Object data)
Deprecated.A PL/SQL WHILE statement includes the LOOP statement and all Expressions within it: it does not have a single test expression, so the Java control processing (on the Expression) fires for each Expression in the LOOP. The best way to cope it to push a WHILE_LAST_STATEMENT after the WhileStatement has been processed.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTUnlabelledStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTCaseStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTCaseWhenClause node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTIfStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTElseClause node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTElsifClause node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTContinueStatement node, Object data)
Deprecated.Treat a PLSQL CONTINUE like a Java "continue"- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
- Parameters:
node
-data
-- Returns:
-
visit
public Object visit(ASTExitStatement node, Object data)
Deprecated.Treat a PLSQL EXIT like a Java "break"- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
- Parameters:
node
-data
-- Returns:
-
visit
public Object visit(ASTGotoStatement node, Object data)
Deprecated.Treat a PLSQL GOTO like a Java "continue"- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
- Parameters:
node
-data
-- Returns:
-
visit
public Object visit(ASTReturnStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
visit
public Object visit(ASTRaiseStatement node, Object data)
Deprecated.- Specified by:
visit
in interfacePLSQLParserVisitor
- Overrides:
visit
in classPLSQLParserVisitorAdapter
-
-