pub struct Gs2Emitter { /* private fields */ }
Expand description
An emitter for the AST.
Implementations§
Source§impl Gs2Emitter
impl Gs2Emitter
Trait Implementations§
Source§impl AstVisitor for Gs2Emitter
impl AstVisitor for Gs2Emitter
Source§fn visit_node(&mut self, node: &AstKind)
fn visit_node(&mut self, node: &AstKind)
Visits an AstNode
Source§fn visit_statement(&mut self, stmt_node: &StatementNode)
fn visit_statement(&mut self, stmt_node: &StatementNode)
Visits a statement node.
Source§fn visit_expr(&mut self, node: &ExprKind)
fn visit_expr(&mut self, node: &ExprKind)
Visits an expression node.
Source§fn visit_assignable_expr(&mut self, node: &AssignableKind)
fn visit_assignable_expr(&mut self, node: &AssignableKind)
Visits an assignable expression node.
Source§fn visit_bin_op(&mut self, node: &BinaryOperationNode)
fn visit_bin_op(&mut self, node: &BinaryOperationNode)
Visits a binary operation node.
Source§fn visit_unary_op(&mut self, node: &UnaryOperationNode)
fn visit_unary_op(&mut self, node: &UnaryOperationNode)
Visits a unary operation node.
Source§fn visit_identifier(&mut self, node: &IdentifierNode)
fn visit_identifier(&mut self, node: &IdentifierNode)
Visits an identifier node.
Source§fn visit_literal(&mut self, node: &LiteralNode)
fn visit_literal(&mut self, node: &LiteralNode)
Visits a literal node.
Source§fn visit_member_access(&mut self, node: &MemberAccessNode)
fn visit_member_access(&mut self, node: &MemberAccessNode)
Visits a member access node.
Source§fn visit_meta(&mut self, node: &MetaNode)
fn visit_meta(&mut self, node: &MetaNode)
Visits a meta node.
Source§fn visit_function_call(&mut self, node: &FunctionCallNode)
fn visit_function_call(&mut self, node: &FunctionCallNode)
Visits a function call node.
Source§fn visit_function(&mut self, node: &FunctionNode)
fn visit_function(&mut self, node: &FunctionNode)
Visits a function node.
Source§fn visit_return(&mut self, node: &ReturnNode)
fn visit_return(&mut self, node: &ReturnNode)
Visits a return node.
Auto Trait Implementations§
impl Freeze for Gs2Emitter
impl RefUnwindSafe for Gs2Emitter
impl Send for Gs2Emitter
impl Sync for Gs2Emitter
impl Unpin for Gs2Emitter
impl UnwindSafe for Gs2Emitter
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