int function ( String arg0 ) { int loc0 ; loc0 = getIndexOf ( arg0 ) ; if ( loc0 == - 1 ) throw new PrismLangException ( "srini_string" = "srini_string" ) ; return getIntValue ( loc0 ) ; }
evaluate variable/constant name as an int . note : booleans get mapped to 0/1 concode_field_sep ArrayList<String> names concode_elem_sep ArrayList<Object> values concode_field_sep String valToString concode_elem_sep int getNumValues concode_elem_sep String toStringConcatenated concode_elem_sep String getName concode_elem_sep int getIntValue concode_elem_sep double getDoubleValue concode_elem_sep Object getValueOf concode_elem_sep Object getValue concode_elem_sep int getIndexOf concode_elem_sep boolean contains concode_elem_sep void removeValue concode_elem_sep void removeValue concode_elem_sep int setValues concode_elem_sep Type getType concode_elem_sep double getDoubleValueOf concode_elem_sep boolean getBooleanValueOf concode_elem_sep int setValue concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep boolean getBooleanValue concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep void addValues concode_elem_sep void addValue