#[repr(u8)]pub enum TclElementType {
Show 61 variants
Root = 0,
Command = 1,
ProcDefinition = 2,
IfCommand = 3,
WhileCommand = 4,
ForCommand = 5,
ForEachCommand = 6,
SetCommand = 7,
Word = 8,
SimpleWord = 9,
VariableWord = 10,
ScriptWord = 11,
BracedWord = 12,
Number = 13,
StringLiteral = 14,
Identifier = 15,
If = 16,
Else = 17,
ElseIf = 18,
For = 19,
While = 20,
ForEach = 21,
Proc = 22,
Return = 23,
Break = 24,
Continue = 25,
Set = 26,
Unset = 27,
Global = 28,
Upvar = 29,
Variable = 30,
Plus = 31,
Minus = 32,
Star = 33,
Slash = 34,
Percent = 35,
Equal = 36,
NotEqual = 37,
Less = 38,
Greater = 39,
LessEqual = 40,
GreaterEqual = 41,
Ampersand = 42,
AmpersandAmpersand = 43,
Pipe = 44,
PipePipe = 45,
Exclamation = 46,
LeftParen = 47,
RightParen = 48,
LeftBracket = 49,
RightBracket = 50,
LeftBrace = 51,
RightBrace = 52,
Semicolon = 53,
Comma = 54,
Dollar = 55,
Whitespace = 56,
Newline = 57,
Comment = 58,
Error = 59,
Eof = 60,
}Expand description
Tcl element type definition
Variants§
Root = 0
Root node
Command = 1
Command
ProcDefinition = 2
Proc definition
IfCommand = 3
If command
WhileCommand = 4
While command
ForCommand = 5
For command
ForEachCommand = 6
ForEach command
SetCommand = 7
Set command
Word = 8
Word
SimpleWord = 9
Simple word
VariableWord = 10
Variable word
ScriptWord = 11
Script word
BracedWord = 12
Braced word
Number = 13
Number
StringLiteral = 14
String literal
Identifier = 15
Identifier
If = 16
if keyword
Else = 17
else keyword
ElseIf = 18
elseif keyword
For = 19
for keyword
While = 20
while keyword
ForEach = 21
foreach keyword
Proc = 22
proc keyword
Return = 23
return keyword
Break = 24
break keyword
Continue = 25
continue keyword
Set = 26
set keyword
Unset = 27
unset keyword
Global = 28
global keyword
Upvar = 29
upvar keyword
Variable = 30
variable keyword
Plus = 31
Plus (+)
Minus = 32
Minus (-)
Star = 33
Star (*)
Slash = 34
Slash (/)
Percent = 35
Percent (%)
Equal = 36
Equal (=)
NotEqual = 37
Not equal (!=)
Less = 38
Less (<)
Greater = 39
Greater (>)
LessEqual = 40
Less equal (<=)
GreaterEqual = 41
Greater equal (>=)
Ampersand = 42
Ampersand (&)
AmpersandAmpersand = 43
Logical AND (&&)
Pipe = 44
Pipe (|)
PipePipe = 45
Logical OR (||)
Exclamation = 46
Exclamation (!)
LeftParen = 47
Left parenthesis (()
RightParen = 48
Right parenthesis ())
LeftBracket = 49
Left bracket ([)
RightBracket = 50
Right bracket (])
LeftBrace = 51
Left brace ({)
RightBrace = 52
Right brace (})
Semicolon = 53
Semicolon (;)
Comma = 54
Comma (,)
Dollar = 55
Dollar ($)
Whitespace = 56
Whitespace
Newline = 57
Newline
Comment = 58
Comment
Error = 59
Error
Eof = 60
End of file
Trait Implementations§
Source§impl Clone for TclElementType
impl Clone for TclElementType
Source§fn clone(&self) -> TclElementType
fn clone(&self) -> TclElementType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more