pub struct CcommentCode { /* private fields */ }Trait Implementations§
Source§impl Alterator for CcommentCode
impl Alterator for CcommentCode
Source§fn alterate(
node: &Node<'_>,
code: &[u8],
span: bool,
children: Vec<AstNode>,
) -> AstNode
fn alterate( node: &Node<'_>, code: &[u8], span: bool, children: Vec<AstNode>, ) -> AstNode
Creates a new
AST node containing the code associated to the node,
its span, and its children. Read moreSource§fn get_text_span(
node: &Node<'_>,
code: &[u8],
span: bool,
text: bool,
) -> (String, Span)
fn get_text_span( node: &Node<'_>, code: &[u8], span: bool, text: bool, ) -> (String, Span)
Gets the code as text and the span associated to a node.
Source§impl Cognitive for CcommentCode
impl Cognitive for CcommentCode
Source§impl Cyclomatic for CcommentCode
impl Cyclomatic for CcommentCode
Source§impl Halstead for CcommentCode
impl Halstead for CcommentCode
Source§impl LanguageInfo for CcommentCode
impl LanguageInfo for CcommentCode
Source§impl Loc for CcommentCode
impl Loc for CcommentCode
Source§impl Mi for CcommentCode
impl Mi for CcommentCode
Auto Trait Implementations§
impl Freeze for CcommentCode
impl RefUnwindSafe for CcommentCode
impl Send for CcommentCode
impl Sync for CcommentCode
impl Unpin for CcommentCode
impl UnsafeUnpin for CcommentCode
impl UnwindSafe for CcommentCode
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