com.reactific.riddl.passes.validate.ValidationPass
See theValidationPass companion object
case class ValidationPass(input: PassInput) extends Pass, StreamingValidation
The ValidationPass
Value parameters
- input
-
Input from previous passes
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StreamingValidationtrait TypeValidationtrait DefinitionValidationtrait BasicValidationclass Passclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
THe name of the pass for inclusion in messages it produces
THe name of the pass for inclusion in messages it produces
Attributes
- Returns
-
A string value giving the name of this pass
- Definition Classes
Generate the output of this Pass.
Generate the output of this Pass. This will only be called after all the calls to process have completed.
Attributes
- Returns
-
an instance of the output type
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- TypeValidation
Attributes
- Inherited from:
- TypeValidation
Attributes
- Inherited from:
- BasicValidation
def check(predicate: Boolean, message: => String, kind: KindOfMessage, loc: At): BasicValidation.this.type
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- DefinitionValidation
def checkDefinition(parents: Seq[Definition], definition: Definition): DefinitionValidation.this.type
Attributes
- Inherited from:
- DefinitionValidation
Attributes
- Inherited from:
- DefinitionValidation
Attributes
- Inherited from:
- DefinitionValidation
Attributes
- Inherited from:
- BasicValidation
def checkMaybeRef[T <: Definition : ClassTag](reference: Option[Reference[T]], definition: Definition, parents: Seq[Definition]): Option[T]
Attributes
- Inherited from:
- BasicValidation
def checkMessageRef(ref: MessageRef, topDef: Definition, parents: Seq[Definition], kinds: Seq[AggregateUseCase]): BasicValidation.this.type
Attributes
- Inherited from:
- BasicValidation
def checkNonEmpty(list: Seq[_], name: String, thing: Definition, kind: KindOfMessage, required: Boolean): BasicValidation.this.type
Attributes
- Inherited from:
- BasicValidation
def checkNonEmptyValue(value: RiddlValue, name: String, thing: Definition, kind: KindOfMessage, required: Boolean): BasicValidation.this.type
Attributes
- Inherited from:
- BasicValidation
def checkOption[A <: RiddlValue](opt: Option[A], name: String, thing: Definition)(checker: A => Unit): DefinitionValidation.this.type
Attributes
- Inherited from:
- DefinitionValidation
Attributes
- Inherited from:
- DefinitionValidation
Attributes
- Inherited from:
- BasicValidation
def checkPathRef[T <: Definition : ClassTag](pid: PathIdentifier, container: Definition, parents: Seq[Definition]): Option[T]
Attributes
- Inherited from:
- BasicValidation
def checkRef[T <: Definition : ClassTag](reference: Reference[T], definition: Definition, parents: Seq[Definition]): Option[T]
Attributes
- Inherited from:
- BasicValidation
def checkRefAndExamine[T <: Definition : ClassTag](reference: Reference[T], defn: Definition, parents: Seq[Definition])(examiner: T => Unit): BasicValidation.this.type
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- StreamingValidation
Attributes
- Inherited from:
- DefinitionValidation
def checkTypeExpression(typ: TypeExpression, defn: Definition, parents: Seq[Definition]): TypeValidation.this.type
Attributes
- Inherited from:
- TypeValidation
Attributes
- Inherited from:
- BasicValidation
Close any resources used so this can be used with AutoCloseable or Using.Manager
Close any resources used so this can be used with AutoCloseable or Using.Manager
Attributes
- Inherited from:
- Pass
Attributes
- Inherited from:
- BasicValidation
def isAssignmentCompatible(typeEx1: Option[TypeExpression], typeEx2: Option[TypeExpression]): Boolean
Attributes
- Inherited from:
- TypeValidation
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- BasicValidation
Attributes
- Inherited from:
- BasicValidation
Concrete fields
Inherited fields
Attributes
- Inherited from:
- StreamingValidation
Attributes
- Inherited from:
- StreamingValidation
Attributes
- Inherited from:
- StreamingValidation
Attributes
- Inherited from:
- StreamingValidation
In this article