Debian Codegraph @

rhino/testsrc/tests/ecma/Expressions/11.13.1.js

raw symbols SCIP
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 gTestfile = '11.13.1.js';
7
8 /**
9 File Name: 11.13.1.js
10 ECMA Section: 11.13.1 Simple assignment
11 Description:
12
13 11.13.1 Simple Assignment ( = )
14
15 The production AssignmentExpression :
16 LeftHandSideExpression = AssignmentExpression is evaluated as follows:
17
18 1. Evaluate LeftHandSideExpression.
19 2. Evaluate AssignmentExpression.
20 3. Call GetValue(Result(2)).
21 4. Call PutValue(Result(1), Result(3)).
22 5. Return Result(3).
23
24 Author: [email protected]
25 Date: 12 november 1997
26 */
27 var SECTION = "11.13.1";
28 var VERSION = "ECMA_1";
29 startTest();
30
31 writeHeaderToLog( SECTION + " Simple Assignment ( = )");
32
33 new TestCase( SECTION,
34 "SOMEVAR = true",
35 true,
36 SOMEVAR = true );
37
38 test();
39