Skip to content

Commit

Permalink
Mark abstract classes in Microdown package
Browse files Browse the repository at this point in the history
Fix #9175
  • Loading branch information
astares committed Apr 26, 2021
1 parent beb9796 commit 9f133d1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
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/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

0 comments on commit 9f133d1

Please sign in to comment.