All for good parse.

Constructor

new(t:String, ?space:Bool)

Variables

beforeGoto:Int

Position before call 'goto' function.

data:Array<T>

Result data. Use functions: push, pop, beginContent, endContent.

lengthGoto:Int

Count symbols skiped 'goto' function.

pos:Int

Current position.

@:argspace:Bool

@:argt:String

Methods

inlineendContent():Void

gotoPushStr(search:String):Int

@:value({ nospace : false })gt(a:Array<String>, nospace:Bool = false):Int

Go to string.

Parameters:

a

searched strings.

nospace

if true return -2 if no space.

Returns:

string number, -1 if not.

indexOf(v:String):PosLen

Can igonre spaces.

Parameters:

v
  • search string.

Returns:

begin position and searched string length.

See also:

  • indexOf

inlinepop():T

inlinepush(v:T):Int

inlinepushEnd():Int

inlinepushStr():Int

skipSpace():Void

inlinestr():String