Class Parser

java.lang.Object
io.github.syst3ms.skriptparser.Parser

public class Parser extends Object
  • Field Details

  • Constructor Details

    • Parser

      public Parser()
  • Method Details

    • main

      public static void main(String[] args)
    • init

      public static void init(String[] mainPackages, String[] subPackages, String[] programArgs, boolean standalone)
      Starts the parser.
      Parameters:
      mainPackages - packages inside which all subpackages containing classes to load may be present. Doesn't need to contain Skript's own main packages.
      subPackages - the subpackages inside which classes to load may be present. Doesn't need to contain Skript's own subpackages.
      programArgs - any other program arguments (typically from the command line)
      standalone - whether the parser tries to load addons (standalone) or not (library)
    • run

      public static void run(String scriptName, boolean debug, boolean tipsEnabled)
    • printLogs

      public static void printLogs(List<LogEntry> logs, Calendar time, boolean tipsEnabled)
    • getMainRegistration

      public static SkriptRegistration getMainRegistration()