boolean function ( Production arg0 ) { String loc0 = arg0 . getLHS ( ) ; String [ ] loc1 = arg0 . getVariablesOnLHS ( ) ; if ( loc0 . length ( ) == 1 && loc1 . length == 1 ) { return true ; } return false ; }
returns true if the left hand side of production is a single variable . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean areTerminalsOnRHS concode_elem_sep boolean isLeftLinearProductionWithVariable concode_elem_sep boolean isLambdaProduction concode_elem_sep boolean isUnitProduction concode_elem_sep boolean isVariableInProduction concode_elem_sep boolean isTerminal concode_elem_sep boolean isLeftLinear concode_elem_sep boolean isVariableOnRHS concode_elem_sep boolean isTerminalInProduction concode_elem_sep boolean isRightLinearProductionWithVariable concode_elem_sep boolean isLinearProductionWithNoVariable concode_elem_sep boolean isVariable concode_elem_sep boolean isRightLinear concode_elem_sep boolean isLinear