{
"type": "Program",
"statements": [
{
"type": "ClassDeclaration",
"definition": {
"id": {
"type": "Identifier",
"name": "Bitops3BitBitsInByte",
"loc": {
"start": {
"line": 16,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 16,
"column": 34,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"superClass": null,
"implements": [],
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "fast3bitlookup",
"loc": {
"start": {
"line": 17,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 17,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"kind": "method",
"accessibility": "private",
"static": true,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "fast3bitlookup",
"loc": {
"start": {
"line": 17,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 17,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [
{
"type": "ETSParameterExpression",
"name": {
"type": "Identifier",
"name": "b",
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 17,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 17,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 33,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 17,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 33,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 17,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"returnType": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 17,
"column": 42,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 17,
"column": 45,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "c",
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 18,
"column": 12,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 18,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 18,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 18,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"init": null,
"loc": {
"start": {
"line": 18,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 18,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"kind": "let",
"loc": {
"start": {
"line": 18,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 18,
"column": 16,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "bi3b",
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 19,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 19,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 19,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 19,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"init": {
"type": "NumberLiteral",
"value": 59796,
"loc": {
"start": {
"line": 19,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 19,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 19,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 19,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"kind": "let",
"loc": {
"start": {
"line": 19,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 19,
"column": 28,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 20,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 6,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "&",
"left": {
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 20,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": ">>",
"left": {
"type": "Identifier",
"name": "bi3b",
"loc": {
"start": {
"line": 20,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "&",
"left": {
"type": "BinaryExpression",
"operator": "<<",
"left": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 20,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 25,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 1,
"loc": {
"start": {
"line": 20,
"column": 29,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 30,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 23,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 31,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 14,
"loc": {
"start": {
"line": 20,
"column": 34,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 22,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 20,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 20,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "+=",
"left": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 21,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 6,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "&",
"left": {
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 21,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": ">>",
"left": {
"type": "Identifier",
"name": "bi3b",
"loc": {
"start": {
"line": 21,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 19,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "&",
"left": {
"type": "BinaryExpression",
"operator": ">>",
"left": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 21,
"column": 25,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 2,
"loc": {
"start": {
"line": 21,
"column": 30,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 31,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 14,
"loc": {
"start": {
"line": 21,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 23,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 21,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 21,
"column": 40,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "+=",
"left": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 22,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 6,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "&",
"left": {
"type": "NumberLiteral",
"value": 3,
"loc": {
"start": {
"line": 22,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": ">>",
"left": {
"type": "Identifier",
"name": "bi3b",
"loc": {
"start": {
"line": 22,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 19,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "BinaryExpression",
"operator": "&",
"left": {
"type": "BinaryExpression",
"operator": ">>",
"left": {
"type": "Identifier",
"name": "b",
"loc": {
"start": {
"line": 22,
"column": 25,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 5,
"loc": {
"start": {
"line": 22,
"column": 30,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 31,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "NumberLiteral",
"value": 6,
"loc": {
"start": {
"line": 22,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 23,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 38,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 22,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 22,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ReturnStatement",
"argument": {
"type": "Identifier",
"name": "c",
"loc": {
"start": {
"line": 23,
"column": 12,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 23,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 23,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 23,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 17,
"column": 46,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 24,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 24,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 17,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 24,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 17,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 24,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ClassProperty",
"key": {
"type": "Identifier",
"name": "n1",
"loc": {
"start": {
"line": 26,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 26,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 500,
"loc": {
"start": {
"line": 26,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 26,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"accessibility": "private",
"static": false,
"readonly": false,
"declare": false,
"optional": false,
"computed": false,
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 26,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 26,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"definite": false,
"loc": {
"start": {
"line": 26,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 26,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ClassProperty",
"key": {
"type": "Identifier",
"name": "n2",
"loc": {
"start": {
"line": 27,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 27,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 256,
"loc": {
"start": {
"line": 27,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 27,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"accessibility": "private",
"static": false,
"readonly": false,
"declare": false,
"optional": false,
"computed": false,
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 27,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 27,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"definite": false,
"loc": {
"start": {
"line": 27,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 27,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ClassProperty",
"key": {
"type": "Identifier",
"name": "expected",
"loc": {
"start": {
"line": 28,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 28,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"value": {
"type": "NumberLiteral",
"value": 512000,
"loc": {
"start": {
"line": 28,
"column": 43,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 28,
"column": 49,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"accessibility": "private",
"static": true,
"readonly": true,
"declare": false,
"optional": false,
"computed": false,
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 28,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 28,
"column": 40,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"definite": false,
"loc": {
"start": {
"line": 28,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 28,
"column": 49,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "run",
"loc": {
"start": {
"line": 30,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 30,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"kind": "method",
"accessibility": "public",
"static": false,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "run",
"loc": {
"start": {
"line": 30,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 30,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"returnType": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 30,
"column": 17,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 30,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "sum",
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 31,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 31,
"column": 17,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 31,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 31,
"column": 12,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"init": {
"type": "NumberLiteral",
"value": 0,
"loc": {
"start": {
"line": 31,
"column": 20,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 31,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 31,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 31,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"kind": "let",
"loc": {
"start": {
"line": 31,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 31,
"column": 22,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ForUpdateStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "x",
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 32,
"column": 17,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 20,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 32,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"init": {
"type": "NumberLiteral",
"value": 0,
"loc": {
"start": {
"line": 32,
"column": 23,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 32,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"kind": "let",
"loc": {
"start": {
"line": 32,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 24,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 32,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "MemberExpression",
"object": {
"type": "ThisExpression",
"loc": {
"start": {
"line": 32,
"column": 30,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 34,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"property": {
"type": "Identifier",
"name": "n1",
"loc": {
"start": {
"line": 32,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"computed": false,
"optional": false,
"loc": {
"start": {
"line": 32,
"column": 30,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 32,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 32,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 40,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 32,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 32,
"column": 42,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ForUpdateStatement",
"init": {
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "y",
"typeAnnotation": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 33,
"column": 19,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 22,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 16,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 17,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"init": {
"type": "NumberLiteral",
"value": 0,
"loc": {
"start": {
"line": 33,
"column": 25,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 16,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"kind": "let",
"loc": {
"start": {
"line": 33,
"column": 12,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 26,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"test": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 33,
"column": 28,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 29,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "MemberExpression",
"object": {
"type": "ThisExpression",
"loc": {
"start": {
"line": 33,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"property": {
"type": "Identifier",
"name": "n2",
"loc": {
"start": {
"line": 33,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"computed": false,
"optional": false,
"loc": {
"start": {
"line": 33,
"column": 32,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 28,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 39,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"update": {
"type": "UpdateExpression",
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 33,
"column": 41,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 42,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 41,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 33,
"column": 44,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "ExpressionStatement",
"expression": {
"type": "AssignmentExpression",
"operator": "+=",
"left": {
"type": "Identifier",
"name": "sum",
"loc": {
"start": {
"line": 34,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 12,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"right": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "Bitops3BitBitsInByte",
"loc": {
"start": {
"line": 34,
"column": 16,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"property": {
"type": "Identifier",
"name": "fast3bitlookup",
"loc": {
"start": {
"line": 34,
"column": 37,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 51,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"computed": false,
"optional": false,
"loc": {
"start": {
"line": 34,
"column": 16,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 51,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "y",
"loc": {
"start": {
"line": 34,
"column": 52,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 53,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 34,
"column": 16,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 54,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 34,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 54,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 34,
"column": 9,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 34,
"column": 55,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 33,
"column": 46,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 35,
"column": 8,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 33,
"column": 7,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 35,
"column": 8,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 32,
"column": 44,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 36,
"column": 6,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 32,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 36,
"column": 6,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arktest",
"loc": {
"start": {
"line": 37,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 12,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"property": {
"type": "Identifier",
"name": "assertEQ",
"loc": {
"start": {
"line": 37,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"computed": false,
"optional": false,
"loc": {
"start": {
"line": 37,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 21,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"arguments": [
{
"type": "Identifier",
"name": "sum",
"loc": {
"start": {
"line": 37,
"column": 22,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 25,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "Bitops3BitBitsInByte",
"loc": {
"start": {
"line": 37,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 47,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"property": {
"type": "Identifier",
"name": "expected",
"loc": {
"start": {
"line": 37,
"column": 48,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 56,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"computed": false,
"optional": false,
"loc": {
"start": {
"line": 37,
"column": 27,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 56,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "StringLiteral",
"value": "Incorrect result",
"loc": {
"start": {
"line": 37,
"column": 59,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 77,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"optional": false,
"loc": {
"start": {
"line": 37,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 78,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 37,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 37,
"column": 79,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 30,
"column": 22,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 38,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 38,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 30,
"column": 13,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 38,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 30,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 38,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "constructor",
"loc": {
"start": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"kind": "constructor",
"static": false,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "constructor",
"loc": {
"start": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"statements": [],
"loc": {
"start": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 16,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": null
},
"end": {
"line": 1,
"column": 1,
"program": null
}
}
}
],
"loc": {
"start": {
"line": 16,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 39,
"column": 2,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 16,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 39,
"column": 2,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ClassDeclaration",
"definition": {
"id": {
"type": "Identifier",
"name": "ETSGLOBAL",
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"superClass": null,
"implements": [],
"body": [
{
"type": "MethodDefinition",
"key": {
"type": "Identifier",
"name": "main",
"loc": {
"start": {
"line": 41,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 41,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"kind": "method",
"accessibility": "public",
"static": true,
"optional": false,
"computed": false,
"value": {
"type": "FunctionExpression",
"function": {
"type": "ScriptFunction",
"id": {
"type": "Identifier",
"name": "main",
"loc": {
"start": {
"line": 41,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 41,
"column": 14,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"generator": false,
"async": false,
"expression": false,
"params": [],
"returnType": {
"type": "ETSPrimitiveType",
"loc": {
"start": {
"line": 41,
"column": 18,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 41,
"column": 22,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"body": {
"type": "BlockStatement",
"statements": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 42,
"column": 7,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 8,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"init": {
"type": "ETSNewClassInstanceExpression",
"typeReference": {
"type": "ETSTypeReference",
"part": {
"type": "ETSTypeReferencePart",
"name": {
"type": "Identifier",
"name": "Bitops3BitBitsInByte",
"loc": {
"start": {
"line": 42,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 15,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 35,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"arguments": [],
"loc": {
"start": {
"line": 42,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 42,
"column": 7,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"kind": "let",
"loc": {
"start": {
"line": 42,
"column": 3,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 42,
"column": 36,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "a",
"loc": {
"start": {
"line": 43,
"column": 3,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 43,
"column": 4,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"property": {
"type": "Identifier",
"name": "run",
"loc": {
"start": {
"line": 43,
"column": 5,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 43,
"column": 8,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"computed": false,
"optional": false,
"loc": {
"start": {
"line": 43,
"column": 3,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 43,
"column": 8,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"arguments": [],
"optional": false,
"loc": {
"start": {
"line": 43,
"column": 3,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 43,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 43,
"column": 3,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 43,
"column": 11,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 41,
"column": 23,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 44,
"column": 2,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 41,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 44,
"column": 2,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 41,
"column": 10,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 44,
"column": 2,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"overloads": [],
"loc": {
"start": {
"line": 41,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 44,
"column": 2,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
}
}
},
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
}
}
}
],
"loc": {
"start": {
"line": 1,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
},
"end": {
"line": 45,
"column": 1,
"program": "Bitops3BitBitsInByte.ets"
}
}
}