antlr

Class 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 $Id:$

Constructor Summary

CSharpNameSpace(String name)

Method Summary

(package private) void
emitClosures(PrintWriter out)
Method to generate the required CSharp namespace closures
(package private) void
emitDeclarations(PrintWriter out)
Method to generate the required CSharp namespace declarations

Methods inherited from class antlr.NameSpace

emitClosures, emitDeclarations, getName, parse

Constructor Details

CSharpNameSpace

public CSharpNameSpace(String name)

Method Details

emitClosures

(package private)  void emitClosures(PrintWriter out)
Method to generate the required CSharp namespace closures
Overrides:
emitClosures in interface NameSpace


emitDeclarations

(package private)  void emitDeclarations(PrintWriter out)
Method to generate the required CSharp namespace declarations
Overrides:
emitDeclarations in interface NameSpace