Package de.monticore.codegen.util
Class Node2Name
java.lang.Object
de.monticore.codegen.util.Node2Name
used in CodeGen Visitors.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String_getName(de.monticore.ast.ASTNode ast) protected Stringclass2Name(Class<? extends de.monticore.ast.ASTNode> c) protected static Node2Namestatic StringgetName(de.monticore.ast.ASTNode ast) Maps a given ASTNode to a (part of a) name that can be used for variables or similar.static voidinit()static voidreset()protected static voidsetDelegate(Node2Name newDelegate)
-
Field Details
-
delegate
-
class2NumOfInstances
-
instance2Number
-
-
Constructor Details
-
Node2Name
public Node2Name()
-
-
Method Details
-
getName
Maps a given ASTNode to a (part of a) name that can be used for variables or similar. -
_getName
-
class2Name
-
init
public static void init() -
reset
public static void reset() -
setDelegate
-
getDelegate
-