SYMBOL INDEX (239 symbols across 9 files) FILE: build.rs function main (line 1) | fn main() { FILE: src/lib.rs constant STAMP (line 26) | pub const STAMP: &'static str = "tango.stamp"; function set_lit_dir (line 38) | fn set_lit_dir(directory: String) { function set_src_dir (line 44) | fn set_src_dir(directory: String) { function get_lit_dir (line 51) | pub fn get_lit_dir() -> String { function get_src_dir (line 56) | pub fn get_src_dir() -> String { type Config (line 60) | pub struct Config { method new (line 67) | pub fn new() -> Config { method set_src_dir (line 74) | pub fn set_src_dir(&mut self, new_src_dir: String) -> &mut Config { method set_lit_dir (line 78) | pub fn set_lit_dir(&mut self, new_lit_dir: String) -> &mut Config { method emit_rerun_if (line 82) | pub fn emit_rerun_if(&mut self) -> &mut Config { type Error (line 91) | pub enum Error { method from (line 116) | fn from(e: md2rs::Exception) -> Self { method fmt (line 125) | fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result { method from (line 162) | fn from(e: io::Error) -> Self { method from (line 168) | fn from(e: walkdir::Error) -> Self { method fmt (line 458) | fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result { type Warning (line 100) | pub enum Warning { method fmt (line 105) | fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result { method source (line 148) | fn source(&self) -> Option<&(dyn ErrorTrait + 'static)> { type Result (line 173) | pub type Result = std::result::Result; type mtime (line 176) | pub type mtime = Timestamp; type MtimeResult (line 179) | enum MtimeResult { type Mtime (line 184) | trait Mtime { fn modified(&self) -> Result; } method modified (line 184) | fn modified(&self) -> Result; method modified (line 186) | fn modified(&self) -> Result { method modified (line 198) | fn modified(&self) -> Result { method modified (line 204) | fn modified(&self) -> Result { method modified (line 214) | fn modified(&self) -> Result { function process_root_with_config (line 224) | pub fn process_root_with_config(config: Config) -> Result<()> { function process_root (line 241) | pub fn process_root() -> Result<()> { function process_with_stamp (line 277) | fn process_with_stamp(stamp: File, emit_rerun_if: bool) -> Result<()> { function process_without_stamp (line 295) | fn process_without_stamp(emit_rerun_if: bool) -> Result<()> { type RsPath (line 310) | struct RsPath(PathBuf); type Target (line 340) | type Target = Path; method deref (line 340) | fn deref(&self) -> &Path { &self.0 } method new (line 354) | fn new(p: PathBuf) -> RsPath { method to_md (line 358) | fn to_md(&self) -> MdPath { type MdPath (line 312) | struct MdPath(PathBuf); type Target (line 344) | type Target = Path; method deref (line 344) | fn deref(&self) -> &Path { &self.0 } method new (line 371) | fn new(p: PathBuf) -> MdPath { method to_rs (line 375) | fn to_rs(&self) -> RsPath { type Context (line 315) | struct Context { method new (line 515) | fn new(opt_stamp: Option) -> Result { method check_transform (line 537) | fn check_transform(&self, t: &Transform) -> check::Result<... method report_dir (line 629) | fn report_dir(&self, p: &Path) -> Result<()> { method update_newest_time (line 643) | fn update_newest_time(&mut self, new_time: mtime) { method push_src (line 653) | fn push_src(&mut self, t: Transform) { method push_lit (line 657) | fn push_lit(&mut self, t: Transform) { method gather_inputs (line 662) | fn gather_inputs(&mut self) -> Result<()> { method generate_content (line 787) | fn generate_content(&mut self) -> Result<()> { method check_input_timestamps (line 829) | fn check_input_timestamps(&mut self) -> Result<()> { method create_stamp (line 854) | fn create_stamp(&mut self) -> Result<()> { method adjust_stamp_timestamp (line 858) | fn adjust_stamp_timestamp(&mut self) -> Result<()> { type Extensions (line 323) | trait Extensions { method extension (line 324) | fn extension(&self) -> Option<&str>; method rs_extension (line 325) | fn rs_extension(&self) -> bool { method md_extension (line 328) | fn md_extension(&self) -> bool { method extension (line 334) | fn extension(&self) -> Option<&str> { function check_path (line 347) | fn check_path(typename: &str, p: &Path, ext: &str, root: &str) { type Transforms (line 387) | trait Transforms: Sized + Mtime + fmt::Debug { method target (line 391) | fn target(&self) -> Self::Target; method transform (line 396) | fn transform(self) -> Result> { type Target (line 423) | type Target = MdPath; method target (line 424) | fn target(&self) -> MdPath { self.to_md() } type Target (line 428) | type Target = RsPath; method target (line 429) | fn target(&self) -> RsPath { self.to_rs() } type Transform (line 433) | pub struct Transform { type PathTransform (line 447) | pub type PathTransform = Transform; type ErrorKind (line 449) | pub enum ErrorKind { type Error (line 455) | pub struct Error(ErrorKind, PathTransform); method from (line 116) | fn from(e: md2rs::Exception) -> Self { method fmt (line 125) | fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result { method from (line 162) | fn from(e: io::Error) -> Self { method from (line 168) | fn from(e: walkdir::Error) -> Self { method fmt (line 458) | fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result { method description (line 479) | fn description(&self) -> &str { type Result (line 496) | pub type Result = result::Result; function error (line 501) | pub fn error(&self, kind: ErrorKind) -> Error { type TransformNeed (line 512) | enum TransformNeed { Needed, Unneeded, } function rs2md (line 873) | fn rs2md(source: R, target: W) -> Result<()> { function md2rs (line 878) | fn md2rs(source: R, target: W) -> Result<()> { function encode_to_url (line 887) | fn encode_to_url(code: &str) -> String { FILE: src/main.rs function main (line 5) | pub fn main() { FILE: src/md2rs.rs type Converter (line 3) | pub struct Converter { method new (line 15) | pub fn new() -> Converter { method convert (line 37) | pub fn convert(mut self, r:R, mut w:W) -> Res... method handle (line 50) | pub fn handle(&mut self, line: &str, w: &mut dyn Write) -> io::Result<... method meta_note (line 114) | pub fn meta_note(&mut self, note: &str, w: &mut dyn Write) -> io::Resu... method name_block (line 119) | pub fn name_block(&mut self, _line: &str, name: &str, w: &mut dyn Writ... method nonblank_line (line 124) | pub fn nonblank_line(&mut self, line: &str, w: &mut dyn Write) -> io::... method blank_line (line 151) | fn blank_line(&mut self, _w: &mut dyn Write) -> io::Result<()> { method finish_section (line 164) | fn finish_section(&mut self, w: &mut dyn Write) -> io::Result<()> { method transition (line 172) | fn transition(&mut self, w: &mut dyn Write, s: State) -> io::Result<()> { type State (line 13) | enum State { MarkdownBlank, MarkdownText, MarkdownMeta, Rust, } type Exception (line 25) | pub enum Exception { method from (line 31) | fn from(e: io::Error) -> Self { FILE: src/rs2md.rs type Converter (line 5) | pub struct Converter { method new (line 14) | pub fn new() -> Converter { method convert (line 39) | pub fn convert(&mut self, r:R, mut w:W) -> io... method finalize (line 48) | pub fn finalize(&mut self, w: &mut dyn Write) -> io::Result<()> { method handle (line 58) | pub fn handle(&mut self, line: &str, w: &mut dyn Write) -> io::Result<... method emit_named_code (line 130) | fn emit_named_code(&mut self, name: &str, w: &mut dyn Write) -> io::Re... method set_meta_note (line 134) | fn set_meta_note(&mut self, note: &str) { method effect (line 141) | fn effect(&mut self, _c: EffectContext, e: Effect, w: &mut dyn Write) ... method nonblank_line (line 165) | fn nonblank_line(&mut self, line: &str, w: &mut dyn Write) -> io::Resu... method blank_line (line 176) | fn blank_line(&mut self, _w: &mut dyn Write) -> io::Result<()> { method finish_section (line 184) | fn finish_section(&mut self, _w: &mut dyn Write) -> io::Result<()> { method transition (line 188) | fn transition(&mut self, w: &mut dyn Write, s: State) -> io::Result<()> { type State (line 12) | enum State { MarkdownFirstLine, MarkdownLines, Rust, } type Effect (line 23) | enum Effect<'a> { type EffectContext (line 32) | enum EffectContext<'a> { FILE: src/testing/mod.rs type DifferingLines (line 4) | struct DifferingLines<'a> { type ComparisonResult (line 11) | enum ComparisonResult<'a> { function compare_lines (line 18) | fn compare_lines<'a>(a: &'a str, b: &'a str) -> ComparisonResult<'a> { function panic_if_different (line 77) | fn panic_if_different<'a>(name_a: &str, a: &'a str, name_b: &str, b: &'a... function core_test_md2rs (line 106) | fn core_test_md2rs(md: &str, rs: &str) { function warn_test_md2rs (line 114) | fn warn_test_md2rs(md: &str, rs: &str) { function core_test_rs2md (line 126) | fn core_test_rs2md(rs: &str, md: &str) { function test_onetext_md2rs (line 134) | fn test_onetext_md2rs() { function test_onetext_rs2md (line 140) | fn test_onetext_rs2md() { function test_onerust_md2rs (line 146) | fn test_onerust_md2rs() { function test_onerust_rs2md (line 152) | fn test_onerust_rs2md() { function test_hello_md2rs (line 158) | fn test_hello_md2rs() { function test_hello_rs2md (line 163) | fn test_hello_rs2md() { function test_hello2_md2rs (line 168) | fn test_hello2_md2rs() { function test_hello2_rs2md (line 173) | fn test_hello2_rs2md() { function test_hello3_md2rs (line 178) | fn test_hello3_md2rs() { function test_hello3_rs2md (line 183) | fn test_hello3_rs2md() { function test_hello4_md2rs (line 188) | fn test_hello4_md2rs() { function test_hello4_rs2md (line 193) | fn test_hello4_rs2md() { function test_prodigal5_md2rs (line 198) | fn test_prodigal5_md2rs() { function test_prodigal5return_md2rs (line 203) | fn test_prodigal5return_md2rs() { function test_hello6_metadata_md2rs (line 208) | fn test_hello6_metadata_md2rs() { function test_hello6_metadata_rs2md (line 214) | fn test_hello6_metadata_rs2md() { function test_hello7_link_to_play_md2rs (line 220) | fn test_hello7_link_to_play_md2rs() { function test_hello7_link_to_play_rs2md (line 226) | fn test_hello7_link_to_play_rs2md() { function test_hello8_link_to_play_md2rs (line 232) | fn test_hello8_link_to_play_md2rs() { function test_hello8_link_to_play_rs2md (line 238) | fn test_hello8_link_to_play_rs2md() { function test_hello9_link_to_play_md2rs_warn (line 244) | fn test_hello9_link_to_play_md2rs_warn() { function test_hello10_link_to_play_eq_md2rs (line 250) | fn test_hello10_link_to_play_eq_md2rs() { function test_hello10_link_to_play_eq_rs2md (line 256) | fn test_hello10_link_to_play_eq_rs2md() { function test_hello11_link_to_play_md2rs (line 262) | fn test_hello11_link_to_play_md2rs() { function test_hello11_link_to_play_rs2md (line 268) | fn test_hello11_link_to_play_rs2md() { function test_hello12_link_to_play_md2rs (line 274) | fn test_hello12_link_to_play_md2rs() { function test_hello12_link_to_play_rs2md (line 280) | fn test_hello12_link_to_play_rs2md() { FILE: src/testing/test_snippets.rs constant ONE_TEXT_LINE_RS (line 1) | pub const ONE_TEXT_LINE_RS: &'static str = "//@ This is a demo without c... constant ONE_TEXT_LINE_MD (line 2) | pub const ONE_TEXT_LINE_MD: &'static str = "This is a demo without code."; constant ONE_RUST_LINE_RS (line 4) | pub const ONE_RUST_LINE_RS: &'static str = r#"fn main() { println!("one ... constant ONE_RUST_LINE_MD (line 6) | pub const ONE_RUST_LINE_MD: &'static str = r#"```rust constant HELLO_RS (line 11) | pub const HELLO_RS: &'static str = r#"//@ # Hello World constant HELLO_MD (line 19) | pub const HELLO_MD: &'static str = r#"# Hello World constant HELLO2_RS (line 29) | pub const HELLO2_RS: &'static str = r#"//@ # Hello World constant HELLO2_MD (line 38) | pub const HELLO2_MD: &'static str = r#"# Hello World constant HELLO3_RS (line 49) | pub const HELLO3_RS: &'static str = r#" constant HELLO3_MD (line 63) | pub const HELLO3_MD: &'static str = r#" constant HELLO4_MD (line 81) | pub const HELLO4_MD: &'static str = r#"# Hello World constant HELLO4_RS (line 87) | pub const HELLO4_RS: &'static str = r#"//@ # Hello World constant PRODIGAL5_MD (line 93) | pub const PRODIGAL5_MD: &'static str = r#"# Hello World constant HARVEST5_RS (line 102) | pub const HARVEST5_RS: &'static str = r#"//@ # Hello World constant RETURN5_MD (line 109) | pub const RETURN5_MD: &'static str = r#"# Hello World constant HELLO6_METADATA_MD (line 118) | pub const HELLO6_METADATA_MD: &'static str = r#"# Hello World constant HELLO6_METADATA_RS (line 125) | pub const HELLO6_METADATA_RS: &'static str = r#"//@ # Hello World constant HELLO7_LINK_TO_PLAY_MD (line 131) | pub const HELLO7_LINK_TO_PLAY_MD: &'static str = r#"# Hello World constant HELLO7_LINK_TO_PLAY_RS (line 139) | pub const HELLO7_LINK_TO_PLAY_RS: &'static str = r#"//@ # Hello World constant HELLO8_LINK_TO_PLAY_MD (line 145) | pub const HELLO8_LINK_TO_PLAY_MD: &'static str = r#"# Hello World constant HELLO8_LINK_TO_PLAY_RS (line 154) | pub const HELLO8_LINK_TO_PLAY_RS: &'static str = r#"//@ # Hello World constant HELLO9_LINK_TO_PLAY_MD_WARN (line 161) | pub const HELLO9_LINK_TO_PLAY_MD_WARN: &'static str = r#"# Hello World constant HELLO9_LINK_TO_PLAY_RS (line 170) | pub const HELLO9_LINK_TO_PLAY_RS: &'static str = r#"//@ # Hello World constant HELLO10_LINK_TO_PLAY_EQ_MD (line 177) | pub const HELLO10_LINK_TO_PLAY_EQ_MD: &'static str = r#"# Hello World constant HELLO10_LINK_TO_PLAY_EQ_RS (line 185) | pub const HELLO10_LINK_TO_PLAY_EQ_RS: &'static str = r#"//@ # Hello World constant HELLO11_LINK_TO_PLAY_HTML_SEP_MD (line 191) | pub const HELLO11_LINK_TO_PLAY_HTML_SEP_MD: &'static str = r#"# Hello World constant HELLO11_LINK_TO_PLAY_HTML_SEP_RS (line 200) | pub const HELLO11_LINK_TO_PLAY_HTML_SEP_RS: &'static str = r#"//@ # Hell... constant HELLO12_LINK_TO_PLAY_MARKDOWN_FOLLOW_MD (line 207) | pub const HELLO12_LINK_TO_PLAY_MARKDOWN_FOLLOW_MD: &'static str = r#"# H... constant HELLO12_LINK_TO_PLAY_MARKDOWN_FOLLOW_RS (line 217) | pub const HELLO12_LINK_TO_PLAY_MARKDOWN_FOLLOW_RS: &'static str = r#"//@... FILE: src/timestamp.rs type Timestamped (line 8) | pub trait Timestamped { method timestamp (line 9) | fn timestamp(&self) -> Timestamp; method timestamp (line 149) | fn timestamp(&self) -> Timestamp { type Timestamp (line 13) | pub struct Timestamp { pub secs: u64, pub nsecs: u64 } method new (line 21) | pub fn new(secs: u64, ns: u64) -> Timestamp { method to_filetime (line 24) | pub fn to_filetime(&self) -> FileTime { method to_ms (line 28) | pub fn to_ms(&self) -> u64 { method set_file_times (line 31) | pub fn set_file_times>(&self, p: P) -> io::Result<()> { method date_fulltime_badly (line 35) | pub fn date_fulltime_badly(&self) -> String { method eq (line 117) | fn eq(&self, other: &u64) -> bool { method eq (line 123) | fn eq(&self, other: &i64) -> bool { method partial_cmp (line 134) | fn partial_cmp(&self, other: &u64) -> Option { method partial_cmp (line 140) | fn partial_cmp(&self, other: &Timestamp) -> Option { function Timestamp (line 16) | pub fn Timestamp(ms: u64) -> Timestamp { method new (line 21) | pub fn new(secs: u64, ns: u64) -> Timestamp { method to_filetime (line 24) | pub fn to_filetime(&self) -> FileTime { method to_ms (line 28) | pub fn to_ms(&self) -> u64 { method set_file_times (line 31) | pub fn set_file_times>(&self, p: P) -> io::Result<()> { method date_fulltime_badly (line 35) | pub fn date_fulltime_badly(&self) -> String { method eq (line 117) | fn eq(&self, other: &u64) -> bool { method eq (line 123) | fn eq(&self, other: &i64) -> bool { method partial_cmp (line 134) | fn partial_cmp(&self, other: &u64) -> Option { method partial_cmp (line 140) | fn partial_cmp(&self, other: &Timestamp) -> Option { function is_leap_year (line 87) | fn is_leap_year(gregorian_year: u64) -> bool { function secs_per_year (line 100) | fn secs_per_year(gregorian_year: u64) -> u64 { constant SECS_PER_LEAP_YEAR (line 108) | const SECS_PER_LEAP_YEAR: u64 = 366 * SECS_PER_DAY; constant SECS_PER_COMMON_YEAR (line 109) | const SECS_PER_COMMON_YEAR: u64 = 365 * SECS_PER_DAY; constant DAYS_PER_MONTH_IN_LEAP (line 110) | const DAYS_PER_MONTH_IN_LEAP: [u64; 12] = [31, 29, 31, 30, 31, 30, 31, 3... constant DAYS_PER_MONTH_IN_COMMON (line 111) | const DAYS_PER_MONTH_IN_COMMON: [u64; 12] = [31, 28, 31, 30, 31, 30, 31,... constant SECS_PER_DAY (line 112) | const SECS_PER_DAY: u64 = 24 * SECS_PER_HOUR; constant SECS_PER_HOUR (line 113) | const SECS_PER_HOUR: u64 = 60 * SECS_PER_MIN; constant SECS_PER_MIN (line 114) | const SECS_PER_MIN: u64 = 60; FILE: tests/runner.rs constant BINARY_FILENAME (line 24) | const BINARY_FILENAME: &'static str = "tango"; constant PRESERVE_TEMP_DIRS (line 25) | const PRESERVE_TEMP_DIRS: bool = false; constant REPORT_DIR_CONTENTS (line 26) | const REPORT_DIR_CONTENTS: bool = false; constant REJECT_IF_TANGO_AFFECTS_STD_PORTS (line 28) | const REJECT_IF_TANGO_AFFECTS_STD_PORTS: bool = false; function out_path (line 30) | fn out_path() -> PathBuf { function infer_target_dir (line 38) | fn infer_target_dir() -> PathBuf { function infer_target_binary (line 55) | fn infer_target_binary() -> PathBuf { function within_temp_dir (line 63) | fn within_temp_dir(name: &str, f: F) -> X where F: FnOnce() -> X { function indent_at_newline (line 111) | fn indent_at_newline(s: &str) -> String { type UnwrapOrPanic (line 122) | trait UnwrapOrPanic { type X; fn unwrap_or_panic(self, msg: &str) -> Sel... method unwrap_or_panic (line 122) | fn unwrap_or_panic(self, msg: &str) -> Self::X; type X (line 124) | type X = X; method unwrap_or_panic (line 125) | fn unwrap_or_panic(self, s: &str) -> X { function setup_src_and_lit_dirs (line 132) | fn setup_src_and_lit_dirs() { type Target (line 147) | enum Target { Root, Src, Lit } method path_buf (line 150) | fn path_buf(&self, filename: &str) -> PathBuf { function create_file (line 167) | fn create_file(t: Target, filename: &str, content: &str, timestamp: Time... function touch_file (line 180) | fn touch_file(t: Target, filename: &str, timestamp: Timestamp) -> Result... constant HELLO_WORLD_RS (line 213) | const HELLO_WORLD_RS: &'static str = " constant HELLO_WORLD_MD (line 217) | const HELLO_WORLD_MD: &'static str = " constant HELLO_WORLD2_RS (line 223) | const HELLO_WORLD2_RS: &'static str = " constant HELLO_WORLD2_MD (line 227) | const HELLO_WORLD2_MD: &'static str = " constant TIME_A1 (line 241) | const TIME_A1: Timestamp = timestamp!(1000_000_000); constant TIME_A2 (line 242) | const TIME_A2: Timestamp = timestamp!(1000_100_000); constant TIME_A3 (line 243) | const TIME_A3: Timestamp = timestamp!(1000_200_000); constant TIME_B1 (line 244) | const TIME_B1: Timestamp = timestamp!(2000_000_000); constant TIME_B2 (line 245) | const TIME_B2: Timestamp = timestamp!(2000_100_000); constant TIME_B3 (line 246) | const TIME_B3: Timestamp = timestamp!(2000_200_000); constant TIME_C1 (line 247) | const TIME_C1: Timestamp = timestamp!(3000_000_000); constant TIME_C2 (line 248) | const TIME_C2: Timestamp = timestamp!(3000_100_000); constant TIME_C3 (line 249) | const TIME_C3: Timestamp = timestamp!(3000_200_000); type TangoRunError (line 252) | enum TangoRunError { method fmt (line 259) | fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result { method from (line 279) | fn from(e: io::Error) -> Self { function run_tango (line 284) | fn run_tango() -> Result<(), TangoRunError> { function report_dir_contents (line 320) | fn report_dir_contents(prefix: &str) { type Test (line 354) | struct Test { function framework (line 362) | fn framework(test: Test) -> Result<(), T... function unstamped_and_src_without_lit (line 424) | fn unstamped_and_src_without_lit() { function unstamped_and_lit_without_src (line 448) | fn unstamped_and_lit_without_src() { function stamp_and_src_without_lit (line 472) | fn stamp_and_src_without_lit() { function stamp_and_lit_without_src (line 497) | fn stamp_and_lit_without_src() { function stamped_then_touch_lit (line 521) | fn stamped_then_touch_lit() { function stamped_then_touch_src (line 555) | fn stamped_then_touch_src() { function stamped_then_update_src (line 591) | fn stamped_then_update_src() {