ru.biosoft.math.model
Class MatlabFormatter
java.lang.Object
ru.biosoft.math.model.LinearFormatter
ru.biosoft.math.model.PiecewiseExtFormatter
ru.biosoft.math.model.MatlabFormatter
- All Implemented Interfaces:
- Formatter
- public class MatlabFormatter
- extends PiecewiseExtFormatter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
usedVariableList
protected java.util.List usedVariableList
badFuncNames
protected static java.util.HashMap badFuncNames
MatlabFormatter
public MatlabFormatter(java.util.List usedVariableList)
getFunctionName
protected java.lang.String getFunctionName(java.lang.String name)
- Overrides:
getFunctionName in class LinearFormatter
processConstant
protected void processConstant(AstConstant node)
- Overrides:
processConstant in class LinearFormatter
processFunction
protected void processFunction(AstFunNode node)
- Overrides:
processFunction in class LinearFormatter
processFunctionDeclaration
protected void processFunctionDeclaration(AstFunctionDeclaration node)
- Overrides:
processFunctionDeclaration in class LinearFormatter
processIf
protected void processIf(AstPiece node)
- Specified by:
processIf in class PiecewiseExtFormatter
processElseIf
protected void processElseIf(AstPiece node)
- Specified by:
processElseIf in class PiecewiseExtFormatter
processOtherwise
protected void processOtherwise(AstPiece node)
- Specified by:
processOtherwise in class PiecewiseExtFormatter
processPiecewiseEnd
protected void processPiecewiseEnd(Node node)
- Description copied from class:
PiecewiseExtFormatter
- Prints some final keyword if necessary
- Specified by:
processPiecewiseEnd in class PiecewiseExtFormatter
processPiecewiseBegin
protected void processPiecewiseBegin(Node node)
- Description copied from class:
PiecewiseExtFormatter
- Auxiliary variables initialization
- Specified by:
processPiecewiseBegin in class PiecewiseExtFormatter
processVariable
protected void processVariable(AstVarNode node)
- Overrides:
processVariable in class LinearFormatter
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.