FileDocCategorySizeDatePackage
CSharpNameSpace.javaAPI DocGlassfish v2 API1279Wed Aug 30 15:34:04 BST 2006persistence.antlr

CSharpNameSpace

public class CSharpNameSpace extends NameSpace
ANTLR Translator Generator Project led by Terence Parr at http://www.jGuru.com Software rights: http://www.antlr.org/license.html Container for a C++ namespace specification. Namespaces can be nested, so this contains a vector of all the nested names.
author
David Wagner (JPL/Caltech) 8-12-00

Fields Summary
Constructors Summary
public CSharpNameSpace(String name)

		super(name);
    
Methods Summary
voidemitClosures(java.io.PrintWriter out)
Method to generate the required CSharp namespace closures

    	  out.println("}");
    
voidemitDeclarations(java.io.PrintWriter out)
Method to generate the required CSharp namespace declarations

    	  out.println("namespace " + getName() );
    	  out.println("{");