MCPcopy Create free account
hub / github.com/ReTeX/ReX / symbol

Function symbol

src/parser/engine.rs:242–268  ·  view source on GitHub ↗

Parse a symbol. Symbols can be found from a TeX command (like `\infty`) or from a character input. Note: there are some `char` inputs that don't work here. For instance, `{` will not be recognized here and will therefore result in an `None`. In particular a group should be parsed before a `symbol`.

(lex: &mut Lexer, local: Style)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

implicit_groupFunction · 0.70
expect_typeFunction · 0.70

Calls 3

required_argumentFunction · 0.85
codepoint_atom_typeFunction · 0.85
nextMethod · 0.80

Tested by

no test coverage detected