Content


NTL
Core
json::CLexic

json::CLexic


Class implements JSON 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::json
Include: Nitisa/Modules/Script/Lexics/Json/Lexic.h