sota.lang.java.ast.nodes
Class JavaASTFunctionNode

java.lang.Object
  extended by sota.ast.nodes.ASTNode
      extended by sota.ast.nodes.ASTScopeNode
          extended by sota.ast.nodes.ASTFunctionNode
              extended by sota.lang.java.ast.nodes.JavaASTFunctionNode
All Implemented Interfaces:
java.lang.Comparable<ASTNode>, IScopeNode, IStatementNode

public class JavaASTFunctionNode
extends ASTFunctionNode

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

JavaASTFunctionNode

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)
Der Konstruktor

Parameters:
ln - die Zeilennummer
content - der Inhalt
scope - der Scope
modifiers - die Modifier der Funktion
name - der Name der Funktion
arguments - die Argumente
parent - der übergeordnete ScopeNode
Method Detail

createASCContent

public void createASCContent(int level)
Specified by:
createASCContent in interface IScopeNode
Specified by:
createASCContent in class ASTFunctionNode