pub struct KotlinCode { /* private fields */ }Trait Implementations§
Source§impl Alterator for KotlinCode
impl Alterator for KotlinCode
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 KotlinCode
impl Cognitive for KotlinCode
Source§impl Cyclomatic for KotlinCode
impl Cyclomatic for KotlinCode
Source§impl Halstead for KotlinCode
impl Halstead for KotlinCode
Source§impl LanguageInfo for KotlinCode
impl LanguageInfo for KotlinCode
Source§impl Loc for KotlinCode
impl Loc for KotlinCode
Source§impl Mi for KotlinCode
impl Mi for KotlinCode
Auto Trait Implementations§
impl Freeze for KotlinCode
impl RefUnwindSafe for KotlinCode
impl Send for KotlinCode
impl Sync for KotlinCode
impl Unpin for KotlinCode
impl UnsafeUnpin for KotlinCode
impl UnwindSafe for KotlinCode
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