Class Protelis2KotlinKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit main(Array<String> args) Main function: calls protelis2Kt without a project.
      final static Unit protelis2Kt(Project $self, String base, String destination) Reads all Protelis files under a base directory, parses them, and generates corresponding Kotlin files in a destination directory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • main

         final static Unit main(Array<String> args)

        Main function: calls protelis2Kt without a project.

        This is to be called with two arguments:

        • The base directory from which recursively looking for Protelis files

        • The destination directory that will contain the output Kotlin files

      • protelis2Kt

         final static Unit protelis2Kt(Project $self, String base, String destination)

        Reads all Protelis files under a base directory, parses them, and generates corresponding Kotlin files in a destination directory.

        This is to be called with two arguments:

        • The base directory from which recursively looking for Protelis files

        • The destination directory that will contain the output Kotlin files