INNER CODE UNIT · Java

popScope

jolie/jolie · jolie/src/main/java/jolie/ExecutionThread.java:368

	public synchronized void popScope() {
		popScope( true );
	}

	private synchronized void mergeCompensations( Scope s ) {
		if( scopeStack.isEmpty() ) {
			if( parent != null ) {
				parent.mergeCompensations( s );
			}
		} else {
			scopeStack.peek().mergeCompensations( s );
		}
	}

	/**
	 * Installs process as the compensator for the current scope.
	 *
	 * @param process the process to install as compensator for the current scope

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…