preparation for the definition of the iterators
This commit is contained in:
		
							parent
							
								
									a628bfac39
								
							
						
					
					
						commit
						ab82bcf1ef
					
				| @ -45,6 +45,10 @@ func intFunc(ctx ExprContext, name string, args []any) (result any, err error) { | ||||
| 	return | ||||
| } | ||||
| 
 | ||||
| func iteratorFunc(ctx ExprContext, name string, args []any) (result any, err error) { | ||||
| 	return | ||||
| } | ||||
| 
 | ||||
| func ImportBuiltinsFuncs(ctx ExprContext) { | ||||
| 	ctx.RegisterFunc("isNil", &simpleFunctor{f: isNilFunc}, 1, -1) | ||||
| 	ctx.RegisterFunc("int", &simpleFunctor{f: intFunc}, 1, -1) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user