ru.biosoft.math.model
Class JavaFormatter
java.lang.Object
ru.biosoft.math.model.LinearFormatter
ru.biosoft.math.model.PiecewiseExtFormatter
ru.biosoft.math.model.JavaFormatter
- All Implemented Interfaces:
- Formatter
- public class JavaFormatter
- extends PiecewiseExtFormatter
Created by IntelliJ IDEA.
User: bober
Date: 25.09.2004
Time: 14:25:08
To change this template use Options | File Templates.
|
Constructor Summary |
JavaFormatter(java.util.List usedVariableList)
|
| 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
JavaFormatter
public JavaFormatter(java.util.List usedVariableList)
getFunctionName
protected java.lang.String getFunctionName(java.lang.String name)
- Overrides:
getFunctionName 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
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.