straightline/src/main/java/org/poormanscastle/studies/compilers/grammar/grammar_oh/ast/domain/Type.java
/**
     * this method helps to find out, whether the assignment in an AssignmentStatement in a DeclarationStatement
     * is valid for the rhs expression and the type of the lhs identifier.
     *
     * @param lhsType the type of the lhs identifier
     * @param rhsType the type of the value of the rhs expression.
     * @return true if you are clear to go ahead with the assignment, false otherwise.
     */
this method helps to find out, whether the assignment in an AssignmentStatement in a DeclarationStatement
is valid for the rhs expression and the type of the lhs identifier.

@param lhsType the type of the lhs identifier
@param rhsType the type of the value of the rhs expression.
@return true if you are clear to go ahead with the assignment, false otherwise.
this method helps to find out whether the assignment in an AssignmentStatement in a DeclarationStatement is valid for the rhs expression and the type of the lhs identifier . @param lhsType the type of the lhs identifier @param rhsType the type of the value of the rhs expression . @return true if you are clear to go ahead with the assignment false otherwise .
public static boolean isRhsAssignableToLhs(Type lhsType, Type rhsType) {
        int state = queryAssignabilityMatrix(1, lhsType);
        state = queryAssignabilityMatrix(state, rhsType);
        return queryAssignabilityResolver(state);
    }
public static boolean isRhsAssignableToLhs ( Type lhsType , Type rhsType ) { int state = queryAssignabilityMatrix ( 1 , lhsType ) ; state = queryAssignabilityMatrix ( state , rhsType ) ; return queryAssignabilityResolver ( state ) ; }
this method helps to find out, whether the assignment in an AssignmentStatement in a DeclarationStatement
 is valid for the rhs expression and the type of the lhs identifier.
this method helps to find out whether the assignment in an AssignmentStatement in a DeclarationStatement is valid for the rhs expression and the type of the lhs identifier .