Initial commit
Includes: runtime base from a previous project, syn(tax) module with parser and lexer Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
11
runtime/src/obj/str.rs
Normal file
11
runtime/src/obj/str.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use crate::obj::prelude::*;
|
||||
use shredder::Scan;
|
||||
|
||||
#[derive(Debug, Scan)]
|
||||
pub struct Str {
|
||||
value: String,
|
||||
attrs: Attrs,
|
||||
}
|
||||
|
||||
impl_obj!(Str, attrs);
|
||||
|
||||
Reference in New Issue
Block a user