mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 18:51:13 +08:00
docs: 添加 Rustdoc 注释
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! 模板字符串域:普通/标签模板子模块与域分发 `emit_template_domain`。
|
||||
|
||||
use crate::{CompileCtx, Emitter};
|
||||
use oxide_parser::Expression;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! 标签模板表达式 emit:`emit_tagged_template_expression` 构造 template object 并调用标签函数。
|
||||
|
||||
use crate::{CompileCtx, Emitter};
|
||||
use oxide_ir::inst::Inst;
|
||||
use oxide_ir::operand::Operand;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
//! 模板字面量 emit:`emit_template_literal_expression` 生成 TEMPLATE_STR 指令
|
||||
//! 拼接字面量段与内插表达式。
|
||||
|
||||
use crate::{CompileCtx, Emitter};
|
||||
use oxide_ir::inst::Inst;
|
||||
use oxide_ir::operand::Operand;
|
||||
|
||||
Reference in New Issue
Block a user