MCPcopy Index your code
hub / github.com/witheve/Eve / wordAsValue

Function wordAsValue

src/css.js:147–155  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

145 // Parser
146
147 function wordAsValue(stream) {
148 var word = stream.current().toLowerCase();
149 if (valueKeywords.hasOwnProperty(word))
150 override = "atom";
151 else if (colorKeywords.hasOwnProperty(word))
152 override = "keyword";
153 else
154 override = "variable";
155 }
156
157 var states = {};
158

Callers 1

css.jsFile · 0.85

Calls 1

currentMethod · 0.80

Tested by

no test coverage detected