/// <summary>
/// Retrieves the next array token from the tokenizer.
/// </summary>
/// <returns>An array of elements retrieved from the token.</returns>
public HoconArray ParseArray(string currentPath)
{
var arr = new HoconArray();
while (!_reader.EoF && !_reader.IsArrayEnd())
{
var v = new HoconValue();
ParseValue(v, currentPath);
arr.Add(v);
_reader.PullWhitespaceAndComments();
}
_reader.PullArrayEnd();
return(arr);
}