MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / printStringLiteral

Method printStringLiteral

src/LuaPrinter.ts:630–632  ·  view source on GitHub ↗
(expression: lua.StringLiteral)

Source from the content-addressed store, hash-verified

628 }
629
630 public printStringLiteral(expression: lua.StringLiteral): SourceNode {
631 return this.createSourceNode(expression, escapeString(expression.value));
632 }
633
634 public printNumericLiteral(expression: lua.NumericLiteral): SourceNode {
635 return this.createSourceNode(expression, String(expression.value));

Callers 1

printExpressionMethod · 0.95

Calls 2

createSourceNodeMethod · 0.95
escapeStringFunction · 0.85

Tested by

no test coverage detected