Skip to content

Commit

Permalink
Merge pull request #9212 from astares/9211-Mark-abstract-classes-in-M…
Browse files Browse the repository at this point in the history
…icrodown-package---Second-attempt

Mark abstract classes in Microdown package - Second attempt
  • Loading branch information
estebanlm committed May 18, 2021
2 parents fdff213 + 91be510 commit a5f5d4f
Show file tree
Hide file tree
Showing 6 changed files with 36 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/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

0 comments on commit a5f5d4f

Please sign in to comment.