Lines Matching full:use
4 // you may not use this file except in compliance with the License.
39 check_syntax_error("'use strict'\nimplements")
40 check_syntax_error("'use strict'\n\\u0069mplements")
41 assert(eval("'use stric'\nimplements") === 0)
42 assert(eval("'use stric'\n\\u0069mplements") === 0)
44 check_syntax_error("'use strict'\nprivate")
45 check_syntax_error("'use strict'\n\\u0070rivate")
46 assert(eval("'use stric'\nprivate") === 1)
47 assert(eval("'use stric'\n\\u0070rivate") === 1)
49 check_syntax_error("'use strict'\npublic")
50 check_syntax_error("'use strict'\n\\u0070ublic")
51 assert(eval("'use stric'\npublic") === 2)
52 assert(eval("'use stric'\n\\u0070ublic") === 2)
54 check_syntax_error("'use strict'\ninterface")
55 check_syntax_error("'use strict'\n\\u0069nterface")
56 assert(eval("'use stric'\ninterface") === 3)
57 assert(eval("'use stric'\n\\u0069nterface") === 3)
59 check_syntax_error("'use strict'\npackage")
60 check_syntax_error("'use strict'\n\\u0070ackage")
61 assert(eval("'use stric'\npackage") === 4)
62 assert(eval("'use stric'\n\\u0070ackage") === 4)
64 check_syntax_error("'use strict'\nprotected")
65 check_syntax_error("'use strict'\n\\u0070rotected")
66 assert(eval("'use stric'\nprotected") === 5)
67 assert(eval("'use stric'\n\\u0070rotected") === 5)
69 check_syntax_error("'use strict'\nlet")
70 check_syntax_error("'use strict'\n\\u006cet")
71 assert(eval("'use stric'\nlet") === 6)
72 assert(eval("'use stric'\n\\u006cet") === 6)
74 check_syntax_error("'use strict'\nyield")
75 check_syntax_error("'use strict'\n\\u0079ield")
76 assert(eval("'use stric'\nyield") === 7)
77 assert(eval("'use stric'\n\\u0079ield") === 7)
79 check_syntax_error("'use strict'\nstatic")
80 check_syntax_error("'use strict'\n\\u0073tatic")
81 assert(eval("'use stric'\nstatic") === 8)
82 assert(eval("'use stric'\n\\u0073tatic") === 8)