|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Node in net.sourceforge.pmd |
---|
Method parameters in net.sourceforge.pmd with type arguments of type Node | |
---|---|
void |
Rule.addRuleChainVisit(Class<? extends Node> nodeClass)
Adds an AST node by class to be visited by the Rule on the RuleChain. |
void |
RuleSet.apply(List<? extends Node> acuList,
RuleContext ctx)
Executes the rules in this ruleset against each of the given nodes. |
void |
Rule.apply(List<? extends Node> nodes,
RuleContext ctx)
Apply this rule to the given collection of nodes, using the given context. |
void |
RuleChain.apply(List<Node> nodes,
RuleContext ctx,
Language language)
Apply the RuleChain to the given Nodes using the given RuleContext, for those rules using the given Language. |
void |
RuleSets.apply(List<Node> acuList,
RuleContext ctx,
Language language)
Apply all applicable rules to the compilation units. |
Uses of Node in net.sourceforge.pmd.lang |
---|
Methods in net.sourceforge.pmd.lang that return Node | |
---|---|
Node |
Parser.parse(String fileName,
Reader source)
Parse source code and return the root node of the AST. |
Methods in net.sourceforge.pmd.lang that return types with arguments of type Node | |
---|---|
Class<? extends Node> |
DataFlowHandler.getLabelStatementNodeClass()
|
Methods in net.sourceforge.pmd.lang with parameters of type Node | |
---|---|
DataFlowNode |
DataFlowHandler.createDataFlowNode(List<DataFlowNode> dataFlow,
Node node)
|
void |
VisitorStarter.start(Node rootNode)
Start the visitor, given the root-node of the AST. |
Uses of Node in net.sourceforge.pmd.lang.ast |
---|
Classes in net.sourceforge.pmd.lang.ast that implement Node | |
---|---|
class |
AbstractNode
|
Fields in net.sourceforge.pmd.lang.ast declared as Node | |
---|---|
protected Node[] |
AbstractNode.children
|
protected Node |
AbstractNode.parent
|
Methods in net.sourceforge.pmd.lang.ast that return Node | |
---|---|
Node |
AbstractNode.getNthParent(int n)
Returns the n-th parent or null if there are not n ancestors |
Node |
Node.getNthParent(int n)
|
Node |
AbstractNode.jjtGetChild(int index)
|
Node |
Node.jjtGetChild(int index)
This method returns a child node. |
Node |
AbstractNode.jjtGetParent()
|
Node |
Node.jjtGetParent()
|
Methods in net.sourceforge.pmd.lang.ast that return types with arguments of type Node | |
---|---|
List<? extends Node> |
Node.findChildNodesWithXPath(String xpathString)
Returns all the nodes matching the xpath expression. |
Methods in net.sourceforge.pmd.lang.ast with parameters of type Node | |
---|---|
void |
AbstractNode.jjtAddChild(Node child,
int index)
|
void |
Node.jjtAddChild(Node child,
int index)
This method tells the node to add its argument to the node's list of children. |
void |
AbstractNode.jjtSetParent(Node parent)
|
void |
Node.jjtSetParent(Node parent)
This pair of methods are used to inform the node of its parent. |
Uses of Node in net.sourceforge.pmd.lang.ast.xpath |
---|
Methods in net.sourceforge.pmd.lang.ast.xpath that return Node | |
---|---|
protected Node |
NodeIterator.getFirstChild(Node contextNode)
|
protected abstract Node |
NodeIterator.getFirstNode(Node contextNode)
|
protected Node |
NodeIterator.getLastChild(Node contextNode)
|
protected abstract Node |
NodeIterator.getNextNode(Node contextNode)
|
protected Node |
NodeIterator.getNextSibling(Node contextNode)
|
Node |
Attribute.getParent()
|
protected Node |
NodeIterator.getPreviousSibling(Node contextNode)
|
Node |
NodeIterator.next()
|
Methods in net.sourceforge.pmd.lang.ast.xpath that return types with arguments of type Node | |
---|---|
Iterator<Node> |
DocumentNavigator.getChildAxisIterator(Object contextNode)
Get an iterator over all of this node's children. |
Iterator<Node> |
DocumentNavigator.getFollowingAxisIterator(Object contextNode)
Get an iterator over all following nodes, depth-first. |
Iterator<Node> |
DocumentNavigator.getFollowingSiblingAxisIterator(Object contextNode)
Get an iterator over all following siblings. |
Iterator<Node> |
DocumentNavigator.getParentAxisIterator(Object contextNode)
Get a (single-member) iterator over this node's parent. |
Iterator<Node> |
DocumentNavigator.getPrecedingAxisIterator(Object contextNode)
Get an iterator over all preceding nodes, depth-first. |
Iterator<Node> |
DocumentNavigator.getPrecedingSiblingAxisIterator(Object contextNode)
Get an iterator over all preceding siblings. |
Methods in net.sourceforge.pmd.lang.ast.xpath with parameters of type Node | |
---|---|
protected Node |
NodeIterator.getFirstChild(Node contextNode)
|
protected abstract Node |
NodeIterator.getFirstNode(Node contextNode)
|
protected Node |
NodeIterator.getLastChild(Node contextNode)
|
protected abstract Node |
NodeIterator.getNextNode(Node contextNode)
|
protected Node |
NodeIterator.getNextSibling(Node contextNode)
|
protected Node |
NodeIterator.getPreviousSibling(Node contextNode)
|
Constructors in net.sourceforge.pmd.lang.ast.xpath with parameters of type Node | |
---|---|
Attribute(Node parent,
String name,
Method m)
|
|
Attribute(Node parent,
String name,
String value)
|
|
AttributeAxisIterator(Node contextNode)
|
|
NodeIterator(Node contextNode)
|
Uses of Node in net.sourceforge.pmd.lang.ast.xpath.saxon |
---|
Fields in net.sourceforge.pmd.lang.ast.xpath.saxon declared as Node | |
---|---|
protected Node |
ElementNode.node
|
Fields in net.sourceforge.pmd.lang.ast.xpath.saxon with type parameters of type Node | |
---|---|
Map<Node,ElementNode> |
DocumentNode.nodeToElementNode
Mapping from AST Node to corresponding ElementNode. |
Constructors in net.sourceforge.pmd.lang.ast.xpath.saxon with parameters of type Node | |
---|---|
DocumentNode(Node node)
Construct a DocumentNode, with the given AST Node serving as the root ElementNode. |
|
ElementNode(DocumentNode document,
IdGenerator idGenerator,
ElementNode parent,
Node node,
int siblingPosition)
|
Uses of Node in net.sourceforge.pmd.lang.cpp |
---|
Methods in net.sourceforge.pmd.lang.cpp that return Node | |
---|---|
Node |
CppParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.dfa |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.dfa | |
---|---|
interface |
DFAGraphMethod
|
Fields in net.sourceforge.pmd.lang.dfa declared as Node | |
---|---|
protected Node |
AbstractDataFlowNode.node
|
Methods in net.sourceforge.pmd.lang.dfa that return Node | |
---|---|
Node |
AbstractDataFlowNode.getNode()
|
Node |
DataFlowNode.getNode()
|
Methods in net.sourceforge.pmd.lang.dfa with parameters of type Node | |
---|---|
DataFlowNode |
Structure.createNewNode(Node node)
This class encapsulates the access to the DataFlowNode class. |
Constructors in net.sourceforge.pmd.lang.dfa with parameters of type Node | |
---|---|
AbstractDataFlowNode(List<DataFlowNode> dataFlow,
Node node)
|
Uses of Node in net.sourceforge.pmd.lang.ecmascript |
---|
Methods in net.sourceforge.pmd.lang.ecmascript that return Node | |
---|---|
Node |
Ecmascript3Parser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.ecmascript.ast |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.ecmascript.ast | |
---|---|
interface |
EcmascriptNode<T extends AstNode>
|
Classes in net.sourceforge.pmd.lang.ecmascript.ast that implement Node | |
---|---|
class |
AbstractEcmascriptNode<T extends AstNode>
|
class |
AbstractInfixEcmascriptNode<T extends InfixExpression>
|
class |
ASTArrayComprehension
|
class |
ASTArrayComprehensionLoop
|
class |
ASTArrayLiteral
|
class |
ASTAssignment
|
class |
ASTAstRoot
|
class |
ASTCatchClause
|
class |
ASTComment
|
class |
ASTDoLoop
|
class |
ASTElementGet
|
class |
ASTEmptyExpression
|
class |
ASTExpressionStatement
|
class |
ASTForInLoop
|
class |
ASTForLoop
|
class |
ASTFunctionCall
|
class |
ASTFunctionNode
|
class |
ASTInfixExpression
|
class |
ASTKeywordLiteral
|
class |
ASTLabel
|
class |
ASTLetNode
|
class |
ASTNewExpression
|
class |
ASTNumberLiteral
|
class |
ASTObjectLiteral
|
class |
ASTObjectProperty
|
class |
ASTParenthesizedExpression
|
class |
ASTPropertyGet
|
class |
ASTRegExpLiteral
|
class |
ASTScope
|
class |
ASTStringLiteral
|
class |
ASTSwitchCase
|
class |
ASTVariableDeclaration
|
class |
ASTWhileLoop
|
class |
ASTWithStatement
|
class |
ASTXmlDotQuery
|
class |
ASTXmlExpression
|
class |
ASTXmlMemberGet
|
class |
ASTXmlString
|
Uses of Node in net.sourceforge.pmd.lang.ecmascript.rule |
---|
Methods in net.sourceforge.pmd.lang.ecmascript.rule with parameters of type Node | |
---|---|
protected RuleViolation |
EcmascriptRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected RuleViolation |
EcmascriptRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
protected void |
EcmascriptRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
|
Method parameters in net.sourceforge.pmd.lang.ecmascript.rule with type arguments of type Node | |
---|---|
void |
AbstractEcmascriptRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected void |
EcmascriptRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
|
protected void |
AbstractEcmascriptRule.visitAll(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.lang.java |
---|
Methods in net.sourceforge.pmd.lang.java that return Node | |
---|---|
Node |
AbstractJavaParser.parse(String fileName,
Reader source)
|
Methods in net.sourceforge.pmd.lang.java with parameters of type Node | |
---|---|
DataFlowNode |
JavaDataFlowHandler.createDataFlowNode(List<DataFlowNode> dataFlow,
Node node)
|
Uses of Node in net.sourceforge.pmd.lang.java.ast |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.java.ast | |
---|---|
interface |
AccessNode
This interface captures Java access modifiers. |
interface |
JavaNode
|
interface |
TypeNode
This interface allows a Java Class to be associated with a node. |
Methods in net.sourceforge.pmd.lang.java.ast that return Node | |
---|---|
Node |
ASTVariableDeclaratorId.getTypeNameNode()
|
Node |
JJTJavaParserState.peekNode()
|
Node |
JJTJavaParserState.popNode()
|
Node |
JJTJavaParserState.rootNode()
|
Methods in net.sourceforge.pmd.lang.java.ast with parameters of type Node | |
---|---|
void |
JJTJavaParserState.clearNodeScope(Node n)
|
void |
JJTJavaParserState.closeNodeScope(Node n,
boolean condition)
|
void |
JJTJavaParserState.closeNodeScope(Node n,
int num)
|
void |
JJTJavaParserState.openNodeScope(Node n)
|
void |
JJTJavaParserState.pushNode(Node n)
|
Uses of Node in net.sourceforge.pmd.lang.java.dfa |
---|
Constructors in net.sourceforge.pmd.lang.java.dfa with parameters of type Node | |
---|---|
JavaDataFlowNode(List<DataFlowNode> dataFlow,
Node node)
|
Uses of Node in net.sourceforge.pmd.lang.java.rule |
---|
Methods in net.sourceforge.pmd.lang.java.rule with parameters of type Node | |
---|---|
protected void |
AbstractInefficientZeroCheck.checkNodeAndReport(Object data,
Node location,
Node expr)
Checks whether the given expression is a equality/relation expression that compares with a size() call. |
protected RuleViolation |
JavaRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected RuleViolation |
JavaRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
protected String |
AbstractJavaRule.getDeclaringType(Node node)
Gets the Image of the first parent node of type ASTClassOrInterfaceDeclaration or null |
static boolean |
AbstractJavaRule.isQualifiedName(Node node)
|
protected boolean |
AbstractJavaRule.isSuppressed(Node node)
|
static boolean |
JavaRuleViolation.isSupressed(Node node,
Rule rule)
Check for suppression on this node, on parents, and on contained types for ASTCompilationUnit |
protected abstract boolean |
AbstractPoorMethodCall.isViolationArgument(Node arg)
Returns whether the node being sent to the method is OK or not. |
protected void |
JavaRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
|
Method parameters in net.sourceforge.pmd.lang.java.rule with type arguments of type Node | |
---|---|
void |
AbstractStatisticalJavaRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
void |
AbstractJavaRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected void |
JavaRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
|
protected void |
AbstractJavaRule.visitAll(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.lang.java.rule.basic |
---|
Methods in net.sourceforge.pmd.lang.java.rule.basic with parameters of type Node | |
---|---|
protected Object |
AvoidBranchingStatementAsLastInLoopRule.check(EnumeratedMultiProperty<String> property,
Node node,
Object data)
|
Uses of Node in net.sourceforge.pmd.lang.java.rule.codesize |
---|
Methods in net.sourceforge.pmd.lang.java.rule.codesize with parameters of type Node | |
---|---|
protected Integer |
AbstractNcssCountRule.countNodeChildren(Node node,
Object data)
Count the number of children of the given Java node. |
Uses of Node in net.sourceforge.pmd.lang.java.rule.comments |
---|
Methods in net.sourceforge.pmd.lang.java.rule.comments that return types with arguments of type Node | |
---|---|
protected SortedMap<Integer,Node> |
AbstractCommentRule.orderedCommentsAndDeclarations(ASTCompilationUnit cUnit)
|
Uses of Node in net.sourceforge.pmd.lang.java.rule.controversial |
---|
Constructors in net.sourceforge.pmd.lang.java.rule.controversial with parameters of type Node | |
---|---|
DaaRuleViolation(Rule rule,
RuleContext ctx,
Node node,
String type,
String msg,
String var,
int beginLine,
int endLine)
|
Uses of Node in net.sourceforge.pmd.lang.java.rule.imports |
---|
Methods in net.sourceforge.pmd.lang.java.rule.imports with parameters of type Node | |
---|---|
protected void |
UnusedImportsRule.check(Node node)
|
protected ImportWrapper |
UnusedImportsRule.getImportWrapper(Node node)
|
Uses of Node in net.sourceforge.pmd.lang.java.rule.optimizations |
---|
Methods in net.sourceforge.pmd.lang.java.rule.optimizations with parameters of type Node | |
---|---|
static boolean |
PrematureDeclarationRule.hasAsParentBetween(Node node,
Class<?> intermediateParentClass,
Node topParent)
Return whether a class of the specified type exists between the node argument and the topParent argument. |
Uses of Node in net.sourceforge.pmd.lang.java.rule.strings |
---|
Methods in net.sourceforge.pmd.lang.java.rule.strings with parameters of type Node | |
---|---|
protected static boolean |
InefficientStringBufferingRule.isInStringBufferOperation(Node node,
int length,
String methodName)
|
protected boolean |
UseIndexOfCharRule.isViolationArgument(Node arg)
Returns whether the node being sent to the method is OK or not. |
Uses of Node in net.sourceforge.pmd.lang.java.rule.sunsecure |
---|
Methods in net.sourceforge.pmd.lang.java.rule.sunsecure with parameters of type Node | |
---|---|
protected String |
AbstractSunSecureRule.getFirstNameImage(Node n)
Gets the image of the first ASTName node found by getFirstDescendantOfType(Class) |
protected boolean |
AbstractSunSecureRule.isLocalVariable(String vn,
Node node)
TODO modify usages to use symbol table Tells if the variable name is a local variable declared in the method. |
Uses of Node in net.sourceforge.pmd.lang.java.rule.unnecessary |
---|
Methods in net.sourceforge.pmd.lang.java.rule.unnecessary with parameters of type Node | ||
---|---|---|
|
UselessOverridingMethodRule.findFirstDegreeChildrenOfType(Node n,
Class<T> targetType)
|
Uses of Node in net.sourceforge.pmd.lang.java.symboltable |
---|
Methods in net.sourceforge.pmd.lang.java.symboltable that return Node | |
---|---|
Node |
ClassNameDeclaration.getAccessNodeParent()
|
Methods in net.sourceforge.pmd.lang.java.symboltable that return types with arguments of type Node | |
---|---|
Map<String,Node> |
SourceFileScope.getQualifiedTypeNames()
Returns a set of all types defined within this source file. |
Constructors in net.sourceforge.pmd.lang.java.symboltable with parameters of type Node | |
---|---|
MethodScope(Node node)
|
Uses of Node in net.sourceforge.pmd.lang.java.typeresolution.rules.imports |
---|
Methods in net.sourceforge.pmd.lang.java.typeresolution.rules.imports with parameters of type Node | |
---|---|
protected void |
UnusedImports.check(Node node)
|
Uses of Node in net.sourceforge.pmd.lang.java.xpath |
---|
Methods in net.sourceforge.pmd.lang.java.xpath with parameters of type Node | |
---|---|
static boolean |
TypeOfFunction.typeof(Node n,
String nodeTypeName,
String fullTypeName,
String shortTypeName)
|
Uses of Node in net.sourceforge.pmd.lang.jsp |
---|
Methods in net.sourceforge.pmd.lang.jsp that return Node | |
---|---|
Node |
JspParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.jsp.ast |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.jsp.ast | |
---|---|
interface |
JspNode
|
Classes in net.sourceforge.pmd.lang.jsp.ast that implement Node | |
---|---|
class |
AbstractJspNode
|
class |
ASTAttribute
|
class |
ASTAttributeValue
|
class |
ASTCData
|
class |
ASTCommentTag
|
class |
ASTContent
|
class |
ASTDeclaration
|
class |
ASTDoctypeDeclaration
|
class |
ASTDoctypeExternalId
|
class |
ASTElement
|
class |
ASTElExpression
|
class |
ASTHtmlScript
|
class |
ASTJspComment
|
class |
ASTJspDeclaration
|
class |
ASTJspDeclarations
|
class |
ASTJspDirective
|
class |
ASTJspDirectiveAttribute
|
class |
ASTJspDocument
|
class |
ASTJspExpression
|
class |
ASTJspExpressionInAttribute
|
class |
ASTJspScriptlet
|
class |
ASTText
|
class |
ASTUnparsedText
|
class |
ASTValueBinding
|
Methods in net.sourceforge.pmd.lang.jsp.ast that return Node | |
---|---|
Node |
JJTJspParserState.peekNode()
|
Node |
JJTJspParserState.popNode()
|
Node |
JJTJspParserState.rootNode()
|
Methods in net.sourceforge.pmd.lang.jsp.ast with parameters of type Node | |
---|---|
void |
JJTJspParserState.clearNodeScope(Node n)
|
void |
JJTJspParserState.closeNodeScope(Node n,
boolean condition)
|
void |
JJTJspParserState.closeNodeScope(Node n,
int num)
|
void |
JJTJspParserState.openNodeScope(Node n)
|
void |
JJTJspParserState.pushNode(Node n)
|
Uses of Node in net.sourceforge.pmd.lang.jsp.rule |
---|
Methods in net.sourceforge.pmd.lang.jsp.rule with parameters of type Node | |
---|---|
protected RuleViolation |
JspRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected RuleViolation |
JspRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
protected void |
JspRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
|
Method parameters in net.sourceforge.pmd.lang.jsp.rule with type arguments of type Node | |
---|---|
void |
AbstractJspRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected void |
JspRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
|
protected void |
AbstractJspRule.visitAll(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.lang.jsp.rule.basic |
---|
Method parameters in net.sourceforge.pmd.lang.jsp.rule.basic with type arguments of type Node | |
---|---|
void |
DuplicateJspImportsRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.lang.matlab |
---|
Methods in net.sourceforge.pmd.lang.matlab that return Node | |
---|---|
Node |
MatlabParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.objectivec |
---|
Methods in net.sourceforge.pmd.lang.objectivec that return Node | |
---|---|
Node |
ObjectiveCParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.plsql |
---|
Methods in net.sourceforge.pmd.lang.plsql that return Node | |
---|---|
Node |
PLSQLParser.parse(String fileName,
Reader source)
|
Methods in net.sourceforge.pmd.lang.plsql with parameters of type Node | |
---|---|
DataFlowNode |
PLSQLDataFlowHandler.createDataFlowNode(List<DataFlowNode> dataFlow,
Node node)
|
Uses of Node in net.sourceforge.pmd.lang.plsql.ast |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.plsql.ast | |
---|---|
interface |
ExecutableCode
Methods required to be considered as an executable piece of code. |
interface |
OracleObject
All nodes that represent an Oracle object. |
interface |
PLSQLNode
|
Methods in net.sourceforge.pmd.lang.plsql.ast that return Node | |
---|---|
Node |
ASTVariableOrConstantDeclaratorId.getTypeNameNode()
|
Node |
JJTPLSQLParserState.peekNode()
|
Node |
JJTPLSQLParserState.popNode()
|
Node |
JJTPLSQLParserState.rootNode()
|
Methods in net.sourceforge.pmd.lang.plsql.ast with parameters of type Node | |
---|---|
void |
JJTPLSQLParserState.clearNodeScope(Node n)
|
void |
JJTPLSQLParserState.closeNodeScope(Node n,
boolean condition)
|
void |
JJTPLSQLParserState.closeNodeScope(Node n,
int num)
|
void |
JJTPLSQLParserState.openNodeScope(Node n)
|
void |
JJTPLSQLParserState.pushNode(Node n)
|
Uses of Node in net.sourceforge.pmd.lang.plsql.dfa |
---|
Constructors in net.sourceforge.pmd.lang.plsql.dfa with parameters of type Node | |
---|---|
PLSQLDataFlowNode(List<DataFlowNode> dataFlow,
Node node)
|
Uses of Node in net.sourceforge.pmd.lang.plsql.rule |
---|
Methods in net.sourceforge.pmd.lang.plsql.rule with parameters of type Node | |
---|---|
protected RuleViolation |
PLSQLRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected RuleViolation |
PLSQLRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
protected String |
AbstractPLSQLRule.getDeclaringType(Node node)
Gets the Image of the first parent node of type ASTClassOrInterfaceDeclaration or null |
static boolean |
AbstractPLSQLRule.isQualifiedName(Node node)
|
protected void |
PLSQLRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
|
Method parameters in net.sourceforge.pmd.lang.plsql.rule with type arguments of type Node | |
---|---|
void |
AbstractStatisticalPLSQLRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
void |
AbstractPLSQLRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected void |
PLSQLRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
|
protected void |
AbstractPLSQLRule.visitAll(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.lang.plsql.rule.codesize |
---|
Methods in net.sourceforge.pmd.lang.plsql.rule.codesize with parameters of type Node | |
---|---|
protected Integer |
AbstractNcssCountRule.countNodeChildren(Node node,
Object data)
Count the number of children of the given PLSQL node. |
Uses of Node in net.sourceforge.pmd.lang.plsql.symboltable |
---|
Constructors in net.sourceforge.pmd.lang.plsql.symboltable with parameters of type Node | |
---|---|
MethodScope(Node node)
|
Uses of Node in net.sourceforge.pmd.lang.python |
---|
Methods in net.sourceforge.pmd.lang.python that return Node | |
---|---|
Node |
PythonParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.rule |
---|
Classes in net.sourceforge.pmd.lang.rule with type parameters of type Node | |
---|---|
class |
ParametricRuleViolation<T extends Node>
|
Fields in net.sourceforge.pmd.lang.rule with type parameters of type Node | |
---|---|
protected Map<String,List<Node>> |
AbstractRuleChainVisitor.nodeNameToNodes
This is a mapping from node names to nodes instances for the current AST. |
Methods in net.sourceforge.pmd.lang.rule that return Node | |
---|---|
Node |
ImportWrapper.getNode()
|
Methods in net.sourceforge.pmd.lang.rule with parameters of type Node | |
---|---|
void |
AbstractRule.addViolation(Object data,
Node node)
|
void |
AbstractRule.addViolation(Object data,
Node node,
Object[] args)
|
void |
AbstractRule.addViolation(Object data,
Node node,
String arg)
|
void |
AbstractRuleViolationFactory.addViolation(RuleContext ruleContext,
Rule rule,
Node node,
String message,
int beginLine,
int endLine,
Object[] args)
|
void |
RuleViolationFactory.addViolation(RuleContext ruleContext,
Rule rule,
Node node,
String message,
int beginLine,
int endLine,
Object[] args)
|
void |
AbstractRuleViolationFactory.addViolation(RuleContext ruleContext,
Rule rule,
Node node,
String message,
Object[] args)
|
void |
RuleViolationFactory.addViolation(RuleContext ruleContext,
Rule rule,
Node node,
String message,
Object[] args)
Adds a violation to the report. |
void |
AbstractRule.addViolationWithMessage(Object data,
Node node,
String message)
|
void |
AbstractRule.addViolationWithMessage(Object data,
Node node,
String message,
int beginLine,
int endLine)
|
void |
AbstractRule.addViolationWithMessage(Object data,
Node node,
String message,
Object[] args)
|
protected abstract RuleViolation |
AbstractRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected abstract RuleViolation |
AbstractRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
void |
XPathRule.evaluate(Node node,
RuleContext data)
Evaluate the XPath query with the AST node. |
protected void |
AbstractRuleChainVisitor.indexNode(Node node)
Index a single node for visitation by rules. |
protected abstract void |
AbstractRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
Visit the given rule to the given node. |
Method parameters in net.sourceforge.pmd.lang.rule with type arguments of type Node | |
---|---|
void |
AbstractDelegateRule.addRuleChainVisit(Class<? extends Node> nodeClass)
|
void |
AbstractRule.addRuleChainVisit(Class<? extends Node> nodeClass)
|
void |
MockRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
void |
XPathRule.apply(List<? extends Node> nodes,
RuleContext ctx)
Apply the rule to all nodes. |
void |
AbstractDelegateRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected abstract void |
AbstractRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
Index all nodes for visitation by rules. |
void |
AbstractRuleChainVisitor.visitAll(List<Node> nodes,
RuleContext ctx)
|
void |
RuleChainVisitor.visitAll(List<Node> nodes,
RuleContext ctx)
Visit all the given Nodes provided using the given RuleContext. |
Constructors in net.sourceforge.pmd.lang.rule with parameters of type Node | |
---|---|
ImportWrapper(String fullname,
String name,
Node node)
|
|
ImportWrapper(String fullname,
String name,
Node node,
boolean isStaticDemand)
|
|
ImportWrapper(String fullname,
String name,
Node node,
Class<?> type,
boolean isStaticDemand)
|
Uses of Node in net.sourceforge.pmd.lang.rule.xpath |
---|
Methods in net.sourceforge.pmd.lang.rule.xpath that return types with arguments of type Node | |
---|---|
List<Node> |
SaxonXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
List<Node> |
JaxenXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
List<Node> |
XPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
abstract List<Node> |
AbstractXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
Methods in net.sourceforge.pmd.lang.rule.xpath with parameters of type Node | |
---|---|
List<Node> |
SaxonXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
List<Node> |
JaxenXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
List<Node> |
XPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
abstract List<Node> |
AbstractXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node. |
Uses of Node in net.sourceforge.pmd.lang.symboltable |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.symboltable | |
---|---|
interface |
ScopedNode
A Node which knows about the scope within it has been declared. |
Uses of Node in net.sourceforge.pmd.lang.vm |
---|
Methods in net.sourceforge.pmd.lang.vm that return Node | |
---|---|
Node |
VmParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.vm.ast |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.vm.ast | |
---|---|
interface |
VmNode
|
Classes in net.sourceforge.pmd.lang.vm.ast that implement Node | |
---|---|
class |
AbstractVmNode
|
class |
ASTAddNode
Handles number addition of nodes. Please look at the Parser.jjt file which is what controls the generation of this class. |
class |
ASTAndNode
|
class |
ASTDirective
This class is responsible for handling the pluggable directives in VTL. |
class |
ASTDivNode
Handles number division of nodes Please look at the Parser.jjt file which is what controls the generation of this class. |
class |
ASTElseIfStatement
|
class |
ASTElseStatement
|
class |
ASTEQNode
|
class |
ASTEscape
This class is responsible for handling Escapes in VTL. |
class |
ASTEscapedDirective
|
class |
ASTFalse
|
class |
ASTFloatingPointLiteral
|
class |
ASTForeachStatement
|
class |
ASTGENode
|
class |
ASTGTNode
|
class |
ASTIdentifier
|
class |
ASTIndex
|
class |
ASTIntegerLiteral
|
class |
ASTIntegerRange
|
class |
ASTLENode
|
class |
ASTLTNode
|
class |
ASTMap
|
class |
ASTMathNode
Helps handle math Please look at the Parser.jjt file which is what controls the generation of this class. |
class |
ASTMethod
ASTMethod.java Method support for references : $foo.method() NOTE : introspection is now done at render time. |
class |
ASTModNode
Handles modulus division Please look at the Parser.jjt file which is what controls the generation of this class. |
class |
ASTMulNode
Handles multiplication Please look at the Parser.jjt file which is what controls the generation of this class. |
class |
ASTNENode
|
class |
ASTNotNode
|
class |
ASTObjectArray
|
class |
ASTOrNode
|
class |
ASTprocess
|
class |
ASTReference
This class is responsible for handling the references in VTL ($foo). |
class |
ASTSetDirective
|
class |
ASTSubtractNode
Handles subtraction of nodes (in #set() ) Please look at the Parser.jjt file which is what controls the generation of this class. |
class |
ASTTextblock
|
class |
ASTTrue
|
class |
ASTWord
|
Methods in net.sourceforge.pmd.lang.vm.ast that return Node | |
---|---|
Node |
JJTVmParserState.peekNode()
|
Node |
JJTVmParserState.popNode()
|
Node |
JJTVmParserState.rootNode()
|
Methods in net.sourceforge.pmd.lang.vm.ast with parameters of type Node | |
---|---|
void |
JJTVmParserState.clearNodeScope(Node n)
|
void |
JJTVmParserState.closeNodeScope(Node n,
boolean condition)
|
void |
JJTVmParserState.closeNodeScope(Node n,
int num)
|
void |
JJTVmParserState.openNodeScope(Node n)
|
void |
JJTVmParserState.pushNode(Node n)
|
Uses of Node in net.sourceforge.pmd.lang.vm.rule |
---|
Methods in net.sourceforge.pmd.lang.vm.rule with parameters of type Node | |
---|---|
protected RuleViolation |
VmRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected RuleViolation |
VmRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
protected void |
VmRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
|
Method parameters in net.sourceforge.pmd.lang.vm.rule with type arguments of type Node | |
---|---|
void |
AbstractStatisticalVmRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
void |
AbstractVmRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected void |
VmRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
|
protected void |
AbstractVmRule.visitAll(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.lang.xml |
---|
Methods in net.sourceforge.pmd.lang.xml that return Node | |
---|---|
Node |
XmlParser.parse(String fileName,
Reader source)
|
Uses of Node in net.sourceforge.pmd.lang.xml.ast |
---|
Subinterfaces of Node in net.sourceforge.pmd.lang.xml.ast | |
---|---|
interface |
XmlNode
This interface represents all XML AST nodes. |
Uses of Node in net.sourceforge.pmd.lang.xml.rule |
---|
Methods in net.sourceforge.pmd.lang.xml.rule with parameters of type Node | |
---|---|
protected RuleViolation |
XmlRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message)
|
protected RuleViolation |
XmlRuleViolationFactory.createRuleViolation(Rule rule,
RuleContext ruleContext,
Node node,
String message,
int beginLine,
int endLine)
|
protected void |
XmlRuleChainVisitor.visit(Rule rule,
Node node,
RuleContext ctx)
|
Method parameters in net.sourceforge.pmd.lang.xml.rule with type arguments of type Node | |
---|---|
void |
AbstractXmlRule.apply(List<? extends Node> nodes,
RuleContext ctx)
|
protected void |
XmlRuleChainVisitor.indexNodes(List<Node> nodes,
RuleContext ctx)
|
protected void |
AbstractXmlRule.visitAll(List<? extends Node> nodes,
RuleContext ctx)
|
Uses of Node in net.sourceforge.pmd.stat |
---|
Methods in net.sourceforge.pmd.stat that return Node | |
---|---|
Node |
DataPoint.getNode()
|
Methods in net.sourceforge.pmd.stat with parameters of type Node | |
---|---|
void |
DataPoint.setNode(Node node)
|
Uses of Node in net.sourceforge.pmd.util.designer |
---|
Methods in net.sourceforge.pmd.util.designer with parameters of type Node | |
---|---|
void |
CodeEditorTextPane.select(Node node)
|
void |
DFAPanel.DFACanvas.setMethod(Node node)
|
Uses of Node in net.sourceforge.pmd.util.viewer.gui.menu |
---|
Constructors in net.sourceforge.pmd.util.viewer.gui.menu with parameters of type Node | |
---|---|
ASTNodePopupMenu(ViewerModel model,
Node node)
|
|
AttributesSubMenu(ViewerModel model,
Node node)
|
|
SimpleNodeSubMenu(ViewerModel model,
Node node)
constructs the submenu |
Uses of Node in net.sourceforge.pmd.util.viewer.model |
---|
Methods in net.sourceforge.pmd.util.viewer.model that return Node | |
---|---|
Node |
ViewerModel.getRootNode()
|
Node |
SimpleNodeTreeNodeAdapter.getSimpleNode()
retrieves the underlying node |
Methods in net.sourceforge.pmd.util.viewer.model that return types with arguments of type Node | |
---|---|
List<Node> |
ViewerModel.getLastEvaluationResults()
retrieves the results of last evaluation |
Methods in net.sourceforge.pmd.util.viewer.model with parameters of type Node | |
---|---|
void |
ViewerModel.selectNode(Node node,
Object selector)
selects the given node in the AST |
Constructors in net.sourceforge.pmd.util.viewer.model with parameters of type Node | |
---|---|
ASTModel(Node root)
creates the tree model |
|
SimpleNodeTreeNodeAdapter(SimpleNodeTreeNodeAdapter parent,
Node node)
constructs the node |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |