Class Language

java.lang.Object
org.ampere.base.util.Language

public class Language extends Object
Language for scripts
Since:
2020
Author:
hmorel
  • Field Details

    • MPML

      public static final Language MPML
  • Method Details

    • getDefault

      public static Language getDefault()
    • printFunctionName

      public void printFunctionName(PrintWriter out, String name)
    • printName

      public void printName(PrintWriter out, String name)
      print the name of a variable. The function is not constant beacause of some languages need to store the names of identifiers.
    • printConstant

      public void printConstant(PrintWriter out, double x)
      print the constant 'x'.
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      the language name