MCPcopy
hub / github.com/pandao/editor.md / pushlex

Function pushlex

lib/codemirror/mode/rust/rust.js:152–160  ·  view source on GitHub ↗
(type, info)

Source from the content-addressed store, hash-verified

150 }
151
152 function pushlex(type, info) {
153 var result = function() {
154 var state = cx.state;
155 state.lexical = {indented: state.indented, column: cx.stream.column(),
156 type: type, prev: state.lexical, info: info};
157 };
158 result.lex = true;
159 return result;
160 }
161 function poplex() {
162 var state = cx.state;
163 if (state.lexical.prev) {

Callers 15

stat_ofFunction · 0.70
blockFunction · 0.70
expressionFunction · 0.70
exprbraceFunction · 0.70
fndefFunction · 0.70
enumdefFunction · 0.70
enumblockFunction · 0.70
modFunction · 0.70
ifaceFunction · 0.70
implFunction · 0.70
rtypeFunction · 0.70
fntypeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…