}
return result;
}
public PageMarginBox handlePageMarginBox(HiddenTokenAwareTree token) {
PageMarginBox result = new PageMarginBox(token);
List<HiddenTokenAwareTree> children = token.getChildren();
for (HiddenTokenAwareTree kid : children) {
if (kid.getType() == LessLexer.AT_NAME) {
result.setName(new Name(kid, kid.getText()));
} else if (kid.getType() == LessLexer.BODY) {
result.setBody(createGeneralBody(kid));
} else {
throw new BugHappened(GRAMMAR_MISMATCH, kid);
}
}
return result;