Enum uml_parser::UMLToken
[−]
[src]
pub enum UMLToken { StartUML, EndUML, Note { position: String, text: String, }, Parallel { sequences: Vec<UMLTokens>, }, Message { from: String, to: String, text: Option<String>, colour: Option<String>, }, Participant { long_name: Option<String>, short_name: String, }, Activate { name: String, }, Deactivate { name: String, }, Loop { sequence: UMLTokens, count: u8, }, Include { file: String, sequence: UMLTokens, }, Box { name: String, sequence: UMLTokens, }, Destroy { name: String, }, Delay { text: String, }, Alt { sequences: Vec<UMLTokens>, }, }
Tokens that represent each of the elements of UML that are supported.
Variants
StartUML
EndUML
Note
Fields of Note
position: String | |
text: String |
Parallel
Fields of Parallel
sequences: Vec<UMLTokens> |
Message
Fields of Message
from: String | |
to: String | |
text: Option<String> | |
colour: Option<String> |
Participant
Fields of Participant
long_name: Option<String> | |
short_name: String |
Activate
Fields of Activate
name: String |
Deactivate
Fields of Deactivate
name: String |
Loop
Fields of Loop
sequence: UMLTokens | |
count: u8 |
Include
Fields of Include
file: String | |
sequence: UMLTokens |
Box
Fields of Box
name: String | |
sequence: UMLTokens |
Destroy
Fields of Destroy
name: String |
Delay
Fields of Delay
text: String |
Alt
Fields of Alt
sequences: Vec<UMLTokens> |
Trait Implementations
impl Display for UMLToken
[src]
impl Debug for UMLToken
[src]
impl Clone for UMLToken
[src]
fn clone(&self) -> UMLToken
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more