pub struct CssSyntaxFactory;Trait Implementations§
Source§impl Debug for CssSyntaxFactory
impl Debug for CssSyntaxFactory
Source§impl SyntaxFactory for CssSyntaxFactory
impl SyntaxFactory for CssSyntaxFactory
Source§type Kind = CssSyntaxKind
type Kind = CssSyntaxKind
The syntax kind used by the nodes constructed by this syntax factory.
Source§fn make_syntax(
kind: Self::Kind,
children: ParsedChildren<'_, Self::Kind>,
) -> RawSyntaxNode<Self::Kind>
fn make_syntax( kind: Self::Kind, children: ParsedChildren<'_, Self::Kind>, ) -> RawSyntaxNode<Self::Kind>
Creates a new syntax node of the passed
kind with the given children. Read moreSource§fn make_node_list_syntax<F>(
kind: Self::Kind,
children: ParsedChildren<'_, Self::Kind>,
can_cast: F,
) -> RawSyntaxNode<Self::Kind>
fn make_node_list_syntax<F>( kind: Self::Kind, children: ParsedChildren<'_, Self::Kind>, can_cast: F, ) -> RawSyntaxNode<Self::Kind>
Crates a node list syntax node. Validates if all elements are valid and changes the node’s kind to
SyntaxKind::to_bogus if that’s not the case.
Source§fn make_separated_list_syntax<F>(
kind: Self::Kind,
children: ParsedChildren<'_, Self::Kind>,
can_cast: F,
separator: Self::Kind,
allow_trailing: bool,
) -> RawSyntaxNode<Self::Kind>
fn make_separated_list_syntax<F>( kind: Self::Kind, children: ParsedChildren<'_, Self::Kind>, can_cast: F, separator: Self::Kind, allow_trailing: bool, ) -> RawSyntaxNode<Self::Kind>
Creates a separated list syntax node. Validates if the elements are valid, are correctly
separated by the specified separator token. Read more
Auto Trait Implementations§
impl Freeze for CssSyntaxFactory
impl RefUnwindSafe for CssSyntaxFactory
impl Send for CssSyntaxFactory
impl Sync for CssSyntaxFactory
impl Unpin for CssSyntaxFactory
impl UnwindSafe for CssSyntaxFactory
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