<commit_before>Class {
	#name : #BlElementEffectProperty,
	#superclass : #BlElementProperty,
	#instVars : [
		'effect'
	],
	#category : #'Bloc-Basic-Properties'
}

{ #category : #comparing }
BlElementEffectProperty >> = anObject [
	"Answer whether the receiver and anObject represent the same object."

	self == anObject
		ifTrue: [ ^ true ].
	self class = anObject class
		ifFalse: [ ^ false ].
	^ effect = anObject effect
]

{ #category : #'api - property' }
BlElementEffectProperty >> applyOnElement: anElement [
	NonInteractiveTranscript stdout
		nextPutAll: 'apply up effect on: ';
		nextPutAll: anElement printString;
		cr.
	anElement effect: self effect
]

{ #category : #'api - property' }
BlElementEffectProperty >> cleanUpOnElement: anElement [
	NonInteractiveTranscript stdout
		nextPutAll: 'clean up effect on: ';
		nextPutAll: anElement printString;
		cr.

	anElement effect: BlNullEffect new
]

{ #category : #accessing }
BlElementEffectProperty >> effect [
	^ effect
]

{ #category : #accessing }
BlElementEffectProperty >> effect: anObject [
	effect := anObject
]

{ #category : #comparing }
BlElementEffectProperty >> hash [
	"Answer an integer value that is related to the identity of the receiver."
<commit_msg>remove NonInteractiveTranscript logs<commit_after>Class {
	#name : #BlElementEffectProperty,
	#superclass : #BlElementProperty,
	#instVars : [
		'effect'
	],
	#category : #'Bloc-Basic-Properties'
}

{ #category : #comparing }
BlElementEffectProperty >> = anObject [
	"Answer whether the receiver and anObject represent the same object."

	self == anObject
		ifTrue: [ ^ true ].
	self class = anObject class
		ifFalse: [ ^ false ].
	^ effect = anObject effect
]

{ #category : #'api - property' }
BlElementEffectProperty >> applyOnElement: anElement [
	anElement effect: self effect
]

{ #category : #'api - property' }
BlElementEffectProperty >> cleanUpOnElement: anElement [
	anElement effect: BlNullEffect new
]

{ #category : #accessing }
BlElementEffectProperty >> effect [
	^ effect
]

{ #category : #accessing }
BlElementEffectProperty >> effect: anObject [
	effect := anObject
]

{ #category : #comparing }
BlElementEffectProperty >> hash [
	"Answer an integer value that is related to the identity of the receiver."

{'fraction_non_alphanumeric': 0.11002661934338953, 'fraction_numerical': 0.0, 'mean_word_length': 4.6375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6528475', 'n_tokens_mistral': 714, 'n_tokens_neox': 696, 'n_words': 194}