summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/AST.cpp
diff options
context:
space:
mode:
authorEmanuel Sprung <emanuel.sprung@gmail.com>2020-05-06 18:53:05 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-06 19:07:22 +0200
commit8fe821fae29e790f0a8fa0bc27d14547a316aaa3 (patch)
treeabf36d7abd58b97aa67f2d8f9a5b2755148d27c2 /Libraries/LibJS/AST.cpp
parentc7568943d9130ac8c8a0b00e592c1ead06cca55b (diff)
downloadserenity-8fe821fae29e790f0a8fa0bc27d14547a316aaa3.zip
AK: Add to_string() method to StringView
This allows easy creation of a new string from an existing StringView. Can be used e.g. for output with printf(..., view.to_string().characters()) instead of writing printf(..., String{view}.characters()).
Diffstat (limited to 'Libraries/LibJS/AST.cpp')
0 files changed, 0 insertions, 0 deletions