Re-exports§
pub use context::NargoContext;pub use document::Document;pub use document::DocumentMeta;pub use document::FrontMatter;pub use errors::Error;pub use errors::ErrorKind;pub use errors::Result;
Modules§
Structs§
- Bridge
Field - 用于 TypeScript 生成的桥接字段信息
- Bridge
Type - 用于 TypeScript 生成的桥接类型信息
- Code
Writer - 代码生成器
- Compile
Options - 编译选项
- Cursor
- 源代码解析游标
- Nargo
Block - Nargo 文件中的代码块
- Nargo
File - Nargo 文件结构
- Position
- 源代码中的具体位置
- Route
- 单个路由配置
- Router
Config - 路由配置
- Span
- 源代码中一段文本的位置范围
Enums§
- Compile
Mode - 编译模式
- Nargo
Value - Nargo 值类型
Traits§
- Type
Bridge - 可以桥接到 TypeScript 的类型 trait
Functions§
- is_
alphabetic - 判断字符是否为字母或下划线或美元符号
- is_
alphanumeric - 判断字符是否为字母数字或下划线或美元符号
- is_
pos_ in_ span - 判断位置是否在指定的范围内
- is_
void_ element - 判断 HTML 标签是否为自闭合标签