bundles/org.eclipse.orion.client.javascript/web/eslint/lib/code-path-analysis/code-path-state.js
function() {
			var context = this.choiceContext;
			var forkContext = this.forkContext;

			if (context.processed) {

				/*
				 * This got segments already from the child choice context.
				 * Creates the next path from own true/false fork context.
				 */
				var prevForkContext =
					context.kind === "&&" ? context.trueForkContext :
					/* kind === "||" */
					context.falseForkContext;

				forkContext.replaceHead(prevForkContext.makeNext(0, -1));
				prevForkContext.clear();

				context.processed = false;
			} else {

				/*
				 * This did not get segments from the child choice context.
				 * So addresses the head segments.
				 * The head segments are the path of the left-hand operand.
				 */
				if (context.kind === "&&") {

					// The path does short-circuit if false.
					context.falseForkContext.add(forkContext.head);
				} else {

					// The path does short-circuit if true.
					context.trueForkContext.add(forkContext.head);
				}

				forkContext.replaceHead(forkContext.makeNext(-1, -1));
			}
		}
function() {
			var context = this.choiceContext;
			var forkContext = this.forkContext;

			if (context.processed) {

				/*
				 * This got segments already from the child choice context.
				 * Creates the next path from own true/false fork context.
				 */
				var prevForkContext =
					context.kind === "&&" ? context.trueForkContext :
					/* kind === "||" */
					context.falseForkContext;

				forkContext.replaceHead(prevForkContext.makeNext(0, -1));
				prevForkContext.clear();

				context.processed = false;
			} else {

				/*
				 * This did not get segments from the child choice context.
				 * So addresses the head segments.
				 * The head segments are the path of the left-hand operand.
				 */
				if (context.kind === "&&") {

					// The path does short-circuit if false.
					context.falseForkContext.add(forkContext.head);
				} else {

					// The path does short-circuit if true.
					context.trueForkContext.add(forkContext.head);
				}

				forkContext.replaceHead(forkContext.makeNext(-1, -1));
			}
		}
function ( ) { var context = this . choiceContext ; var forkContext = this . forkContext ; if ( context . processed ) { /*
				 * This got segments already from the child choice context.
				 * Creates the next path from own true/false fork context.
				 */ var prevForkContext = context . kind === "&&" ? context . trueForkContext : /* kind === "||" */ context . falseForkContext ; forkContext . replaceHead ( prevForkContext . makeNext ( 0 , - 1 ) ) ; prevForkContext . clear ( ) ; context . processed = false ; } else { /*
				 * This did not get segments from the child choice context.
				 * So addresses the head segments.
				 * The head segments are the path of the left-hand operand.
				 */ if ( context . kind === "&&" ) { // The path does short-circuit if false. context . falseForkContext . add ( forkContext . head ) ; } else { // The path does short-circuit if true. context . trueForkContext . add ( forkContext . head ) ; } forkContext . replaceHead ( forkContext . makeNext ( - 1 , - 1 ) ) ; } }
Makes a code path segment of the right-hand operand of a logical
expression.

@returns {void}
Makes a code path segment of the right - hand operand of a logical expression .