W3cubDocs

/Pony

_StringSeq

[Source]

_StringSeq is a wrapper / helper class for working with String sequence values while parsing. It assists in collecting the strings as they are parsed, and producing a ReadSeq[String] as a result.

class ref _StringSeq is
  ReadSeq[String val] box

Implements

Constructors

empty

[Source]

new val empty()
: _StringSeq val^

Returns

from_string

[Source]

new val from_string(
  s: String val)
: _StringSeq val^

Parameters

Returns

from_concat

[Source]

new val from_concat(
  ss0: _StringSeq val,
  ss1: _StringSeq val)
: _StringSeq val^

Parameters

Returns

Public fields

let strings: Vec[String val] val

[Source]

Public Functions

string

[Source]

fun box string()
: String iso^

Returns

size

[Source]

fun box size()
: USize val

Returns

apply

[Source]

fun box apply(
  i: USize val)
: String val ?

Parameters

Returns

values

[Source]

fun box values()
: Iterator[String val] ref^

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/cli-_StringSeq