pub enum NonTerminalKind {
Show 163 variants
Array,
ArrayBegin,
ArrayElements,
ArrayElementsOpt,
ArrayElementsTail,
ArrayElementsTailOpt,
ArrayEnd,
ArrayMarker,
ArrayMarkerOpt,
ArrayOpt,
At,
Backtick2,
Backtick3,
Backtick4,
Backtick5,
BacktickDelim,
Begin,
Bind,
Binding,
BindingRhs,
BlockBody,
Boolean,
CodeBlock,
CodeBlock3,
CodeBlock3List,
CodeBlock3ListGroup,
CodeBlock4,
CodeBlock4List,
CodeBlock4ListGroup,
CodeBlock5,
CodeBlock5List,
CodeBlock5ListGroup,
CodeBlock6,
CodeBlock6List,
CodeBlock6ListGroup,
CodeBlockEnd3,
CodeBlockEnd4,
CodeBlockEnd5,
CodeBlockEnd6,
CodeBlockStart3,
CodeBlockStart4,
CodeBlockStart5,
CodeBlockStart6,
Comma,
Continue,
DelimCode,
DelimCode1,
DelimCode1List,
DelimCode1ListGroup,
DelimCode2,
DelimCode2List,
DelimCode2ListGroup,
DelimCode3,
DelimCode3List,
DelimCode3ListGroup,
DelimCodeEnd1,
DelimCodeEnd2,
DelimCodeEnd3,
DelimCodeStart1,
DelimCodeStart2,
DelimCodeStart3,
Dot,
DotKey,
End,
Eure,
EureList,
EureList0,
EureOpt,
Ext,
ExtensionNameSpace,
False,
FirstKey,
FlatBody,
FlatBodyList,
FlatRootBinding,
Float,
GrammarNewline,
Hole,
Ident,
Inf,
InlineCode,
InlineCode1,
Integer,
Key,
KeyIdent,
KeyTail,
KeyTuple,
KeyTupleElements,
KeyTupleElementsOpt,
KeyTupleElementsTail,
KeyTupleElementsTailOpt,
KeyTupleOpt,
KeyValue,
Keys,
KeysList,
LParen,
LitStr,
LitStr1,
LitStr1End,
LitStr1List,
LitStr1ListGroup,
LitStr1Start,
LitStr2,
LitStr2End,
LitStr2List,
LitStr2ListGroup,
LitStr2Start,
LitStr3,
LitStr3End,
LitStr3List,
LitStr3ListGroup,
LitStr3Start,
MapBind,
NaN,
NewlineBind,
NewlineHead,
NewlineHeadOpt,
NewlineTextStart,
NoBacktick,
NoSQuote,
Null,
Number,
Object,
ObjectList,
ObjectOpt,
ObjectOpt0,
ObjectOpt1,
RParen,
RootBinding,
RootTextBinding,
RootTextBindingOpt,
RootTextBindingOpt0,
RootTextBindingOpt1,
RootValueBinding,
SQuote,
Section,
SectionBinding,
SectionBody,
SectionBodyOpt,
SectionHead,
Str,
String,
Strings,
StringsList,
Text,
TextBinding,
TextBindingOpt,
TextBindingOpt0,
TextBindingOpt1,
TextStart,
TopLevelBinding,
True,
Tuple,
TupleElements,
TupleElementsOpt,
TupleElementsTail,
TupleElementsTailOpt,
TupleIndex,
TupleOpt,
Value,
ValueBinding,
Ws,
Root,
}Variants§
Array
ArrayBegin
ArrayElements
ArrayElementsOpt
ArrayElementsTail
ArrayElementsTailOpt
ArrayEnd
ArrayMarker
ArrayMarkerOpt
ArrayOpt
At
Backtick2
Backtick3
Backtick4
Backtick5
BacktickDelim
Begin
Bind
Binding
BindingRhs
BlockBody
Boolean
CodeBlock
CodeBlock3
CodeBlock3List
CodeBlock3ListGroup
CodeBlock4
CodeBlock4List
CodeBlock4ListGroup
CodeBlock5
CodeBlock5List
CodeBlock5ListGroup
CodeBlock6
CodeBlock6List
CodeBlock6ListGroup
CodeBlockEnd3
CodeBlockEnd4
CodeBlockEnd5
CodeBlockEnd6
CodeBlockStart3
CodeBlockStart4
CodeBlockStart5
CodeBlockStart6
Comma
Continue
DelimCode
DelimCode1
DelimCode1List
DelimCode1ListGroup
DelimCode2
DelimCode2List
DelimCode2ListGroup
DelimCode3
DelimCode3List
DelimCode3ListGroup
DelimCodeEnd1
DelimCodeEnd2
DelimCodeEnd3
DelimCodeStart1
DelimCodeStart2
DelimCodeStart3
Dot
DotKey
End
Eure
EureList
EureList0
EureOpt
Ext
ExtensionNameSpace
False
FirstKey
FlatBody
FlatBodyList
FlatRootBinding
Float
GrammarNewline
Hole
Ident
Inf
InlineCode
InlineCode1
Integer
Key
KeyIdent
KeyTail
KeyTuple
KeyTupleElements
KeyTupleElementsOpt
KeyTupleElementsTail
KeyTupleElementsTailOpt
KeyTupleOpt
KeyValue
Keys
KeysList
LParen
LitStr
LitStr1
LitStr1End
LitStr1List
LitStr1ListGroup
LitStr1Start
LitStr2
LitStr2End
LitStr2List
LitStr2ListGroup
LitStr2Start
LitStr3
LitStr3End
LitStr3List
LitStr3ListGroup
LitStr3Start
MapBind
NaN
NewlineBind
NewlineHead
NewlineHeadOpt
NewlineTextStart
NoBacktick
NoSQuote
Null
Number
Object
ObjectList
ObjectOpt
ObjectOpt0
ObjectOpt1
RParen
RootBinding
RootTextBinding
RootTextBindingOpt
RootTextBindingOpt0
RootTextBindingOpt1
RootValueBinding
SQuote
Section
SectionBinding
SectionBody
SectionBodyOpt
SectionHead
Str
String
Strings
StringsList
Text
TextBinding
TextBindingOpt
TextBindingOpt0
TextBindingOpt1
TextStart
TopLevelBinding
True
Tuple
TupleElements
TupleElementsOpt
TupleElementsTail
TupleElementsTailOpt
TupleIndex
TupleOpt
Value
ValueBinding
Ws
Root
Implementations§
Source§impl NonTerminalKind
impl NonTerminalKind
pub fn from_non_terminal_name(name: &str) -> Self
Trait Implementations§
Source§impl Clone for NonTerminalKind
impl Clone for NonTerminalKind
Source§fn clone(&self) -> NonTerminalKind
fn clone(&self) -> NonTerminalKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NonTerminalKind
impl Debug for NonTerminalKind
Source§impl Display for NonTerminalKind
impl Display for NonTerminalKind
Source§impl Hash for NonTerminalKind
impl Hash for NonTerminalKind
Source§impl Ord for NonTerminalKind
impl Ord for NonTerminalKind
Source§fn cmp(&self, other: &NonTerminalKind) -> Ordering
fn cmp(&self, other: &NonTerminalKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NonTerminalKind
impl PartialEq for NonTerminalKind
Source§impl PartialOrd for NonTerminalKind
impl PartialOrd for NonTerminalKind
impl Copy for NonTerminalKind
impl Eq for NonTerminalKind
impl StructuralPartialEq for NonTerminalKind
Auto Trait Implementations§
impl Freeze for NonTerminalKind
impl RefUnwindSafe for NonTerminalKind
impl Send for NonTerminalKind
impl Sync for NonTerminalKind
impl Unpin for NonTerminalKind
impl UnwindSafe for NonTerminalKind
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