Available on all platforms
Tpl parser
staticVAR_SYMBOLS:String
staticparse(t:String, s:TplStyle):TplData
new(t:String, s:TplStyle)
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
beginContent():Void
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.
v
begin position and searched string length.
See also:
indexOf
inlinepop():T
inlinepush(v:T):Int
inlinepushEnd():Int
inlinepushStr():Int
skipSpace():Void
inlinestr():String