Rename render to renderValue (#1964)
Motivation: preserve a possible API change to have `FormattingRenderer` extend `ValueRenderer`.
This commit is contained in:
1 parent
1f5c62ecef
commit
85b4a4669a
5 files changed
+35
-31
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ class FormattingRenderer {
|
||||
grammarVersion: "V1" | "V2" = "V2"
|
||||
|
||||
/// Render [node] as Pkl source code.
|
||||
external function render(node: Node): String
|
||||
external function renderValue(node: Node): String
|
||||
}
|
||||
|
||||
/// A generic, untyped node in the Pkl syntax tree.
|
||||
|
||||
Reference in new issue
Block a user