Class PythonTMethods

    • Constructor Summary

      Constructors 
      Constructor Description
      PythonTMethods()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String callOp​(TStep step)
      Converts a step into a string the represents the call of the operation in the correct language.
      java.lang.String getterName​(java.lang.String name)
      Converts a name into the format for the correct language.
      java.lang.String name​(java.lang.String name)
      Converts a name into the format for the correct language.
      java.lang.String pyName​(java.lang.String name)  
      java.lang.String setterName​(java.lang.String name)
      Converts a name into the format for the correct language.
      • Methods inherited from class java.lang.Object

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

      • PythonTMethods

        public PythonTMethods()
    • Method Detail

      • name

        public java.lang.String name​(java.lang.String name)
        Description copied from class: TemplateMethods
        Converts a name into the format for the correct language.
        Specified by:
        name in class TemplateMethods
        Parameters:
        name - the unformatted name
        Returns:
        the name after it has been formatted
      • pyName

        public java.lang.String pyName​(java.lang.String name)
      • getterName

        public java.lang.String getterName​(java.lang.String name)
        Description copied from class: TemplateMethods
        Converts a name into the format for the correct language.
        Specified by:
        getterName in class TemplateMethods
        Parameters:
        name - the unformatted name
        Returns:
        the name after it has been formatted
      • setterName

        public java.lang.String setterName​(java.lang.String name)
        Description copied from class: TemplateMethods
        Converts a name into the format for the correct language.
        Specified by:
        setterName in class TemplateMethods
        Parameters:
        name - the unformatted name
        Returns:
        the name after it has been formatted
      • callOp

        public java.lang.String callOp​(TStep step)
        Description copied from class: TemplateMethods
        Converts a step into a string the represents the call of the operation in the correct language. Used in the Templates
        Specified by:
        callOp in class TemplateMethods
        Parameters:
        step - the step that will be called
        Returns:
        a string that is the call to the operation.