Class BuiltinFunctions


  • public class BuiltinFunctions
    extends java.lang.Object
    For now contains all the various function implementations. Should probably be broken up into separate files and use annotations to capture a lot of this information instead.
    • Field Detail

      • functions

        public static java.util.Map<java.lang.String,​Function> functions
      • macros

        public static java.util.Map<java.lang.String,​Macro> macros
      • cache

        static java.util.Map<java.lang.String,​java.util.regex.Pattern> cache
    • Constructor Detail

      • BuiltinFunctions

        public BuiltinFunctions()
    • Method Detail

      • getRegexp

        static java.util.regex.Pattern getRegexp​(java.lang.String regexp)
      • copy

        private static int copy​(java.lang.String input,
                                char[] buf,
                                int bufix,
                                int from,
                                int to)