de.upb.hni.vmagic.output
Class OutputModule

java.lang.Object
  extended by de.upb.hni.vmagic.output.OutputModule

public abstract class OutputModule
extends java.lang.Object

Output module. An output module contains all visitors that are necessary to output a hierarchy of VhdlElements to a file or another data structure.


Constructor Summary
OutputModule()
           
 
Method Summary
protected abstract  ConcurrentStatementVisitor getConcurrentStatementVisitor()
          Returns the concurrent statement visitor.
protected abstract  ConfigurationVisitor getConfigurationVisitor()
          Returns the configuration visitor.
protected abstract  DeclarationVisitor getDeclarationVisitor()
          Returns the declaration visitor.
protected abstract  ExpressionVisitor getExpressionVisitor()
          Returns the expression visitor.
protected abstract  LibraryUnitVisitor getLibraryUnitVisitor()
          Returns the library unit visitor.
protected abstract  MiscellaneousElementOutput getMiscellaneousElementOutput()
          Returns the miscellaneous element output.
protected abstract  SequentialStatementVisitor getSequentialStatementVisitor()
          Returns the sequential statement visitor.
protected abstract  TypeVisitor getTypeVisitor()
          Returns the type visitor.
 void writeChoice(Choice choice)
          Writes a choice.
 void writeComponentSpecification(ComponentSpecification specification)
          Writes a component specification.
 void writeConcurrentStatement(ConcurrentStatement statement)
          Writes a concurrent statement.
 void writeConcurrentStatements(java.util.List<? extends ConcurrentStatement> statements)
          Writes a list of concurrent statments.
 void writeConfigurationItem(ConfigurationItem configuration)
          Writes a configuration item.
 void writeConfigurationItems(java.util.List<? extends ConfigurationItem> configurations)
          Writes a list of configuration items.
 void writeDeclaration(DeclarativeItem declaration)
          Writes a declaration.
 void writeDeclarationMarker(DeclarativeItemMarker declaration)
          Writes a declaration.
 void writeDeclarationMarkers(java.util.List<? extends DeclarativeItemMarker> declarations)
          Writes a list of delcarations.
 void writeDeclarations(java.util.List<? extends DeclarativeItem> declarations)
          Writes a list of declarations.
 void writeDiscreteRange(DiscreteRange range)
          Writes a discrete range.
 void writeExpression(Expression expression)
          Writes an expression.
 void writeLibraryUnit(LibraryUnit unit)
          Writes a library unit.
 void writeLibraryUnits(java.util.List<? extends LibraryUnit> units)
          Writes a list of library units.
 void writeSeqentialStatement(SequentialStatement statement)
          Writes a sequential statement.
 void writeSequentialStatements(java.util.List<? extends SequentialStatement> statements)
          Writes a list of sequential statements.
 void writeSubtypeIndication(SubtypeIndication indication)
          Writes a subtype indication.
 void writeTarget(Target target)
          Writes a signal or variable assignment target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputModule

public OutputModule()
Method Detail

writeSeqentialStatement

public void writeSeqentialStatement(SequentialStatement statement)
Writes a sequential statement.

Parameters:
statement - the statment

writeSequentialStatements

public void writeSequentialStatements(java.util.List<? extends SequentialStatement> statements)
Writes a list of sequential statements.

Parameters:
statements - the list of statements

writeConcurrentStatement

public void writeConcurrentStatement(ConcurrentStatement statement)
Writes a concurrent statement.

Parameters:
statement - the statement

writeConcurrentStatements

public void writeConcurrentStatements(java.util.List<? extends ConcurrentStatement> statements)
Writes a list of concurrent statments.

Parameters:
statements - the list of statement

writeLibraryUnit

public void writeLibraryUnit(LibraryUnit unit)
Writes a library unit.

Parameters:
unit - the library unit

writeLibraryUnits

public void writeLibraryUnits(java.util.List<? extends LibraryUnit> units)
Writes a list of library units.

Parameters:
units - the list of library units

writeDeclaration

public void writeDeclaration(DeclarativeItem declaration)
Writes a declaration.

Parameters:
declaration - the declaration

writeDeclarations

public void writeDeclarations(java.util.List<? extends DeclarativeItem> declarations)
Writes a list of declarations.

Parameters:
declarations - the declarations

writeDeclarationMarker

public void writeDeclarationMarker(DeclarativeItemMarker declaration)
Writes a declaration.

Parameters:
declaration - the declaration

writeDeclarationMarkers

public void writeDeclarationMarkers(java.util.List<? extends DeclarativeItemMarker> declarations)
Writes a list of delcarations.

Parameters:
declarations - the list of declarations

writeExpression

public void writeExpression(Expression expression)
Writes an expression.

Parameters:
expression - the expression

writeConfigurationItem

public void writeConfigurationItem(ConfigurationItem configuration)
Writes a configuration item.

Parameters:
configuration - the configuration item

writeConfigurationItems

public void writeConfigurationItems(java.util.List<? extends ConfigurationItem> configurations)
Writes a list of configuration items.

Parameters:
configurations - the list of configuration items

writeTarget

public void writeTarget(Target target)
Writes a signal or variable assignment target.

Parameters:
target - the target

writeSubtypeIndication

public void writeSubtypeIndication(SubtypeIndication indication)
Writes a subtype indication.

Parameters:
indication - the subtype indication

writeDiscreteRange

public void writeDiscreteRange(DiscreteRange range)
Writes a discrete range.

Parameters:
range - the discrete range

writeChoice

public void writeChoice(Choice choice)
Writes a choice.

Parameters:
choice - the choice

writeComponentSpecification

public void writeComponentSpecification(ComponentSpecification specification)
Writes a component specification.

Parameters:
specification - the component specification

getSequentialStatementVisitor

protected abstract SequentialStatementVisitor getSequentialStatementVisitor()
Returns the sequential statement visitor.

Returns:
the sequential statement visitor

getConcurrentStatementVisitor

protected abstract ConcurrentStatementVisitor getConcurrentStatementVisitor()
Returns the concurrent statement visitor.

Returns:
the concurrent statement visitor

getLibraryUnitVisitor

protected abstract LibraryUnitVisitor getLibraryUnitVisitor()
Returns the library unit visitor.

Returns:
the library unit visitor

getDeclarationVisitor

protected abstract DeclarationVisitor getDeclarationVisitor()
Returns the declaration visitor.

Returns:
the declaration visitor

getExpressionVisitor

protected abstract ExpressionVisitor getExpressionVisitor()
Returns the expression visitor.

Returns:
the expression visitor

getConfigurationVisitor

protected abstract ConfigurationVisitor getConfigurationVisitor()
Returns the configuration visitor.

Returns:
the configuration visitor

getTypeVisitor

protected abstract TypeVisitor getTypeVisitor()
Returns the type visitor.

Returns:
the type visitro

getMiscellaneousElementOutput

protected abstract MiscellaneousElementOutput getMiscellaneousElementOutput()
Returns the miscellaneous element output.

Returns:
the miscellaneous element output