Package org.ek9lang.compiler.symbols
Interface INaming
public interface INaming
Used to assist with determining the naming of symbol names.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getModuleNameIfPresent
(String symbolName) Symbol names can be fully qualified (i.e.static String
getUnqualifiedName
(String symbolName) Just returns the actual symbol name in unqualified form (i.e.static boolean
isQualifiedName
(String symbolName) static String
makeFullyQualifiedName
(String scopeName, String symbolName) Convert a scope name (module name) and a symbol name into a fully qualified symbol name.
-
Method Details
-
getModuleNameIfPresent
Symbol names can be fully qualified (i.e. with the module name) or just a name. This method returns the module name if present or "" if not. -
getUnqualifiedName
Just returns the actual symbol name in unqualified form (i.e. no module name). -
isQualifiedName
-
makeFullyQualifiedName
Convert a scope name (module name) and a symbol name into a fully qualified symbol name.
-