| 22 | |
| 23 | #[derive(Debug, Clone, PartialEq)] |
| 24 | pub struct RelationshipPattern { |
| 25 | pub variable: Option<String>, |
| 26 | pub roles: Roles, |
| 27 | pub relationship_type: String, |
| 28 | pub attributes: Attributes, |
| 29 | } |
| 30 | |
| 31 | pub fn parse_role(input: &str) -> IResult<&str, Role> { |
| 32 | map( |
no outgoing calls