antlr
Class NameSpace

java.lang.Object
  |
  +--antlr.NameSpace
Direct Known Subclasses:
CSharpNameSpace

public class NameSpace
extends Object


Constructor Summary
NameSpace(String name)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSpace

public NameSpace(String name)
Method Detail

getName

public String getName()

parse

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. -DAW



Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.