MCPcopy Create free account

hub / github.com/PoiScript/orgize / functions

Functions431 in github.com/PoiScript/orgize

Methodclocks
Returns an iterator of clock element affiliated with this headline ```rust use orgize::{Org, ast::Headline}; let org = Org::parse(r#"* TODO foo :LOG
src/ast/headline.rs:263
Methodclosed
Returns this headline's closed timestamp, or `None` if not set.
src/ast/headline.rs:183
Methodclosed
Returns closed timestamp ```rust use orgize::{ast::Planning, Org}; let s = Org::parse("* a\nCLOSED: <2019-04-08 Mon>") .first_node::<Planning>() .un
src/ast/planning.rs:60
Functioncloze_node
(input: Input)
src/syntax/cloze.rs:18
Functioncloze_node_base
(input: Input)
src/syntax/cloze.rs:22
Functioncomment_node_base
(input: Input)
src/syntax/comment.rs:15
Methodcompare
(&self, t: &'b str)
src/syntax/input.rs:108
Methodcompare_no_case
(&self, t: &'b str)
src/syntax/input.rs:113
Methodconfig
(&self)
src/org.rs:26
Methodcontent_end
Ending position of drawer content
src/ast/drawer.rs:78
Methodcontent_raw
Raw text of drawer content
src/ast/drawer.rs:133
Methodcontent_start
Beginning position of drawer content
src/ast/drawer.rs:66
Methodcounter
(&self)
src/ast/list.rs:111
Functiondayname
(i: Input)
src/syntax/timestamp.rs:72
Methoddeadline
Returns this headline's deadline timestamp, or `None` if not set.
src/ast/headline.rs:193
Methoddeadline
Returns deadline timestamp ```rust use orgize::{ast::Planning, Org}; let s = Org::parse("* a\nDEADLINE: <2019-04-08 Mon>") .first_node::<Planning>(
src/ast/planning.rs:20
Methoddefault
()
src/config.rs:64
Methodderef
(&self)
src/syntax/input.rs:62
Methodderef
(&self)
src/ast/mod.rs:161
Methoddescription_raw
Returns description raw string Returns empty string if this link doesn't contain description ```rust use orgize::{Org, ast::Link}; let link = Org::
src/ast/link.rs:82
Functiondocument_node_base
(input: Input)
src/syntax/document.rs:19
Functiondrawer_node_base
(input: Input)
src/syntax/drawer.rs:62
Methodduration
```rust use orgize::{Org, ast::Clock}; let clock = Org::parse("CLOCK: [2003-09-16 Tue 09:39]").first_node::<Clock>().unwrap(); assert!(clock.duration
src/ast/clock.rs:21
Functiondyn_block_node_base
(input: Input)
src/syntax/dyn_block.rs:16
Functionemphasis
()
tests/html.rs:4
Methodend
Ending position of this element
src/ast/cloze.rs:34
Methodend
Ending position of this element
src/ast/generated.rs:43
Methodend_header
```rust use orgize::{Org, ast::InlineCall}; let call = Org::parse("call_square[:results output](4)[:results html]").first_node::<InlineCall>().unwrap
src/ast/inline_call.rs:68
Methodeq
(&self, other: &&'a str)
src/ast/mod.rs:122
Methodevent
(&mut self, event: Event, ctx: &mut TraversalContext)
src/export/markdown.rs:50
Functionf
(input: Input)
src/syntax/keyword.rs:23
Methodfind_substring
(&self, substr: &str)
src/syntax/input.rs:101
Methodfinish
(self)
src/export/markdown.rs:38
Methodfirst_headline
(&self)
src/ast/generated.rs:57
Methodfirst_node
Returns the first node in org element tree in depth first order
src/org.rs:59
Functionfixed_width_node_base
(input: Input)
src/syntax/fixed_width.rs:16
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/ast/mod.rs:167
Methodfmt
(&self, f: &mut fmt::Formatter)
src/export/html.rs:25
Functionfn_ref_node_base
(input: Input)
src/syntax/fn_ref.rs:24
Methodfrom
(value: SyntaxKind)
src/syntax/mod.rs:238
Methodfrom
(value: (&'a str, &'a ParseConfig))
src/syntax/input.rs:68
Methodgit_hash
()
wasm/src/lib.rs:130
Methodgreen
(&self)
src/org.rs:22
Methodhash
(&self, state: &mut H)
src/ast/mod.rs:140
Methodheader
(&self)
src/ast/generated.rs:148
Functionheadline_keyword_token
(input: Input)
src/syntax/headline.rs:209
Functionheadline_node_base
(input: Input)
src/syntax/headline.rs:32
Functionheadline_priority_node
(input: Input)
src/syntax/headline.rs:221
Functionheadline_tags_node
(input: Input)
src/syntax/headline.rs:152
Methodheadlines
(&self)
src/ast/generated.rs:63
Methodhint
```rust use orgize::{Org, ast::Cloze}; let cloze = Org::parse("{{text}}").first_node::<Cloze>().unwrap(); assert!(cloze.hint().is_none()); let cloze
src/ast/cloze.rs:80
Methodhtml
(&self)
wasm/src/lib.rs:24
Methodid
```rust use orgize::{Org, ast::Cloze}; let cloze = Org::parse("{{text}}").first_node::<Cloze>().unwrap(); assert!(cloze.id().is_none()); let cloze =
src/ast/cloze.rs:101
Methodinput_len
(&self)
src/syntax/input.rs:120
Methodinside_header
```rust use orgize::{Org, ast::InlineCall}; let call = Org::parse("call_square[:results output](4)").first_node::<InlineCall>().unwrap(); assert_eq!(
src/ast/inline_call.rs:31
Methodis_active
```rust use orgize::{Org, ast::Timestamp}; let ts = Org::parse("<2003-09-16 Tue 09:39-10:39>").first_node::<Timestamp>().unwrap(); assert!(ts.is_acti
src/ast/timestamp.rs:37
Methodis_archived
Return `true` if this headline contains an archive tag ```rust use orgize::{Org, ast::Headline}; let hdl = Org::parse("* hello :ARCHIVE:").first_nod
src/ast/headline.rs:178
Methodis_commented
Return `true` if this headline contains a COMMENT keyword ```rust use orgize::{Org, ast::Headline}; let hdl = Org::parse("* COMMENT").first_node::<H
src/ast/headline.rs:152
Methodis_diary
```rust use orgize::{Org, ast::Timestamp}; let ts = Org::parse("<%%(org-calendar-holiday)>").first_node::<Timestamp>().unwrap(); assert!(ts.is_diary(
src/ast/timestamp.rs:61
Methodis_done
```rust use orgize::{Org, ast::Headline}; let hdl = Org::parse("* DONE a").first_node::<Headline>().unwrap(); assert!(hdl.is_done()); let hdl = Org::
src/ast/headline.rs:99
Methodis_element
whether this node is [element](https://orgmode.org/worg/org-syntax.html#Elements)
src/syntax/mod.rs:275
Methodis_inactive
```rust use orgize::{Org, ast::Timestamp}; let ts = Org::parse("[2003-09-16 Tue 09:39-10:39]").first_node::<Timestamp>().unwrap(); assert!(ts.is_inac
src/ast/timestamp.rs:51
Methodis_latex_math
Whether entity needs to be in math mode ```rust use orgize::{ast::Entity, Org}; let e = Org::parse("\\middot").first_node::<Entity>().unwrap(); asse
src/ast/entity.rs:63
Methodis_object
whether this node is [object](https://orgmode.org/worg/org-syntax.html#Objects)
src/syntax/mod.rs:245
Methodis_range
Returns `true` if this timestamp has a range ```rust use orgize::{Org, ast::Timestamp}; let ts = Org::parse("[2003-09-16 Tue 09:39-10:39]").first_no
src/ast/timestamp.rs:79
Methodis_running
```rust use orgize::{Org, ast::Clock}; let clock = Org::parse("CLOCK: [2003-09-16 Tue 09:39]").first_node::<Clock>().unwrap(); assert!(clock.is_runni
src/ast/clock.rs:55
Methodis_todo
```rust use orgize::{Org, ast::Headline}; let hdl = Org::parse("* TODO a").first_node::<Headline>().unwrap(); assert!(hdl.is_todo()); let hdl = Org::
src/ast/headline.rs:87
Methodis_true
(&self)
src/config.rs:16
Methodis_use_brackets
Entity contains optional brackets ```rust use orgize::{ast::Entity, Org}; let e = Org::parse("\\beta").first_node::<Entity>().unwrap(); assert!(!e.i
src/ast/entity.rs:161
Functionissue_15_16
()
src/syntax/headline.rs:327
Methoditer_elements
(&self)
src/syntax/input.rs:134
Methoditer_indices
(&self)
src/syntax/input.rs:130
Functionkey
(input: Input)
src/syntax/keyword.rs:127
Methodkey
```rust use orgize::{Org, ast::AffiliatedKeyword}; let keyword = Org::parse("#+CAPTION: VALUE\nabc").first_node::<AffiliatedKeyword>().unwrap(); asse
src/ast/affiliated_keyword.rs:13
Methodkey
```rust use orgize::{Org, ast::Keyword}; let keyword = Org::parse("#+KEY: VALUE\nabc").first_node::<Keyword>().unwrap(); assert_eq!(keyword.key(), "K
src/ast/keyword.rs:13
Functionkey_with_optional
( input: Input, )
src/syntax/keyword.rs:139
Methodkind_from_raw
(raw: rowan::SyntaxKind)
src/syntax/mod.rs:49
Methodkind_to_raw
(kind: SyntaxKind)
src/syntax/mod.rs:54
Methodlanguage
Language of the code ```rust use orgize::{Org, ast::InlineSrc}; let s = Org::parse("src_C{int a = 0;}").first_node::<InlineSrc>().unwrap(); assert_e
src/ast/inline_src.rs:16
Methodlast_headline
(&self)
src/ast/generated.rs:60
Methodlatex
Entity LaTeX representation ```rust use orgize::{ast::Entity, Org}; let e = Org::parse("\\middot").first_node::<Entity>().unwrap(); assert_eq!(e.lat
src/ast/entity.rs:43
Functionlatex_environment_node_base
(input: Input)
src/syntax/latex_environment.rs:23
Methodlatin1
Entity Latin1 encoding representation ```rust use orgize::{ast::Entity, Org}; let e = Org::parse("\\S").first_node::<Entity>().unwrap(); assert_eq!(
src/ast/entity.rs:119
Functionline_break
()
tests/html.rs:171
Functionlink
()
tests/html.rs:15
Methodlink_description
(input: Input)
src/syntax/object.rs:64
Functionlist
()
tests/html.rs:46
Functionlist_item_checkbox
(input: Input)
src/syntax/list.rs:173
Functionlist_item_counter
(input: Input)
src/syntax/list.rs:153
Functionlist_item_tag
(input: Input)
src/syntax/list.rs:199
Functionlist_node_base
(input: Input)
src/syntax/list.rs:32
Functionmain
()
wasm/build.rs:3
Functionmain
()
examples/parse.rs:10
Functionmain
()
examples/markdown.rs:8
Functionmain
()
examples/html-slugify.rs:14
Methodminimal
(input: Input)
src/syntax/object.rs:51
Methodname
Entity name ```rust use orgize::{ast::Entity, Org}; let e = Org::parse("\\alpha{}").first_node::<Entity>().unwrap(); assert_eq!(e.name(), "alpha");
src/ast/entity.rs:25
Methodname
(&self)
src/ast/generated.rs:151
Methodnew
(mut node: SyntaxNode<OrgLanguage>, range: TextRange)
src/replace.rs:20
Methodnew
(input: Input<'a>)
src/syntax/element.rs:118
← previousnext →201–300 of 431, ranked by callers