Content


NTL
Core
cpp::CLexic

cpp::CLexic


Class implements C++ language lexic description.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CLexic :public virtual ILexic, public CReleasable
{
public:
    // ILixic methods 
    bool IsSpace(const wchar_t chr) override;
    bool IsNewLine(const wchar_t chr) override;
    bool IsIdentifier(const wchar_t chr) override;
    bool IsIdentifierNotStart(const wchar_t chr) override;
    bool IsIdentifierNotAll(const wchar_t chr) override;
    bool IsIdentifierBoundary(const wchar_t chr) override;
    size_t Escape(const size_t index) override;

    CLexic(IReader *reader);
};
Namespace: nitisa::script::cpp
Include: Nitisa/Modules/Script/Lexics/C++/Lexic.h