Class StepLink

java.lang.Object
nz.org.riskscape.pipeline.ast.StepLink
All Implemented Interfaces:
PipelineExpression

public class StepLink extends Object
  • Constructor Details

  • Method Details

    • getBoundary

      public Optional<Pair<Token,Token>> getBoundary()
    • appendString

      protected void appendString(StringBuilder appendTo)
    • appendSource

      protected void appendSource(StringBuilder appendTo)
    • equals

      public boolean equals(Object o)
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
    • getLhs

      public StepDeclaration getLhs()
    • getChain

      public Token getChain()
    • getRhs

      public StepDeclaration getRhs()
    • toString

      public final String toString()

      Returns a simplified view of the ast in a source-like fashion, but with a lot of details left out for conciseness

      Overrides:
      toString in class Object
    • toSource

      public final String toSource()
      Specified by:
      toSource in interface PipelineExpression
      Returns:
      a string that can be parsed back in to the same ast as this one. It might not be whitespace-faithful...