Class Syntax


  • public final class Syntax
    extends java.lang.Object
    The Syntax class is used to hold constant String variables that identify valid Onyx syntax.

    This class is solely used for the purpose of storing recognised Onyx syntax as constants. Other classes which need to refer to the syntax for each keyword or symbol may do so here, as it ensures all code remains consistent by using variables from the same location.

    Since:
    1.0