• Home
  • Raw
  • Download

Lines Matching full:add

32     it("test add 'none' variable to GlobalScope", function () {
34 let variable = scope.add("x", VarDeclarationKind.NONE);
42 it("test add 'var' variable to GlobalScope", function () {
44 let variable = scope.add("x", VarDeclarationKind.VAR);
52 it("test add 'let' variable to GlobalScope", function () {
54 let variable = scope.add("x", VarDeclarationKind.LET);
62 it("test add 'const' variable to GlobalScope", function () {
64 let variable = scope.add("x", VarDeclarationKind.CONST);
72 it("test add several variables to GlobalScope", function () {
74 let x = scope.add("x", VarDeclarationKind.LET);
75 let y = scope.add("y", VarDeclarationKind.NONE);
76 let z = scope.add("z", VarDeclarationKind.LET);
79 it("test add 'none' variable to FunctionScope", function () {
82 let variable = scope.add("x", VarDeclarationKind.NONE);
90 it("test add 'var' variable to FunctionScope", function () {
92 let variable = scope.add("x", VarDeclarationKind.VAR);
100 it("test add 'let' variable to FunctionScope", function () {
102 let variable = scope.add("x", VarDeclarationKind.LET);
110 it("test add 'const' variable to FunctionScope", function () {
112 let variable = scope.add("x", VarDeclarationKind.LET);
120 it("test add several variables to FunctionScope", function () {
123 let x = scope.add("x", VarDeclarationKind.LET);
124 let y = scope.add("y", VarDeclarationKind.NONE);
125 let z = scope.add("z", VarDeclarationKind.LET);
128 it("test add 'none' variable to LocalScope", function () {
131 let variable = scope.add("x", VarDeclarationKind.NONE);
140 it("test add 'var' variable to LocalScope", function () {
143 let variable = scope.add("x", VarDeclarationKind.VAR);
155 it("test add 'let' variable to LocalScope", function () {
158 let variable = scope.add("x", VarDeclarationKind.LET);
168 it("test add 'const' variable to LocalScope", function () {
171 let variable = scope.add("x", VarDeclarationKind.LET);
181 it("test add several variables to LocalScope", function () {
185 let x = scope.add("x", VarDeclarationKind.LET);
186 let y = scope.add("y", VarDeclarationKind.NONE);
187 let z = scope.add("z", VarDeclarationKind.LET);
219 let aV = func1Scope.add("a", VarDeclarationKind.LET);
220 let bV = func1Scope.add("b", VarDeclarationKind.VAR);