<commit_before>/*
* generated by Xtext
*/
package uk.ac.open.ui.outline

/**
 * Customization of the default outline structure.
 *
 * see http://www.eclipse.org/Xtext/documentation.html#outline
 */
class RbacDSLOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider {
	
}<commit_msg>Customised outline display to ignore root<commit_after>/*
* generated by Xtext
*/
package uk.ac.open.ui.outline

import uk.ac.open.rbacDSL.Rbac
import org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode

/**
 * Customization of the default outline structure.
 *
 * see http://www.eclipse.org/Xtext/documentation.html#outline
 */
class RbacDSLOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider {
	def void _createChildren(DocumentRootNode outlineNode, Rbac model) {
		model.policies.forEach[policy | createNode(outlineNode, policy);]
		model.constraints.forEach[constraint | createNode(outlineNode, constraint);]
	}
}
{'fraction_non_alphanumeric': 0.11301715438950555, 'fraction_numerical': 0.0, 'mean_word_length': 5.2784810126582276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3526542', 'n_tokens_mistral': 320, 'n_tokens_neox': 313, 'n_words': 57}