Class ProjectElement.Line

java.lang.Object
org.praxislive.project.ProjectElement
org.praxislive.project.ProjectElement.Line
Enclosing class:
ProjectElement

public static final class ProjectElement.Line extends ProjectElement
A line element wrapping a single line of script.
  • Method Details

    • line

      public String line()
      The script line.
      Returns:
      script line
    • tokens

      public List<org.praxislive.core.syntax.Token> tokens()
      The tokens making up the line. The EOL token is not included.
      Returns:
      line tokens
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object