MCPcopy Create free account
hub / github.com/davidkingzyb/SCAST / read_string

Function read_string

js/SCAST.js:137–147  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

135 return str;
136 }
137 function read_string(ch) {
138 return {
139 type: "str",
140 value: read_escaped(ch) ,
141 poi:{
142 line:start.line,
143 start:start.column,
144 end:input.poi().column
145 }
146 };
147 }
148 function skip_comment() {
149 read_while(function(ch){ return ch != "\n" });
150 input.next();

Callers 1

read_nextFunction · 0.70

Calls 1

read_escapedFunction · 0.70

Tested by

no test coverage detected