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
ConstructorsConstructorDescriptionStepReference(String stepName) StepReference(String stepName, String namedInput) StepReference(Token identToken, Optional<Token> aliasToken) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendSource(StringBuilder appendTo) protected voidappendString(StringBuilder appendTo) protected booleanbooleaninthashCode()final StringtoSource()final StringtoString()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:
equalsin classStepDeclaration
-
canEqual
- Overrides:
canEqualin classStepDeclaration
-
hashCode
public int hashCode()- Overrides:
hashCodein 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:
toSourcein interfacePipelineExpression- Returns:
- a string that can be parsed back in to the same ast as this one. It might not be whitespace-faithful...
-