LeviLamina
Loading...
Searching...
No Matches
Token.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5struct Token {
6public:
7 // Token inner types define
8 enum class Type : int {
9 String = 0,
10 Number = 1,
11 Bool = 2,
12 };
13
14public:
15 // member variables
16 // NOLINTBEGIN
18 union {
21 };
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 Token& operator=(Token const&);
29 Token(Token const&);
30 Token();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI explicit Token(::std::string const& str);
36
37 MCAPI bool _parseRandom();
38
39 MCAPI ~Token();
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static ::std::vector<::Token> tokenize(::std::string const& str);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCAPI void* $ctor(::std::string const& str);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCFOLD void $dtor();
58 // NOLINTEND
59};
Definition Token.h:5
Definition Alias.h:14