parser work
This commit is contained in:
@@ -20,7 +20,8 @@ elem table : globalTableFormatting {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
meta globalTableFormatting : {
|
meta globalTableFormatting {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
**meta is a keyword specifying that the next token will contain some subset of the data that an elem that needs to render.**
|
**meta is a keyword specifying that the next token will contain some subset of the data that an elem that needs to render.**
|
||||||
|
|||||||
@@ -5,3 +5,12 @@ elem table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
elem table {
|
||||||
|
elem tr {
|
||||||
|
|
||||||
|
}
|
||||||
|
elem tr {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,12 @@ pub enum ElementGraph {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub struct ElemBuilder();
|
||||||
|
|
||||||
|
impl ElemBuilder {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// ENTRY
|
// ENTRY
|
||||||
pub fn parse_script<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, ScriptMeta, E> {
|
pub fn parse_script<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, ScriptMeta, E> {
|
||||||
println!("Full input string : {:?}\n", input);
|
println!("Full input string : {:?}\n", input);
|
||||||
@@ -60,9 +66,6 @@ pub fn parse_script<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a s
|
|||||||
)(remaining_str);
|
)(remaining_str);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
remaining_str = match_type.unwrap().0;
|
remaining_str = match_type.unwrap().0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user