NewLang Project
Yet another programm language
Loading...
Searching...
No Matches
newlang::InternalName Class Reference

#include <types.h>

Inheritance diagram for newlang::InternalName:

Public Member Functions

 InternalName (const std::string_view str="")
 
 InternalName (const InternalName &name)
 
InternalNameoperator= (const InternalName &name)
 
InternalNameoperator= (const std::string_view name)
 
bool isInternalName ()
 
std::string getMangledName (const std::string_view module)
 
bool isModule ()
 
bool isStatic ()
 
bool isLocal ()
 
bool isGlobalScope ()
 
bool isModuleScope ()
 
bool isTypeName ()
 
bool isFullName ()
 
bool isMacroName ()
 
bool isNativeName ()
 
bool isLocalAnyName ()
 
bool isSystemName ()
 
bool isPrivateName ()
 
bool isHidenName ()
 
bool isVariableName ()
 
bool isConstName ()
 
std::string SetFromLocalName (std::string name)
 
std::string SetFromGlobalName (std::string name)
 
std::string GetLocalName ()
 
std::string ExtractModuleName ()
 
std::string ExtractName ()
 

Static Public Member Functions

static std::string ExtractModuleName (const std::string_view name)
 

Detailed Description

Definition at line 1235 of file types.h.

Constructor & Destructor Documentation

◆ InternalName() [1/2]

newlang::InternalName::InternalName ( const std::string_view str = "")
inline

Definition at line 1238 of file types.h.

References ASSERT, and newlang::isInternalName().

◆ InternalName() [2/2]

newlang::InternalName::InternalName ( const InternalName & name)
inline

Definition at line 1243 of file types.h.

References ASSERT, and newlang::isInternalName().

Member Function Documentation

◆ operator=() [1/2]

InternalName & newlang::InternalName::operator= ( const InternalName & name)
inline

Definition at line 1248 of file types.h.

References ASSERT, and newlang::isInternalName().

◆ operator=() [2/2]

InternalName & newlang::InternalName::operator= ( const std::string_view name)
inline

Definition at line 1254 of file types.h.

◆ isInternalName()

bool newlang::InternalName::isInternalName ( )
inline

Definition at line 1265 of file types.h.

References newlang::isInternalName().

Referenced by getMangledName().

◆ getMangledName()

std::string newlang::InternalName::getMangledName ( const std::string_view module)
inline

Definition at line 1269 of file types.h.

References isInternalName(), LOG_RUNTIME, and result.

◆ ExtractModuleName() [1/2]

static std::string newlang::InternalName::ExtractModuleName ( const std::string_view name)
inlinestatic

Definition at line 1285 of file types.h.

References newlang::ExtractModuleName().

◆ isModule()

bool newlang::InternalName::isModule ( )
inline

Definition at line 1290 of file types.h.

References newlang::isModuleName().

◆ isStatic()

bool newlang::InternalName::isStatic ( )
inline

Definition at line 1295 of file types.h.

References newlang::isStaticName().

◆ isLocal()

bool newlang::InternalName::isLocal ( )
inline

Definition at line 1300 of file types.h.

References newlang::isLocalName().

◆ isGlobalScope()

bool newlang::InternalName::isGlobalScope ( )
inline

Definition at line 1305 of file types.h.

References newlang::isGlobalScope().

◆ isModuleScope()

bool newlang::InternalName::isModuleScope ( )
inline

Definition at line 1310 of file types.h.

References newlang::isModuleScope().

◆ isTypeName()

bool newlang::InternalName::isTypeName ( )
inline

Definition at line 1315 of file types.h.

References newlang::isTypeName().

◆ isFullName()

bool newlang::InternalName::isFullName ( )
inline

Definition at line 1320 of file types.h.

References newlang::isFullName().

◆ isMacroName()

bool newlang::InternalName::isMacroName ( )
inline

Definition at line 1325 of file types.h.

References newlang::isMacroName().

◆ isNativeName()

bool newlang::InternalName::isNativeName ( )
inline

Definition at line 1330 of file types.h.

References newlang::isNativeName().

◆ isLocalAnyName()

bool newlang::InternalName::isLocalAnyName ( )
inline

Definition at line 1335 of file types.h.

References newlang::isLocalAnyName().

◆ isSystemName()

bool newlang::InternalName::isSystemName ( )
inline

Definition at line 1346 of file types.h.

References newlang::isSystemName().

◆ isPrivateName()

bool newlang::InternalName::isPrivateName ( )
inline

Definition at line 1351 of file types.h.

References newlang::isPrivateName().

◆ isHidenName()

bool newlang::InternalName::isHidenName ( )
inline

Definition at line 1356 of file types.h.

References newlang::isHidenName().

◆ isVariableName()

bool newlang::InternalName::isVariableName ( )
inline

Definition at line 1361 of file types.h.

References newlang::isVariableName().

◆ isConstName()

bool newlang::InternalName::isConstName ( )
inline

Definition at line 1366 of file types.h.

References newlang::isConstName().

◆ SetFromLocalName()

std::string newlang::InternalName::SetFromLocalName ( std::string name)
inline

Definition at line 1370 of file types.h.

◆ SetFromGlobalName()

std::string newlang::InternalName::SetFromGlobalName ( std::string name)
inline

Definition at line 1376 of file types.h.

◆ GetLocalName()

std::string newlang::InternalName::GetLocalName ( )
inline

Definition at line 1382 of file types.h.

◆ ExtractModuleName() [2/2]

std::string newlang::InternalName::ExtractModuleName ( )
inline

Definition at line 1399 of file types.h.

References newlang::ExtractModuleName().

◆ ExtractName()

std::string newlang::InternalName::ExtractName ( )
inline

Definition at line 1404 of file types.h.

References newlang::ExtractName().


The documentation for this class was generated from the following file: