Package nz.org.riskscape.pipeline.ast
Class StepReference
java.lang.Object
nz.org.riskscape.pipeline.ast.StepDeclaration
nz.org.riskscape.pipeline.ast.StepReference
- All Implemented Interfaces:
PipelineExpression
Reference to a step that should have been declared previously.
-
Field Summary
Fields inherited from class nz.org.riskscape.pipeline.ast.StepDeclaration
identToken, namedInputToken
-
Constructor Summary
ConstructorDescriptionStepReference
(String stepName) StepReference
(String stepName, String namedInput) StepReference
(Token identToken, Optional<Token> aliasToken) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendSource
(StringBuilder appendTo) protected void
appendString
(StringBuilder appendTo) protected boolean
boolean
int
hashCode()
final String
toSource()
final String
toString()
Returns a simplified view of the ast in a source-like fashion, but with a lot of details left out for concisenessMethods inherited from class nz.org.riskscape.pipeline.ast.StepDeclaration
getIdent, getIdentToken, getNamedInput, getNamedInputToken, isA
-
Constructor Details
-
StepReference
-
StepReference
-
StepReference
-
-
Method Details
-
getBoundary
-
appendSource
-
appendString
-
equals
- Overrides:
equals
in classStepDeclaration
-
canEqual
- Overrides:
canEqual
in classStepDeclaration
-
hashCode
public int hashCode()- Overrides:
hashCode
in classStepDeclaration
-
toString
Returns a simplified view of the ast in a source-like fashion, but with a lot of details left out for conciseness
-
toSource
- Specified by:
toSource
in interfacePipelineExpression
- Returns:
- a string that can be parsed back in to the same ast as this one. It might not be whitespace-faithful...
-