Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davechallis/erd-rs
/ functions
Functions
83 in github.com/davechallis/erd-rs
⨍
Functions
83
◇
Types & classes
15
↓ 11 callers
Function
ident
(i: &str)
src/parser.rs:297
↓ 10 callers
Function
attribute
(i: &str)
src/parser.rs:169
↓ 9 callers
Function
options
(i: &str)
src/parser.rs:269
↓ 8 callers
Method
merge_hashmap
(&mut self, m: &HashMap<String, String>)
src/ast.rs:111
↓ 7 callers
Function
parse_erd
(i: &'a str)
src/parser.rs:37
↓ 5 callers
Function
ident_quoted
(i: &str)
src/parser.rs:305
↓ 4 callers
Function
blank_or_comment
(i: &str)
src/parser.rs:121
↓ 4 callers
Function
entity
(i: &str)
src/parser.rs:147
↓ 4 callers
Function
global_option
(i: &str)
src/parser.rs:231
↓ 4 callers
Method
render_erd
(&mut self, erd: &ast::Erd)
src/render.rs:13
↓ 4 callers
Function
trailing_options
(i: &str)
src/parser.rs:259
↓ 3 callers
Method
attributes
(&mut self, name: &str, opts: &Vec<(&str, String)>)
src/render.rs:160
↓ 3 callers
Method
open_tag_attrs
(&mut self, tag: &str, attrs: &[(&str, String)])
src/render.rs:81
↓ 3 callers
Function
relation
(i: &str)
src/parser.rs:194
↓ 2 callers
Method
close_tag
(&mut self, tag: &str)
src/render.rs:89
↓ 2 callers
Method
graph_attributes
(&mut self, opts: &Vec<(&str, String)>)
src/render.rs:148
↓ 2 callers
Method
graph_footer
(&mut self)
src/render.rs:168
↓ 2 callers
Method
graph_header
(&mut self)
src/render.rs:54
↓ 2 callers
Function
ident_no_space
(i: &str)
src/parser.rs:314
↓ 2 callers
Function
new_entity
(name: S)
src/parser.rs:766
↓ 2 callers
Function
option
(i: &str)
src/parser.rs:251
↓ 2 callers
Function
print_usage_fatal
(prog: &str, opts: getopts::Options)
src/main.rs:78
↓ 1 callers
Method
add_attribute
(&mut self, attr: Attribute)
src/ast.rs:36
↓ 1 callers
Method
append
(_: I, _: ErrorKind, other: Self)
src/parser.rs:329
↓ 1 callers
Method
edge_attributes
(&mut self, opts: &Vec<(&str, String)>)
src/render.rs:156
↓ 1 callers
Method
entity
(&mut self, e: &ast::Entity)
src/render.rs:110
↓ 1 callers
Method
node_attributes
(&mut self, opts: &Vec<(&str, String)>)
src/render.rs:152
↓ 1 callers
Method
open_tag
(&mut self, tag: &str)
src/render.rs:77
↓ 1 callers
Function
print_usage
(prog: &str, opts: getopts::Options)
src/main.rs:73
↓ 1 callers
Method
relationship
(&mut self, r: &ast::Relation)
src/render.rs:93
↓ 1 callers
Method
render_attribute
(&mut self, a: &ast::Attribute)
src/render.rs:58
Function
cardinality
(i: &str)
src/parser.rs:219
Function
comment
(i: &str)
src/parser.rs:117
Method
default
()
src/ast.rs:130
Function
empty_graph
()
src/render.rs:186
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/ast.rs:78
Method
from_error_kind
(input: I, kind: ErrorKind)
src/parser.rs:325
Method
from_hashmap
(m: &HashMap<String, String>)
src/ast.rs:156
Function
main
()
src/main.rs:6
Function
multispace0_comment
(i: &str)
src/parser.rs:136
Function
multispace_comma0
(input: T)
src/parser.rs:125
Method
new
(w: W)
src/render.rs:9
Function
parse
(i: &'a str)
src/parser.rs:84
Function
quoted
(i: &str)
src/parser.rs:293
Function
render_file
()
src/render.rs:324
Function
simple
()
src/render.rs:250
Function
test_attribute_fk
()
src/parser.rs:468
Function
test_attribute_multiple_pk
()
src/parser.rs:457
Function
test_attribute_multiple_pk_fk
()
src/parser.rs:491
Function
test_attribute_pk
()
src/parser.rs:446
Function
test_attribute_pk_fk
()
src/parser.rs:479
Function
test_attribute_simple
()
src/parser.rs:439
Function
test_attribute_whitespace
()
src/parser.rs:503
Function
test_attribute_with_multiline_options
()
src/parser.rs:528
Function
test_attribute_with_multiline_options_trailing_comments
()
src/parser.rs:546
Function
test_attribute_with_options
()
src/parser.rs:513
Function
test_blank_or_comment_empty
()
src/parser.rs:375
Function
test_blank_or_comment_eol
()
src/parser.rs:385
Function
test_blank_or_comment_no_eol
()
src/parser.rs:380
Function
test_blank_or_comment_whitespace
()
src/parser.rs:390
Function
test_comments
()
src/parser.rs:395
Function
test_empty_graph_with_opts
()
src/render.rs:302
Function
test_entity_quoted
()
src/parser.rs:407
Function
test_entity_quoted_with_multiple_options
()
src/parser.rs:425
Function
test_entity_simple
()
src/parser.rs:400
Function
test_entity_with_option
()
src/parser.rs:414
Function
test_global_options
()
src/parser.rs:736
Function
test_ident
()
src/parser.rs:640
Function
test_ident_no_space
()
src/parser.rs:606
Function
test_ident_quoted
()
src/parser.rs:617
Function
test_option
()
src/parser.rs:675
Function
test_options
()
src/parser.rs:686
Function
test_options_multiline
()
src/parser.rs:724
Function
test_options_trailing_comma
()
src/parser.rs:709
Function
test_parse_empty
()
src/parser.rs:343
Function
test_parse_nfldb
()
src/parser.rs:367
Function
test_parse_simple
()
src/parser.rs:359
Function
test_parse_single_comment
()
src/parser.rs:351
Function
test_relation_one_oneplus
()
src/parser.rs:564
Function
test_relation_with_options
()
src/parser.rs:590
Function
test_relation_zeroplus_zeroone
()
src/parser.rs:577
Function
title_and_entity
()
src/render.rs:210
Method
with_field
(field: S)
src/ast.rs:50