public class CreateModelListener extends CaffePrototxtBaseListener
| Constructor and Description |
|---|
CreateModelListener(CaffePrototxtParser parser,
MLModel mlModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterLayer(CaffePrototxtParser.LayerContext ctx)
Enter a parse tree produced by
CaffePrototxtParser.layer(). |
void |
enterPair(CaffePrototxtParser.PairContext ctx)
Enter a parse tree produced by
CaffePrototxtParser.pair(). |
void |
exitLayer(CaffePrototxtParser.LayerContext ctx)
Exit a parse tree produced by
CaffePrototxtParser.layer(). |
void |
exitName(CaffePrototxtParser.NameContext ctx)
Exit a parse tree produced by
CaffePrototxtParser.name(). |
void |
exitPair(CaffePrototxtParser.PairContext ctx)
Exit a parse tree produced by
CaffePrototxtParser.pair(). |
void |
exitValueLeaf(CaffePrototxtParser.ValueLeafContext ctx)
Exit a parse tree produced by the
valueLeaf
labeled alternative in CaffePrototxtParser.value(). |
protected void |
processKeyValue(java.lang.String key,
java.lang.String value) |
enterEveryRule, enterName, enterObject, enterPrototxt, enterSolver, enterValueLeaf, enterValueObject, exitEveryRule, exitObject, exitPrototxt, exitSolver, exitValueObject, visitErrorNode, visitTerminalpublic CreateModelListener(CaffePrototxtParser parser, MLModel mlModel)
public void exitName(CaffePrototxtParser.NameContext ctx)
CaffePrototxtBaseListenerCaffePrototxtParser.name().
The default implementation does nothing.
exitName in interface CaffePrototxtListenerexitName in class CaffePrototxtBaseListenerctx - the parse treepublic void enterLayer(CaffePrototxtParser.LayerContext ctx)
CaffePrototxtBaseListenerCaffePrototxtParser.layer().
The default implementation does nothing.
enterLayer in interface CaffePrototxtListenerenterLayer in class CaffePrototxtBaseListenerctx - the parse treepublic void exitLayer(CaffePrototxtParser.LayerContext ctx)
CaffePrototxtBaseListenerCaffePrototxtParser.layer().
The default implementation does nothing.
exitLayer in interface CaffePrototxtListenerexitLayer in class CaffePrototxtBaseListenerctx - the parse treepublic void enterPair(CaffePrototxtParser.PairContext ctx)
CaffePrototxtBaseListenerCaffePrototxtParser.pair().
The default implementation does nothing.
enterPair in interface CaffePrototxtListenerenterPair in class CaffePrototxtBaseListenerctx - the parse treepublic void exitPair(CaffePrototxtParser.PairContext ctx)
CaffePrototxtBaseListenerCaffePrototxtParser.pair().
The default implementation does nothing.
exitPair in interface CaffePrototxtListenerexitPair in class CaffePrototxtBaseListenerctx - the parse treepublic void exitValueLeaf(CaffePrototxtParser.ValueLeafContext ctx)
CaffePrototxtBaseListenervalueLeaf
labeled alternative in CaffePrototxtParser.value().
The default implementation does nothing.
exitValueLeaf in interface CaffePrototxtListenerexitValueLeaf in class CaffePrototxtBaseListenerctx - the parse treeprotected void processKeyValue(java.lang.String key,
java.lang.String value)