public void addCastableExpr ( final INodeReadTrx mTransaction , final SingleType mSingleType ) { assert getPipeStack ( ) . size ( ) >= 1 ; final AbsAxis candidate = getPipeStack ( ) . pop ( ) . getExpr ( ) ; final AbsAxis axis = new CastableExpr ( mTransaction , candidate , mSingleType ) ; if ( getPipeStack ( ) . empty ( ) || getExpression ( ) . getSize ( ) != 0 ) { addExpressionSingle ( ) ; } getExpression ( ) . add ( axis ) ; }
Adds a castable expression to the pipeline .