fn generate_string(&mut self, ast: &Ast, node: NodeId) -> ExpressionResult {
      self.chunk.emit(Opcode::PushString);
      let string = ast.string(node).unwrap();
      self.chunk.emit_string(string);
      ExpressionResult::Present
   }
/// Generates code for a string literal.
Generates code for a string literal.
Generates code for a string literal .
fn generate_string(&mut self, ast: &Ast, node: NodeId) -> ExpressionResult {
      self.chunk.emit(Opcode::PushString);
      let string = ast.string(node).unwrap();
      self.chunk.emit_string(string);
      ExpressionResult::Present
   }
fn generate_string ( & mut self , ast : & Ast , node : NodeId ) -> ExpressionResult { self . chunk . emit ( Opcode :: PushString ) ; let string = ast . string ( node ) . unwrap ( ) ; self . chunk . emit_string ( string ) ; ExpressionResult :: Present }
Generates code for a string literal.
Generates code for a string literal .
&mut self
ast
&Ast
node
NodeId