1 |
/* |
/* |
2 |
* Copyright (c) 2014-2019 Christian Schoenebeck |
* Copyright (c) 2014-2020 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
236 |
return (m_token) ? m_token->firstColumn() : 0; |
return (m_token) ? m_token->firstColumn() : 0; |
237 |
} |
} |
238 |
|
|
239 |
|
int VMSourceToken::firstByte() const { |
240 |
|
return (m_token) ? m_token->firstByte() : 0; |
241 |
|
} |
242 |
|
|
243 |
|
int VMSourceToken::lengthBytes() const { |
244 |
|
return (m_token) ? m_token->lengthBytes() : 0; |
245 |
|
} |
246 |
|
|
247 |
bool VMSourceToken::isEOF() const { |
bool VMSourceToken::isEOF() const { |
248 |
return (m_token) ? m_token->isEOF() : true; |
return (m_token) ? m_token->isEOF() : true; |
249 |
} |
} |