From 0660dfd627879f46e5077417641bf646aa298111 Mon Sep 17 00:00:00 2001 From: Sebastian Engel Date: Sat, 1 Jan 2022 20:23:31 +0100 Subject: Modernize Whitespace token in lexer javascript --- .../nodejsrepl/nodejsrepl_test.nodejsrepl.output | 77 +++++++++++----------- 1 file changed, 39 insertions(+), 38 deletions(-) (limited to 'tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl.output') diff --git a/tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl.output b/tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl.output index 3e9ae5c0..c9b286ff 100644 --- a/tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl.output +++ b/tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl.output @@ -1,112 +1,113 @@ '' Text -'// Node.js REPL Session\n' Comment.Single +'// Node.js REPL Session' Comment.Single +'\n' Text.Whitespace '> ' Generic.Prompt 'let' Keyword.Declaration -' ' Text +' ' Text.Whitespace 'a' Name.Other -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '3' Literal.Number.Float -'\n' Text +'\n' Text.Whitespace 'undefined' Keyword.Constant -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'a' Name.Other -'\n' Text +'\n' Text.Whitespace '3' Literal.Number.Float -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'let' Keyword.Declaration -' ' Text +' ' Text.Whitespace 'b' Name.Other -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace "'4'" Literal.String.Single -'\n' Text +'\n' Text.Whitespace 'undefined' Keyword.Constant -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'b' Name.Other -'\n' Text +'\n' Text.Whitespace "'4'" Literal.String.Single -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'b' Name.Other -' ' Text +' ' Text.Whitespace '==' Operator -' ' Text +' ' Text.Whitespace 'a' Name.Other -'\n' Text +'\n' Text.Whitespace 'false' Keyword.Constant -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'b' Name.Other -' ' Text +' ' Text.Whitespace '===' Operator -' ' Text +' ' Text.Whitespace 'a' Name.Other -'\n' Text +'\n' Text.Whitespace 'false' Keyword.Constant -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'if' Keyword '(' Punctuation 'a' Name.Other ')' Punctuation -' ' Text +' ' Text.Whitespace '{' Punctuation -'\n' Text +'\n' Text.Whitespace '...' Generic.Prompt -' ' Text +' ' Text.Whitespace 'console' Name.Other '.' Punctuation 'log' Name.Other '(' Punctuation 'a' Name.Other ')' Punctuation -'\n' Text +'\n' Text.Whitespace '...' Generic.Prompt -' ' Text +' ' Text.Whitespace '}' Punctuation -'\n' Text +'\n' Text.Whitespace '3' Literal.Number.Float -'\n' Text +'\n' Text.Whitespace 'undefined' Keyword.Constant -'\n' Text +'\n' Text.Whitespace '> ' Generic.Prompt 'c' Name.Other -'\n' Text +'\n' Text.Whitespace 'Uncaught' Name.Other -' ' Text +' ' Text.Whitespace 'ReferenceError' Name.Exception ':' Operator -' ' Text +' ' Text.Whitespace 'c' Name.Other -' ' Text +' ' Text.Whitespace 'is' Name.Other -' ' Text +' ' Text.Whitespace 'not' Name.Other -' ' Text +' ' Text.Whitespace 'defined' Name.Other -'\n' Text +'\n' Text.Whitespace -- cgit v1.2.1