All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.legstar.base.visitor.CobolVisitor Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package com.legstar.base.visitor;

import com.legstar.base.ConversionException;
import com.legstar.base.type.composite.CobolArrayType;
import com.legstar.base.type.composite.CobolChoiceType;
import com.legstar.base.type.composite.CobolComplexType;
import com.legstar.base.type.primitive.CobolPrimitiveType;

/**
 * Visitor walk a COBOL complex structure described by linked {@link com.legstar.base.type.CobolType}
 * in a depth-first way (visit child before sibling).
 * 

* Visitors are mutable objects keeping contextual data during traversal. They * are not thread safe. * */ public interface CobolVisitor { void visit(CobolComplexType type) throws ConversionException; void visit(CobolArrayType type) throws ConversionException; void visit(CobolChoiceType type) throws ConversionException; void visit(CobolPrimitiveType < ? > type) throws ConversionException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy