for the parser
This commit is contained in:
parent
655087d65b
commit
d756149b52
|
@ -317,6 +317,15 @@ TokenRange!(R) byToken(R)(R range, LexerConfig config) if (isForwardRange!(R))
|
||||||
*/
|
*/
|
||||||
struct TokenRange(R) if (isForwardRange!(R))
|
struct TokenRange(R) if (isForwardRange!(R))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the file name of the config object.
|
||||||
|
*/
|
||||||
|
string fileName() const @property
|
||||||
|
{
|
||||||
|
return config.fileName;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns: true if the range is empty
|
* Returns: true if the range is empty
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue