INNER CODE UNIT · Java

popScope

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

	public synchronized void popScope( boolean merge ) {
		final Scope s = scopeStack.pop();
		if( merge ) {
			mergeCompensations( s );
		}
	}

	/**
	 * Pops the current executing scope from the scope stack of this thread. This method is a shortcut
	 * for <code>popScope(true)</code>.
	 */
	public synchronized void popScope() {
		popScope( true );
	}

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…