TokenDeclaration<T as ScannedBase>
A thing and its corresponding doc block
- Copyright
- 2016 Appertly
- License
- Apache-2.0
Instance Methods
| Returns | Signature and Description |
|---|---|
Block | Gets the doc comment block. |
string | Gets the source filename. |
string | getName()Gets the name of the declaration. |
T | getToken()Gets the scanned token. |
Method Details
getDocBlock
Inherited from Declaration
abstract public function
getDocBlock()Gets the doc comment block.
| Type | Description |
|---|---|
Block | The doc block, which could be empty |
getFilename
Inherited from Declaration
abstract public function
getFilename()Gets the source filename.
| Type | Description |
|---|---|
string | The filename |
getName
abstract public function
getName()Gets the name of the declaration.
| Type | Description |
|---|---|
string | The declaration name |
getToken
abstract public function
getToken()Gets the scanned token.
| Type | Description |
|---|---|
T | The scanned token |