core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java
private void addSegment(SegmentBase segment) {
        containerStack.peekFirst().addSegment(segment);
        LOGGER.trace("Add {}", segment);
    }
private void addSegment(SegmentBase segment) {
        containerStack.peekFirst().addSegment(segment);
        LOGGER.trace("Add {}", segment);
    }
Add the segment to the container on the stack.

@param segment