return false;
}
int tkind = node.jjtGetFirstToken().kind;
if (tkind == ParserConstants.dynamics || tkind == ParserConstants.crescendo || tkind == ParserConstants.decrescendo) {
ASTFunction func = (ASTFunction) node;
DynamicsLayout layout = new DynamicsLayout();
if (tkind == ParserConstants.crescendo) {
layout.text = "<";
} else if (tkind == ParserConstants.decrescendo) {
layout.text = ">";
} else { //\p \f etc
String image = func.jjtGetFirstToken().image;
try {
if (image.startsWith("\\")) {
layout.text = func.jjtGetFirstToken().image.substring(1);
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
func.setLayoutObject(layout);
layout.distanceRight = 0;
if(func.pitch==null)//e.g. afterGrace
return true;
layout.priority = func.pitch.getlayoutObject().priority;