UNPKG

@adguard/agtree

Version:
19 lines (17 loc) 692 B
/* * AGTree v3.2.2 (build date: Tue, 08 Jul 2025 13:39:47 GMT) * (c) 2025 Adguard Software Ltd. * Released under the MIT license * https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme */ /** * @file Error messages for CSS token stream and balancer. */ const END_OF_INPUT = 'end of input'; const ERROR_MESSAGES = { EXPECTED_ANY_TOKEN_BUT_GOT: "Expected a token, but got '%s'", EXPECTED_TOKEN_BUT_GOT: "Expected '%s', but got '%s'", EXPECTED_TOKEN_WITH_BALANCE_BUT_GOT: "Expected '%s' with balance '%d', but got '%d'", EXPECTED_TOKEN_WITH_VALUE_BUT_GOT: "Expected '%s' with value '%s', but got '%s'", }; export { END_OF_INPUT, ERROR_MESSAGES };