ComprehensionExpr
ComprehensionExpr describes a comprehension expression.
Methods
Section titled “Methods”accuInit()
Section titled “accuInit()”accuInit():
Expr
AccuInit returns the accumulator initialization expression.
Returns
Section titled “Returns”accuVar()
Section titled “accuVar()”accuVar():
string
AccuVar returns the accumulator variable name.
Returns
Section titled “Returns”string
iterRange()
Section titled “iterRange()”iterRange():
Expr
IterRange returns the range being iterated.
Returns
Section titled “Returns”iterVar()
Section titled “iterVar()”iterVar():
string
IterVar returns the first iteration variable name.
Returns
Section titled “Returns”string
iterVar2()
Section titled “iterVar2()”iterVar2():
string
IterVar2 returns the second iteration variable name, if present.
Returns
Section titled “Returns”string
loopCondition()
Section titled “loopCondition()”loopCondition():
Expr
LoopCondition returns the loop condition expression.
Returns
Section titled “Returns”loopStep()
Section titled “loopStep()”loopStep():
Expr
LoopStep returns the loop step expression.
Returns
Section titled “Returns”result()
Section titled “result()”result():
Expr
Result returns the result expression.