public class NameSpace extends Object
Modifier and Type | Method and Description |
---|---|
(package private) void |
emitClosures(PrintWriter out)
Method to generate the required C++ namespace closures
|
(package private) void |
emitDeclarations(PrintWriter out)
Method to generate the required C++ namespace declarations
|
String |
getName() |
protected void |
parse(String name)
Parse a C++ namespace declaration into seperate names
splitting on :: We could easily parameterize this to make
the delimiter a language-specific parameter, or use subclasses
to support C++ namespaces versus java packages.
|
public NameSpace(String name)
public String getName()
protected void parse(String name)
void emitDeclarations(PrintWriter out)
void emitClosures(PrintWriter out)