MCPcopy Index your code
hub / github.com/RustPython/RustPython / indent

Function indent

wasm/notebook/src/editor.js:40–43  ·  view source on GitHub ↗
(state, textAfter, line)

Source from the content-addressed store, hash-verified

38 return mode.token(stream, modeState);
39 },
40 indent(state, textAfter, line) {
41 const { mode, modeState } = state;
42 if (mode.indent) return mode.indent(modeState, textAfter, line);
43 },
44 innerMode(state) {
45 const { mode, modeState } = state;
46 return { mode, state: modeState };

Callers

nothing calls this directly

Calls 1

indentMethod · 0.45

Tested by

no test coverage detected