protected static boolean isTargetOp ( TokenList . Token token , Symbol [ ] ops ) { Symbol c = token . symbol ; for ( int i = 0 ; i < ops . length ; i ++ ) { if ( c == ops [ i ] ) return true ; } return false ; }
Checks to see if the token is in the list of allowed character operations . Used to apply order of operations