pub enum Bash {
Show 281 variants
End = 0,
Word = 1,
For = 2,
Select = 3,
In = 4,
LPARENLPAREN = 5,
RPARENRPAREN = 6,
SEMI = 7,
COMMA = 8,
EQ = 9,
PLUSPLUS = 10,
DASHDASH = 11,
PLUSEQ = 12,
DASHEQ = 13,
STAREQ = 14,
SLASHEQ = 15,
PERCENTEQ = 16,
STARSTAREQ = 17,
LTLTEQ = 18,
GTGTEQ = 19,
AMPEQ = 20,
CARETEQ = 21,
PIPEEQ = 22,
PIPEPIPE = 23,
DASHo = 24,
AMPAMP = 25,
DASHa = 26,
PIPE = 27,
CARET = 28,
AMP = 29,
EQEQ = 30,
BANGEQ = 31,
LT = 32,
GT = 33,
LTEQ = 34,
GTEQ = 35,
LTLT = 36,
GTGT = 37,
PLUS = 38,
DASH = 39,
STAR = 40,
SLASH = 41,
PERCENT = 42,
STARSTAR = 43,
LPAREN = 44,
RPAREN = 45,
Word2 = 46,
While = 47,
Until = 48,
Do = 49,
Done = 50,
If = 51,
Then = 52,
Fi = 53,
Elif = 54,
Else = 55,
Case = 56,
Esac = 57,
SEMISEMI = 58,
SEMIAMP = 59,
SEMISEMIAMP = 60,
Function = 61,
LBRACE = 62,
RBRACE = 63,
PIPEAMP = 64,
BANG = 65,
LBRACK = 66,
RBRACK = 67,
LBRACKLBRACK = 68,
RBRACKRBRACK = 69,
Declare = 70,
Typeset = 71,
Export = 72,
Readonly = 73,
Local = 74,
Unset = 75,
Unsetenv = 76,
EQTILDE = 77,
AMPGT = 78,
AMPGTGT = 79,
LTAMP = 80,
GTAMP = 81,
GTPIPE = 82,
LTAMPDASH = 83,
GTAMPDASH = 84,
LTLTDASH = 85,
HeredocRedirectToken1 = 86,
LTLTLT = 87,
QMARK = 88,
COLON = 89,
PLUSPLUS2 = 90,
DASHDASH2 = 91,
DASH2 = 92,
PLUS2 = 93,
TILDE = 94,
DOLLARLPARENLPAREN = 95,
DOLLARLBRACK = 96,
Number = 97,
DOTDOT = 98,
RBRACE2 = 99,
BQUOTEBQUOTE = 100,
DOLLAR = 101,
SpecialCharacter = 102,
DQUOTE = 103,
StringContent = 104,
RawString = 105,
AnsiCString = 106,
NumberToken1 = 107,
NumberToken2 = 108,
HASH = 109,
DOLLARLBRACE = 110,
RBRACE3 = 111,
BANG2 = 112,
AT = 113,
STAR2 = 114,
HASH2 = 115,
EQ2 = 116,
COLONEQ = 117,
DASH3 = 118,
COLONDASH = 119,
PLUS3 = 120,
COLONPLUS = 121,
QMARK2 = 122,
COLONQMARK = 123,
PERCENTPERCENT = 124,
Regex = 125,
SLASHSLASH = 126,
SLASHHASH = 127,
SLASHPERCENT = 128,
COMMACOMMA = 129,
CARETCARET = 130,
U = 131,
U2 = 132,
L = 133,
Q = 134,
E = 135,
P = 136,
A = 137,
K = 138,
A2 = 139,
K2 = 140,
DOLLARLPAREN = 141,
BQUOTE = 142,
DOLLARBQUOTE = 143,
LTLPAREN = 144,
GTLPAREN = 145,
Comment = 146,
Word3 = 147,
VariableName = 148,
VariableName2 = 149,
SpecialVariableName = 150,
SpecialVariableName2 = 151,
HeredocStart = 152,
HeredocBody = 153,
HeredocBodyBeginning = 154,
HeredocContent = 155,
HeredocEnd = 156,
FileDescriptor = 157,
EmptyValue = 158,
Concat = 159,
VariableName3 = 160,
TestOperator = 161,
Regex2 = 162,
Regex3 = 163,
Regex4 = 164,
Word4 = 165,
ExtglobPattern = 166,
DOLLAR2 = 167,
LBRACE2 = 168,
HASHHASH = 169,
HASH3 = 170,
BANG3 = 171,
EQ3 = 172,
ErrorRecovery = 173,
Program = 174,
Statements = 175,
TerminatedStatement = 176,
StatementNotPipeline = 177,
RedirectedStatement = 178,
ForStatement = 179,
CStyleForStatement = 180,
ForBody = 181,
CExpression = 182,
CExpressionNotAssignment = 183,
VariableAssignment = 184,
UnaryExpression = 185,
BinaryExpression = 186,
PostfixExpression = 187,
ParenthesizedExpression = 188,
WhileStatement = 189,
DoGroup = 190,
IfStatement = 191,
ElifClause = 192,
ElseClause = 193,
CaseStatement = 194,
CaseItem = 195,
CaseItem2 = 196,
FunctionDefinition = 197,
CompoundStatement = 198,
Subshell = 199,
Pipeline = 200,
List = 201,
NegatedCommand = 202,
TestCommand = 203,
BinaryExpression2 = 204,
DeclarationCommand = 205,
UnsetCommand = 206,
Command = 207,
CommandName = 208,
VariableAssignment2 = 209,
VariableAssignments = 210,
Subscript = 211,
FileRedirect = 212,
HeredocRedirect = 213,
Pipeline2 = 214,
HeredocExpression = 215,
HeredocCommand = 216,
HeredocBody3 = 217,
HeredocBody2 = 218,
SimpleHeredocBody = 219,
HerestringRedirect = 220,
Expression = 221,
BinaryExpression3 = 222,
TernaryExpression = 223,
UnaryExpression2 = 224,
PostfixExpression2 = 225,
ParenthesizedExpression2 = 226,
ArithmeticExpansion = 227,
BraceExpression = 228,
ArithmeticExpression = 229,
ArithmeticLiteral = 230,
BinaryExpression4 = 231,
TernaryExpression2 = 232,
UnaryExpression3 = 233,
PostfixExpression3 = 234,
ParenthesizedExpression3 = 235,
Concatenation = 236,
String = 237,
TranslatedString = 238,
Array = 239,
Number2 = 240,
SimpleExpansion = 241,
Expansion = 242,
ExpansionBody = 243,
ExpansionExpression = 244,
ExpansionRegex = 245,
ExpansionRegexReplacement = 246,
ExpansionRegexRemoval = 247,
ExpansionMaxLength = 248,
ExpansionMaxLengthExpression = 249,
BinaryExpression5 = 250,
ExpansionOperator = 251,
Concatenation2 = 252,
CommandSubstitution = 253,
ProcessSubstitution = 254,
ExtglobBlob = 255,
CTerminator = 256,
StatementsRepeat1 = 257,
RedirectedStatementRepeat1 = 258,
RedirectedStatementRepeat2 = 259,
ForStatementRepeat1 = 260,
ForBodyRepeat1 = 261,
IfStatementRepeat1 = 262,
CaseStatementRepeat1 = 263,
CaseItemRepeat1 = 264,
CompoundStatementRepeat1 = 265,
PipelineRepeat1 = 266,
DeclarationCommandRepeat1 = 267,
UnsetCommandRepeat1 = 268,
CommandRepeat1 = 269,
CommandRepeat2 = 270,
VariableAssignmentsRepeat1 = 271,
HeredocBodyRepeat1 = 272,
LiteralRepeat1 = 273,
ArithmeticExpansionRepeat1 = 274,
ConcatenationRepeat1 = 275,
StringRepeat1 = 276,
ExpansionBodyRepeat1 = 277,
ExpansionRegexRepeat1 = 278,
ConcatenationInExpansionRepeat1 = 279,
Error = 280,
}Variants§
End = 0
Word = 1
For = 2
Select = 3
In = 4
LPARENLPAREN = 5
RPARENRPAREN = 6
SEMI = 7
COMMA = 8
EQ = 9
PLUSPLUS = 10
DASHDASH = 11
PLUSEQ = 12
DASHEQ = 13
STAREQ = 14
SLASHEQ = 15
PERCENTEQ = 16
STARSTAREQ = 17
LTLTEQ = 18
GTGTEQ = 19
AMPEQ = 20
CARETEQ = 21
PIPEEQ = 22
PIPEPIPE = 23
DASHo = 24
AMPAMP = 25
DASHa = 26
PIPE = 27
CARET = 28
AMP = 29
EQEQ = 30
BANGEQ = 31
LT = 32
GT = 33
LTEQ = 34
GTEQ = 35
LTLT = 36
GTGT = 37
PLUS = 38
DASH = 39
STAR = 40
SLASH = 41
PERCENT = 42
STARSTAR = 43
LPAREN = 44
RPAREN = 45
Word2 = 46
While = 47
Until = 48
Do = 49
Done = 50
If = 51
Then = 52
Fi = 53
Elif = 54
Else = 55
Case = 56
Esac = 57
SEMISEMI = 58
SEMIAMP = 59
SEMISEMIAMP = 60
Function = 61
LBRACE = 62
RBRACE = 63
PIPEAMP = 64
BANG = 65
LBRACK = 66
RBRACK = 67
LBRACKLBRACK = 68
RBRACKRBRACK = 69
Declare = 70
Typeset = 71
Export = 72
Readonly = 73
Local = 74
Unset = 75
Unsetenv = 76
EQTILDE = 77
AMPGT = 78
AMPGTGT = 79
LTAMP = 80
GTAMP = 81
GTPIPE = 82
LTAMPDASH = 83
GTAMPDASH = 84
LTLTDASH = 85
HeredocRedirectToken1 = 86
LTLTLT = 87
QMARK = 88
COLON = 89
PLUSPLUS2 = 90
DASHDASH2 = 91
DASH2 = 92
PLUS2 = 93
TILDE = 94
DOLLARLPARENLPAREN = 95
DOLLARLBRACK = 96
Number = 97
DOTDOT = 98
RBRACE2 = 99
BQUOTEBQUOTE = 100
DOLLAR = 101
SpecialCharacter = 102
DQUOTE = 103
StringContent = 104
RawString = 105
AnsiCString = 106
NumberToken1 = 107
NumberToken2 = 108
HASH = 109
DOLLARLBRACE = 110
RBRACE3 = 111
BANG2 = 112
AT = 113
STAR2 = 114
HASH2 = 115
EQ2 = 116
COLONEQ = 117
DASH3 = 118
COLONDASH = 119
PLUS3 = 120
COLONPLUS = 121
QMARK2 = 122
COLONQMARK = 123
PERCENTPERCENT = 124
Regex = 125
SLASHSLASH = 126
SLASHHASH = 127
SLASHPERCENT = 128
COMMACOMMA = 129
CARETCARET = 130
U = 131
U2 = 132
L = 133
Q = 134
E = 135
P = 136
A = 137
K = 138
A2 = 139
K2 = 140
DOLLARLPAREN = 141
BQUOTE = 142
DOLLARBQUOTE = 143
LTLPAREN = 144
GTLPAREN = 145
Comment = 146
Word3 = 147
VariableName = 148
VariableName2 = 149
SpecialVariableName = 150
SpecialVariableName2 = 151
HeredocStart = 152
HeredocBody = 153
HeredocBodyBeginning = 154
HeredocContent = 155
HeredocEnd = 156
FileDescriptor = 157
EmptyValue = 158
Concat = 159
VariableName3 = 160
TestOperator = 161
Regex2 = 162
Regex3 = 163
Regex4 = 164
Word4 = 165
ExtglobPattern = 166
DOLLAR2 = 167
LBRACE2 = 168
HASHHASH = 169
HASH3 = 170
BANG3 = 171
EQ3 = 172
ErrorRecovery = 173
Program = 174
Statements = 175
TerminatedStatement = 176
StatementNotPipeline = 177
RedirectedStatement = 178
ForStatement = 179
CStyleForStatement = 180
ForBody = 181
CExpression = 182
CExpressionNotAssignment = 183
VariableAssignment = 184
UnaryExpression = 185
BinaryExpression = 186
PostfixExpression = 187
ParenthesizedExpression = 188
WhileStatement = 189
DoGroup = 190
IfStatement = 191
ElifClause = 192
ElseClause = 193
CaseStatement = 194
CaseItem = 195
CaseItem2 = 196
FunctionDefinition = 197
CompoundStatement = 198
Subshell = 199
Pipeline = 200
List = 201
NegatedCommand = 202
TestCommand = 203
BinaryExpression2 = 204
DeclarationCommand = 205
UnsetCommand = 206
Command = 207
CommandName = 208
VariableAssignment2 = 209
VariableAssignments = 210
Subscript = 211
FileRedirect = 212
HeredocRedirect = 213
Pipeline2 = 214
HeredocExpression = 215
HeredocCommand = 216
HeredocBody3 = 217
HeredocBody2 = 218
SimpleHeredocBody = 219
HerestringRedirect = 220
Expression = 221
BinaryExpression3 = 222
TernaryExpression = 223
UnaryExpression2 = 224
PostfixExpression2 = 225
ParenthesizedExpression2 = 226
ArithmeticExpansion = 227
BraceExpression = 228
ArithmeticExpression = 229
ArithmeticLiteral = 230
BinaryExpression4 = 231
TernaryExpression2 = 232
UnaryExpression3 = 233
PostfixExpression3 = 234
ParenthesizedExpression3 = 235
Concatenation = 236
String = 237
TranslatedString = 238
Array = 239
Number2 = 240
SimpleExpansion = 241
Expansion = 242
ExpansionBody = 243
ExpansionExpression = 244
ExpansionRegex = 245
ExpansionRegexReplacement = 246
ExpansionRegexRemoval = 247
ExpansionMaxLength = 248
ExpansionMaxLengthExpression = 249
BinaryExpression5 = 250
ExpansionOperator = 251
Concatenation2 = 252
CommandSubstitution = 253
ProcessSubstitution = 254
ExtglobBlob = 255
CTerminator = 256
StatementsRepeat1 = 257
RedirectedStatementRepeat1 = 258
RedirectedStatementRepeat2 = 259
ForStatementRepeat1 = 260
ForBodyRepeat1 = 261
IfStatementRepeat1 = 262
CaseStatementRepeat1 = 263
CaseItemRepeat1 = 264
CompoundStatementRepeat1 = 265
PipelineRepeat1 = 266
DeclarationCommandRepeat1 = 267
UnsetCommandRepeat1 = 268
CommandRepeat1 = 269
CommandRepeat2 = 270
VariableAssignmentsRepeat1 = 271
HeredocBodyRepeat1 = 272
LiteralRepeat1 = 273
ArithmeticExpansionRepeat1 = 274
ConcatenationRepeat1 = 275
StringRepeat1 = 276
ExpansionBodyRepeat1 = 277
ExpansionRegexRepeat1 = 278
ConcatenationInExpansionRepeat1 = 279
Error = 280
Trait Implementations§
impl Eq for Bash
Source§impl FromPrimitive for Bash
impl FromPrimitive for Bash
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreimpl StructuralPartialEq for Bash
Auto Trait Implementations§
impl Freeze for Bash
impl RefUnwindSafe for Bash
impl Send for Bash
impl Sync for Bash
impl Unpin for Bash
impl UnsafeUnpin for Bash
impl UnwindSafe for Bash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.