Class SymbolPath

  • All Implemented Interfaces:
    java.lang.Comparable<SymbolPath>

    public class SymbolPath
    extends java.lang.Object
    implements java.lang.Comparable<SymbolPath>
    A convenience object for parsing a namespace path to a symbol.

    For example, if a SymbolPath is constructed with "foo::bar::baz", then "baz" is the name of a symbol in the "bar" namespace, which is in the "foo" namespace.

  • getName() will return "baz".
  • getParentPath() will return "foo:bar".
  • getPath() will return "foo::bar::baz".