ru.biosoft.math.model
Class PiecewiseExtFormatter
java.lang.Object
ru.biosoft.math.model.LinearFormatter
ru.biosoft.math.model.PiecewiseExtFormatter
- All Implemented Interfaces:
- Formatter
- Direct Known Subclasses:
- JavaFormatter, MatlabFormatter
- public abstract class PiecewiseExtFormatter
- extends LinearFormatter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
auxVariableCounter
protected int auxVariableCounter
auxVariableName
protected java.lang.String auxVariableName
PiecewiseExtFormatter
public PiecewiseExtFormatter()
resetVariableCounter
protected void resetVariableCounter()
format
public java.lang.String[] format(AstStart start)
- Specified by:
format in interface Formatter- Overrides:
format in class LinearFormatter
processPiecewise
protected void processPiecewise(AstPiecewise node)
- Overrides:
processPiecewise in class LinearFormatter
processIf
protected abstract void processIf(AstPiece node)
processElseIf
protected abstract void processElseIf(AstPiece node)
processOtherwise
protected abstract void processOtherwise(AstPiece node)
processPiecewiseBegin
protected abstract void processPiecewiseBegin(Node node)
- Auxiliary variables initialization
processPiecewiseEnd
protected abstract void processPiecewiseEnd(Node node)
- Prints some final keyword if necessary
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.