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

Method control_sequence

src/lexer.rs:142–165  ·  view source on GitHub ↗

Lex a control sequence. This method assumes that `self.pos` points to the first character after `\`. The cursor will advance through the control sequence name, and consume all whitespace proceeding. When complete `self.pos` will point to the first character of the next item to be lexed.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

nextMethod · 0.80

Calls 4

CommandEnum · 0.85
next_charMethod · 0.80
current_charMethod · 0.80

Tested by

no test coverage detected