Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark abstract classes in Microdown package - Second attempt #9212

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Microdown/MicAbstractAnnotatedBlock.class.st
Expand Up @@ -9,6 +9,12 @@ Class {
#category : #'Microdown-Model'
}

{ #category : #testing }
MicAbstractAnnotatedBlock class >> isAbstract [

^ self == MicAbstractAnnotatedBlock
]

{ #category : #testing }
MicAbstractAnnotatedBlock >> addLineAndReturnNextNode: line [
"line is assumed to be of the form '@@label some text
Expand Down
6 changes: 6 additions & 0 deletions src/Microdown/MicAbstractBlock.class.st
Expand Up @@ -17,6 +17,12 @@ Class {
#category : #'Microdown-Model'
}

{ #category : #testing }
MicAbstractBlock class >> isAbstract [

^ self == MicAbstractBlock
]

{ #category : #adding }
MicAbstractBlock >> addChild: childBlock [
children add: childBlock
Expand Down
6 changes: 6 additions & 0 deletions src/Microdown/MicAbstractDelimiter.class.st
Expand Up @@ -33,6 +33,12 @@ MicAbstractDelimiter class >> index: anIndex [
^ self new index: anIndex; yourself
]

{ #category : #testing }
MicAbstractDelimiter class >> isAbstract [

^ self == MicAbstractDelimiter
]

{ #category : #testing }
MicAbstractDelimiter class >> isActive [
^ true
Expand Down
6 changes: 6 additions & 0 deletions src/Microdown/MicAbstractMicrodownTextualBuilder.class.st
Expand Up @@ -13,6 +13,12 @@ Class {
#category : #'Microdown-Parser'
}

{ #category : #testing }
MicAbstractMicrodownTextualBuilder class >> isAbstract [

^ self == MicAbstractMicrodownTextualBuilder
]

{ #category : #'instance creation' }
MicAbstractMicrodownTextualBuilder class >> on: aStream [
^ self new
Expand Down
6 changes: 6 additions & 0 deletions src/Microdown/MicContinuousMarkedBlock.class.st
Expand Up @@ -25,6 +25,12 @@ Class {
#category : #'Microdown-Model'
}

{ #category : #testing }
MicContinuousMarkedBlock class >> isAbstract [

^ self == MicContinuousMarkedBlock
]

{ #category : #actions }
MicContinuousMarkedBlock >> addLineAndReturnNextNode: line [
"line is assumed to be of the form 'chararacters some text' e.g., '> some text'
Expand Down
6 changes: 6 additions & 0 deletions src/Microdown/MicListBlock.class.st
Expand Up @@ -50,6 +50,12 @@ Class {
#category : #'Microdown-Model'
}

{ #category : #testing }
MicListBlock class >> isAbstract [

^ self == MicListBlock
]

{ #category : #testing }
MicListBlock >> addLineAndReturnNextNode: inLine [
"Create a new item, and insert it into me.
Expand Down