pub enum LustreLang {}Expand description
Marker, non-constructible type that implements rowan::Language for Lustre
Trait Implementations§
Source§impl Clone for LustreLang
impl Clone for LustreLang
Source§fn clone(&self) -> LustreLang
fn clone(&self) -> LustreLang
Returns a copy 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 LustreLang
impl Debug for LustreLang
Source§impl Hash for LustreLang
impl Hash for LustreLang
Source§impl Language for LustreLang
impl Language for LustreLang
type Kind = Token
fn kind_from_raw(raw: SyntaxKind) -> Self::Kind
fn kind_to_raw(kind: Self::Kind) -> SyntaxKind
Source§impl Ord for LustreLang
impl Ord for LustreLang
Source§fn cmp(&self, other: &LustreLang) -> Ordering
fn cmp(&self, other: &LustreLang) -> 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 LustreLang
impl PartialEq for LustreLang
Source§impl PartialOrd for LustreLang
impl PartialOrd for LustreLang
Source§impl RowanNomError<LustreLang> for ParserError
impl RowanNomError<LustreLang> for ParserError
Source§fn from_message(message: &str) -> Self
fn from_message(message: &str) -> Self
Generic error, should probably be ultimately removed
fn from_expected(position: usize, message: &str) -> Self
fn from_expected_eof(range: Range<usize>) -> Self
Source§fn from_unexpected_eof(position: usize) -> Self
fn from_unexpected_eof(position: usize) -> Self
Creates error: Attempted to read a token when there are none remaining
fn from_unexpected_token( span: Range<usize>, expected: Token, found: Token, ) -> Self
fn with_context(self, ctx: &'static str) -> Self
Source§impl RowanNomLanguage for LustreLang
impl RowanNomLanguage for LustreLang
impl Copy for LustreLang
impl Eq for LustreLang
impl StructuralPartialEq for LustreLang
Auto Trait Implementations§
impl Freeze for LustreLang
impl RefUnwindSafe for LustreLang
impl Send for LustreLang
impl Sync for LustreLang
impl Unpin for LustreLang
impl UnwindSafe for LustreLang
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