|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsota.ast.nodes.ASTNode
sota.ast.nodes.ASTScopeNode
sota.ast.nodes.ASTFunctionNode
sota.lang.java.ast.nodes.JavaASTFunctionNode
public class JavaASTFunctionNode
AST-Knoten für eine Funktion
Field Summary |
---|
Fields inherited from class sota.ast.nodes.ASTFunctionNode |
---|
arguments, entryNode, listOfConditionNodes, modifiers, nrAtoms, nrPrimaryConditions, setOfExitNodes, stackOfBranchNodes |
Fields inherited from class sota.ast.nodes.ASTScopeNode |
---|
endNode, fileNode, isFirstLevelFunction, isTopLevel, metrics, name, parent, qualifiedName, scopeName, setOfClasseNodes, setOfFunctionNodes |
Fields inherited from class sota.ast.nodes.ASTNode |
---|
ascContent, BRANCH, CASE, CATCH, CONDITION, content, controlingBranchNode, DO, functionNode, id, IF, isDirectReachable, isReachable, isVirtual, ITERATION, JUMP, lineNr, next, NODE, prev, SCOPE, STATEMENT, SWITCH, TRY |
Constructor Summary | |
---|---|
JavaASTFunctionNode(int ln,
java.lang.String content,
java.lang.String scope,
java.lang.String modifiers,
java.lang.String name,
java.lang.String arguments,
IScopeNode parent)
Der Konstruktor |
Method Summary | |
---|---|
void |
createASCContent(int level)
|
Methods inherited from class sota.ast.nodes.ASTFunctionNode |
---|
addConditionNode, addExitNode, completeBranchNodes, completeFunction, decNrHits, findReachableNodes, getArguments, getEntryNode, getExitString, getFunctionName, getName, getNodeString, getNrHits, getSetOfExitNodes, incNrHits, incNrHits, isPrivate, isProtected, numerateConditions, printCFG, printExits, printNode, resetHits, setEntryNode, setNrHits |
Methods inherited from class sota.ast.nodes.ASTScopeNode |
---|
addClassNode, addFunctionNode, getClassNodes, getEndNode, getFileNode, getFirstLineNr, getFullyQualifiedName, getFunctionNodes, getIDString, getLastLineNr, getMetrics, getParent, getScope, getStartNode, isFirstLevelFunction, isTopLevel, print_indent, printFunctions, setEndNode, setFileNode, setMetrics, setQualifiedName |
Methods inherited from class sota.ast.nodes.ASTNode |
---|
appendToASCContent, compareTo, getASCContent, getContent, getControlingBranchNode, getFunctionNode, getID, getLineNr, getNextNode, getPrevNode, getReachString, getType, isDirectReachable, isDirectReachable, isReachable, isReachable, isVirtual, isVirtual, print, printReach, setASCContent, setContent, setControlingBranchNode, setFunctionNode, setID, setNextNode, setPrevNode, typeToString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface sota.ast.nodes.IStatementNode |
---|
getID, print |
Constructor Detail |
---|
public JavaASTFunctionNode(int ln, java.lang.String content, java.lang.String scope, java.lang.String modifiers, java.lang.String name, java.lang.String arguments, IScopeNode parent)
ln
- die Zeilennummercontent
- der Inhaltscope
- der Scopemodifiers
- die Modifier der Funktionname
- der Name der Funktionarguments
- die Argumenteparent
- der übergeordnete ScopeNodeMethod Detail |
---|
public void createASCContent(int level)
createASCContent
in interface IScopeNode
createASCContent
in class ASTFunctionNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |