package jetbrains.mps.lang.editor.structure; /*Generated by MPS */ import jetbrains.mps.smodel.PropertySupport; public class _FloatOrInteger_String_PropertySupport extends PropertySupport { public boolean canSetValue(String value) { String testValue = null; if (value == null) { testValue = ""; } else { testValue = value; } return testValue.matches("-?[0-9]+\\.?[0-9]*"); } }