diff options
author | Emanuel Sprung <emanuel.sprung@gmail.com> | 2020-05-06 18:53:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-06 19:07:22 +0200 |
commit | 8fe821fae29e790f0a8fa0bc27d14547a316aaa3 (patch) | |
tree | abf36d7abd58b97aa67f2d8f9a5b2755148d27c2 /Libraries/LibJS/AST.cpp | |
parent | c7568943d9130ac8c8a0b00e592c1ead06cca55b (diff) | |
download | serenity-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