51 lines
803 B
Smalltalk
51 lines
803 B
Smalltalk
Class {
|
|
#name : 'PPCMLinkRefDef',
|
|
#superclass : 'PPCMNode',
|
|
#instVars : [
|
|
'label',
|
|
'destination',
|
|
'title'
|
|
],
|
|
#category : 'PetitMarkdown-AST'
|
|
}
|
|
|
|
{ #category : 'visiting' }
|
|
PPCMLinkRefDef >> accept: visitor [
|
|
^ visitor visitLinkRefDef: self
|
|
]
|
|
|
|
{ #category : 'accessing' }
|
|
PPCMLinkRefDef >> destination [
|
|
^ destination
|
|
]
|
|
|
|
{ #category : 'accessing' }
|
|
PPCMLinkRefDef >> destination: anObject [
|
|
destination := anObject
|
|
]
|
|
|
|
{ #category : 'testing' }
|
|
PPCMLinkRefDef >> isBlockLevel [
|
|
^ true
|
|
]
|
|
|
|
{ #category : 'accessing' }
|
|
PPCMLinkRefDef >> label [
|
|
^ label
|
|
]
|
|
|
|
{ #category : 'accessing' }
|
|
PPCMLinkRefDef >> label: anObject [
|
|
label := anObject
|
|
]
|
|
|
|
{ #category : 'accessing' }
|
|
PPCMLinkRefDef >> title [
|
|
^ title
|
|
]
|
|
|
|
{ #category : 'accessing' }
|
|
PPCMLinkRefDef >> title: anObject [
|
|
title := anObject
|
|
]
|