Akka.Configuration.Hocon.HoconTokenizer.IsArrayEnd C# (CSharp) Метод

IsArrayEnd() публичный Метод

Determines whether the current token matches an TokenType.ArrayEnd token.
public IsArrayEnd ( ) : bool
Результат bool
        public bool IsArrayEnd()
        {
            return Matches("]");
        }

Usage Example

Пример #1
0
        /// <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);
        }
All Usage Examples Of Akka.Configuration.Hocon.HoconTokenizer::IsArrayEnd