1use oak_core::SyntaxKind;
2
3#[derive(Copy, Clone, Debug, PartialEq, Eq)]
4pub enum MatlabSyntaxKind {
5 Whitespace,
7 Newline,
8 Comment,
9 BlockComment,
10
11 Identifier,
13 Number,
14 String,
15 Character,
16
17 Function,
19 End,
20 If,
21 Else,
22 Elseif,
23 While,
24 For,
25 Break,
26 Continue,
27 Return,
28 Switch,
29 Case,
30 Otherwise,
31 Try,
32 Catch,
33 Global,
34 Persistent,
35 Classdef,
36 Properties,
37 Methods,
38 Events,
39
40 Plus, Minus, Times, Divide, Power, LeftDivide, DotTimes, DotDivide, DotPower, DotLeftDivide, Equal, NotEqual, Less, Greater, LessEqual, GreaterEqual, And, Or, Not, AndAnd, OrOr, Assign, LeftParen, RightParen, LeftBracket, RightBracket, LeftBrace, RightBrace, Semicolon, Comma, Dot, Colon, Question, At, Transpose, DotTranspose, Error,
90
91 Script,
93 FunctionDef,
94 ClassDef,
95 Block,
96 Expression,
97 Statement,
98
99 Eof,
101}
102
103impl SyntaxKind for MatlabSyntaxKind {
104 fn is_trivia(&self) -> bool {
105 todo!()
106 }
107
108 fn is_comment(&self) -> bool {
109 todo!()
110 }
111
112 fn is_whitespace(&self) -> bool {
113 todo!()
114 }
115
116 fn is_token_type(&self) -> bool {
117 todo!()
118 }
119
120 fn is_element_type(&self) -> bool {
121 todo!()
122 }
123}