2022-01-16 20:31:50 +00:00
|
|
|
use crate::sql::error::IResult;
|
2022-01-13 17:36:41 +00:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
use std::fmt;
|
|
|
|
use std::str;
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, Default, Eq, PartialEq, PartialOrd, Serialize, Deserialize)]
|
|
|
|
pub struct Script {
|
|
|
|
pub value: String,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl fmt::Display for Script {
|
|
|
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
|
|
write!(f, "\"{}\"", self.value)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-23 13:20:00 +00:00
|
|
|
pub fn script(_: &str) -> IResult<&str, Script> {
|
|
|
|
unimplemented!()
|
2022-01-13 17:36:41 +00:00
|
|
|
}
|