aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-24 15:53:02 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-24 15:53:02 -0700
commita3cd9347e6dfd435d3eb7b72395418091276e79c (patch)
tree99c99a3461d257e7a80379b66e983030f4de04ce /src
parent449c8b5f362835d75e5f98ccf89f99df5d7a2e88 (diff)
downloadbun-a3cd9347e6dfd435d3eb7b72395418091276e79c.tar.gz
bun-a3cd9347e6dfd435d3eb7b72395418091276e79c.tar.zst
bun-a3cd9347e6dfd435d3eb7b72395418091276e79c.zip
:scissors: Dead code
Diffstat (limited to 'src')
-rw-r--r--src/js_lexer.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig
index b6917ce84..43240deef 100644
--- a/src/js_lexer.zig
+++ b/src/js_lexer.zig
@@ -189,10 +189,6 @@ pub fn NewLexer(comptime json_options: JSONOptions) type {
// }
}
- pub fn codePointEql(self: *LexerType, a: u8) bool {
- return @intCast(CodePoint, a) == self.code_point;
- }
-
/// Look ahead at the next n codepoints without advancing the iterator.
/// If fewer than n codepoints are available, then return the remainder of the string.
fn peek(it: *LexerType, n: usize) string {