protected override CiPriority GetPriority(CiExpr expr)
{
if (expr is CiPropertyAccess) {
CiProperty prop = ((CiPropertyAccess) expr).Property;
if (prop == CiLibrary.SByteProperty || prop == CiLibrary.LowByteProperty)
return CiPriority.Prefix;
}
else if (expr is CiCoercion) {
CiCoercion c = (CiCoercion) expr;
if (c.ResultType == CiByteType.Value && c.Inner.Type == CiIntType.Value)
return CiPriority.Prefix;
}
return base.GetPriority(expr);
}