MCPcopy Index your code
hub / github.com/prettier/prettier / getValue

Method getValue

src/common/ast-path.js:98–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 // The value of the current property is always the final element of
97 // this.stack.
98 getValue() {
99 return this.stack.at(-1);
100 }
101
102 getNode(count = 0) {
103 const stackIndex = this.#getNodeStackIndex(count);

Callers 15

printFunction · 0.80
printFunction · 0.80
plugin.cjsFile · 0.80
plugin.cjsFile · 0.80
printFunction · 0.80
printFunction · 0.80
makePluginFunction · 0.80
ast-path.jsFile · 0.80
printFunction · 0.80
printCommentFunction · 0.80
printFunction · 0.80

Calls 1

atMethod · 0.80

Tested by 2

printFunction · 0.64
makePluginFunction · 0.64