Double colon is parsed as a scalar value and name of method (initialize) cause the error because it expects indent token.
I did not find any occurrence of this token in neon parser in Nette. So my question is: Why is this token type used? Is it realy in neon syntax? And what is its functionality?
Test case
03.neon
throws an exception when pasing referenced service.The problem is on the third line.
Double colon is parsed as a scalar value and name of method (initialize) cause the error because it expects indent token.
I did not find any occurrence of this token in neon parser in Nette. So my question is: Why is this token type used? Is it realy in neon syntax? And what is its functionality?