| java.lang.Object antlr.NameSpace
NameSpace | public class NameSpace (Code) | | |
emitClosures | void emitClosures(PrintWriter out)(Code) | | Method to generate the required C++ namespace closures
|
emitDeclarations | void emitDeclarations(PrintWriter out)(Code) | | Method to generate the required C++ namespace declarations
|
parse | protected void parse(String name)(Code) | | 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. -DAW
|
|
|