INNER CODE UNIT · Java

hasScope

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

	public synchronized boolean hasScope() {
		return !scopeStack.isEmpty();
	}

	/**
	 * Returns the id of the current executing scope.
	 *
	 * @return the id of the current executing scope.
	 */
	public synchronized String currentScopeId() {
		if( scopeStack.isEmpty() && parent != null ) {
			return parent.currentScopeId();
		}

		return scopeStack.peek().id();
	}

	/**

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…