Modifier and Type | Method and Description |
---|---|
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 |
RuleSets.apply(List<Node> acuList,
RuleContext ctx,
Language language)
Apply all applicable rules to the compilation units.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Node |
Parser.parse(String fileName,
Reader source)
Parse source code and return the root node of the AST.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Node> |
DataFlowHandler.getLabelStatementNodeClass() |
Modifier and Type | Method and Description |
---|---|
DataFlowNode |
DataFlowHandler.createDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
void |
VisitorStarter.start(Node rootNode)
Start the visitor, given the root-node of the AST.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNode |
Modifier and Type | Field and Description |
---|---|
protected Node[] |
AbstractNode.children |
protected Node |
AbstractNode.parent |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
List<Node> |
AbstractNode.findChildNodesWithXPath(String xpathString)
Returns all the nodes matching the xpath expression.
|
List<? extends Node> |
Node.findChildNodesWithXPath(String xpathString)
Returns all the nodes matching the xpath expression.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
Attribute(Node parent,
String name,
Method m) |
Attribute(Node parent,
String name,
String value) |
AttributeAxisIterator(Node contextNode) |
NodeIterator(Node contextNode) |
Modifier and Type | Field and Description |
---|---|
protected Node |
ElementNode.node |
Modifier and Type | Field and Description |
---|---|
Map<Node,ElementNode> |
DocumentNode.nodeToElementNode
Mapping from AST Node to corresponding ElementNode.
|
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
Node |
CppParser.parse(String fileName,
Reader source) |
Modifier and Type | Interface and Description |
---|---|
interface |
DFAGraphMethod |
Modifier and Type | Field and Description |
---|---|
protected Node |
AbstractDataFlowNode.node |
Modifier and Type | Method and Description |
---|---|
Node |
DataFlowNode.getNode() |
Node |
AbstractDataFlowNode.getNode() |
Modifier and Type | Method and Description |
---|---|
DataFlowNode |
Structure.createNewNode(Node node)
This class encapsulates the access to the DataFlowNode class.
|
Constructor and Description |
---|
AbstractDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
Ecmascript3Parser.parse(String fileName,
Reader source) |
Modifier and Type | Interface and Description |
---|---|
interface |
EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode> |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Node |
AbstractJavaParser.parse(String fileName,
Reader source) |
Modifier and Type | Method and Description |
---|---|
DataFlowNode |
JavaDataFlowHandler.createDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
Modifier and Type | Interface and Description |
---|---|
interface |
AccessNode
This interface captures Java access modifiers.
|
interface |
JavaNode |
interface |
TypeNode
This interface allows a Java Class to be associated with a node.
|
Modifier and Type | Method and Description |
---|---|
Node |
ASTVariableDeclaratorId.getTypeNameNode() |
Node |
JJTJavaParserState.peekNode() |
Node |
JJTJavaParserState.popNode() |
Node |
JJTJavaParserState.rootNode() |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
JavaDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJavaRule.apply(List<? extends Node> nodes,
RuleContext ctx) |
void |
AbstractStatisticalJavaRule.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) |
Modifier and Type | Method and Description |
---|---|
protected Object |
AvoidBranchingStatementAsLastInLoopRule.check(EnumeratedMultiProperty<String> property,
Node node,
Object data) |
Modifier and Type | Method and Description |
---|---|
protected Integer |
AbstractNcssCountRule.countNodeChildren(Node node,
Object data)
Count the number of children of the given Java node.
|
Modifier and Type | Method and Description |
---|---|
protected SortedMap<Integer,Node> |
AbstractCommentRule.orderedCommentsAndDeclarations(ASTCompilationUnit cUnit) |
Constructor and Description |
---|
DaaRuleViolation(Rule rule,
RuleContext ctx,
Node node,
String type,
String msg,
String var,
int beginLine,
int endLine) |
Modifier and Type | Method and Description |
---|---|
protected void |
UnusedImportsRule.check(Node node) |
protected ImportWrapper |
UnusedImportsRule.getImportWrapper(Node node) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
UselessOverridingMethodRule.findFirstDegreeChildrenOfType(Node n,
Class<T> targetType) |
Modifier and Type | Method and Description |
---|---|
Node |
ClassNameDeclaration.getAccessNodeParent() |
Modifier and Type | Method and Description |
---|---|
Map<String,Node> |
SourceFileScope.getQualifiedTypeNames()
Returns a set of all types defined within this source file.
|
Constructor and Description |
---|
MethodScope(Node node) |
Modifier and Type | Method and Description |
---|---|
protected void |
UnusedImports.check(Node node) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TypeOfFunction.typeof(Node n,
String nodeTypeName,
String fullTypeName,
String shortTypeName) |
Modifier and Type | Method and Description |
---|---|
Node |
JspParser.parse(String fileName,
Reader source) |
Modifier and Type | Interface and Description |
---|---|
interface |
JspNode |
Modifier and Type | Class and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
Node |
JJTJspParserState.peekNode() |
Node |
JJTJspParserState.popNode() |
Node |
JJTJspParserState.rootNode() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
DuplicateJspImportsRule.apply(List<? extends Node> nodes,
RuleContext ctx) |
Modifier and Type | Method and Description |
---|---|
Node |
MatlabParser.parse(String fileName,
Reader source) |
Modifier and Type | Method and Description |
---|---|
Node |
ObjectiveCParser.parse(String fileName,
Reader source) |
Modifier and Type | Method and Description |
---|---|
Node |
PLSQLParser.parse(String fileName,
Reader source) |
Modifier and Type | Method and Description |
---|---|
DataFlowNode |
PLSQLDataFlowHandler.createDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExecutableCode
Methods required to be considered as an executable piece of code.
|
interface |
OracleObject
All nodes that represent an Oracle object.
|
interface |
PLSQLNode |
Modifier and Type | Method and Description |
---|---|
Node |
ASTVariableOrConstantDeclaratorId.getTypeNameNode() |
Node |
JJTPLSQLParserState.peekNode() |
Node |
JJTPLSQLParserState.popNode() |
Node |
JJTPLSQLParserState.rootNode() |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
PLSQLDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
protected Integer |
AbstractNcssCountRule.countNodeChildren(Node node,
Object data)
Count the number of children of the given PLSQL node.
|
Constructor and Description |
---|
MethodScope(Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
PythonParser.parse(String fileName,
Reader source) |
Modifier and Type | Class and Description |
---|---|
class |
ParametricRuleViolation<T extends Node> |
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<Node>> |
AbstractRuleChainVisitor.nodeNameToNodes
This is a mapping from node names to nodes instances for the current AST.
|
Modifier and Type | Method and Description |
---|---|
Node |
ImportWrapper.getNode() |
Modifier and Type | Method and Description |
---|---|
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 |
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,
int beginLine,
int endLine,
Object[] args) |
void |
RuleViolationFactory.addViolation(RuleContext ruleContext,
Rule rule,
Node node,
String message,
Object[] args)
Adds a violation to the report.
|
void |
AbstractRuleViolationFactory.addViolation(RuleContext ruleContext,
Rule rule,
Node node,
String message,
Object[] args) |
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
RuleChainVisitor.visitAll(List<Node> nodes,
RuleContext ctx)
Visit all the given Nodes provided using the given RuleContext.
|
void |
AbstractRuleChainVisitor.visitAll(List<Node> nodes,
RuleContext ctx) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
abstract List<Node> |
AbstractXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node.
|
List<Node> |
SaxonXPathRuleQuery.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.
|
List<Node> |
JaxenXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Node> |
AbstractXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node.
|
List<Node> |
SaxonXPathRuleQuery.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.
|
List<Node> |
JaxenXPathRuleQuery.evaluate(Node node,
RuleContext data)
Evaluate the XPath query against the given Node.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ScopedNode
A
Node which knows about the scope within it has been declared. |
Modifier and Type | Method and Description |
---|---|
Node |
VmParser.parse(String fileName,
Reader source) |
Modifier and Type | Interface and Description |
---|---|
interface |
VmNode |
Modifier and Type | Class and Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
Node |
JJTVmParserState.peekNode() |
Node |
JJTVmParserState.popNode() |
Node |
JJTVmParserState.rootNode() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Node |
XmlParser.parse(String fileName,
Reader source) |
Modifier and Type | Interface and Description |
---|---|
interface |
XmlNode
This interface represents all XML AST nodes.
|
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Node |
DataPoint.getNode() |
Modifier and Type | Method and Description |
---|---|
void |
DataPoint.setNode(Node node) |
Modifier and Type | Method and Description |
---|---|
void |
CodeEditorTextPane.select(Node node) |
void |
DFAPanel.DFACanvas.setMethod(Node node) |
Constructor and Description |
---|
ASTNodePopupMenu(ViewerModel model,
Node node) |
AttributesSubMenu(ViewerModel model,
Node node) |
SimpleNodeSubMenu(ViewerModel model,
Node node)
constructs the submenu
|
Modifier and Type | Method and Description |
---|---|
Node |
ViewerModel.getRootNode() |
Node |
SimpleNodeTreeNodeAdapter.getSimpleNode()
retrieves the underlying node
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
ViewerModel.getLastEvaluationResults()
retrieves the results of last evaluation
|
Modifier and Type | Method and Description |
---|---|
void |
ViewerModel.selectNode(Node node,
Object selector)
selects the given node in the AST
|
Constructor and Description |
---|
ASTModel(Node root)
creates the tree model
|
SimpleNodeTreeNodeAdapter(SimpleNodeTreeNodeAdapter parent,
Node node)
constructs the node
|
Copyright © 2002–2016 InfoEther. All rights reserved.