Examples of PARCStrict


Examples of com.uic.ase.proj.xbn.array.primitive.PARCStrict

    @param  c_mlcStart  The character used to delimit the start of a multi-line comment.  May not equal c_mlcEnd or c_singleLineCmt.  See <A HREF="#getMLCStart()">getMLCStart</A>.
    @param  c_mlcEnd  The character used to delimit the end of a multi-line comment.  May not equal c_mlcStart or c_singleLineCmt.  See <A HREF="#getMLCEnd()">getMLCEnd</A>.
    @param  c_singleLineCmt  The character used to delimit the start of a single-line comment.  May not equal c_mlcStart or c_mlcEnd.  See <A HREF="#getSingleLineCmt()">getDelimSL</A>.
   **/
  public CRCDelimiters(char[] ac_varDelims, char c_mlcStart, char c_mlcEnd, char c_singleLineCmt)  {
    PACChar pacc = new PACChar(ac_varDelims, new PARCStrict(new PAROrderDir(true), UtilChar.getAOCInvisible()));
    pacc.crashIfBad("xbn.config.CRCDelimiters.constructor", "ac_varDelims");
    apcVarDelims = new APChar(ac_varDelims, true);

    ZCICharErr cice = new ZCICharErr();
    cice.ciInvisible(c_mlcStart, "c_mlcStart");
    cice.ciInvisible(c_mlcEnd, "c_mlcEnd");
    cice.ciInvisible(c_singleLineCmt, "c_singleLineCmt");

    VWChar vwc = new VWChar();
    vwc.addArray(ac_varDelims);
    vwc.add(c_mlcStart);
    vwc.add(c_mlcEnd);
    vwc.add(c_singleLineCmt);

    char[] ac = vwc.getAOChar();

    pacc = new PACChar(ac, new PARCStrict());
    if(!pacc.isValid())  {
      throwAX("constructor:  ac_varDelims (['" + apcVarDelims.getList("', '") + "']) is valid.  However, all characters in ac_varDelims, along with c_mlcStart ('" + c_mlcStart + "'), c_mlcEnd ('" + c_mlcEnd + "') and c_singleLineCmt ('" + c_singleLineCmt + "'), must be unique.");
    }

    cMLCStart = c_mlcStart;
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PARCStrict

   **/
  public final void crashIfAOCNotUnqAscOrd(String s_callingClsFnc, char[] a_char, String s_acDesc, boolean b_actuallyCheck)  {
    throwAXIfNull(s_callingClsFnc, "s_callingClsFnc", "crashIfAOCNotUnqAscOrd");

    if(b_actuallyCheck)  {
      PACChar pacc = new PACChar(a_char, (new PARCStrict(new PAROrderDir(true))));
      pacc.crashIfBad(s_callingClsFnc, s_acDesc);
    }
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PARCStrict

    @param  c_escape  The escape character, when b_checkRightForEsc is true (this may not equal any member of ac_toTrim).  When b_checkRightForEsc equals false, this must equal ' '.  See <a href="#getEscapeChar()">getEscapeChar</a>.
    @param  b_validateParams  If true, then all documented parameter restrictions are checked, and an <A HREF="~JD~ax~EJD~">AssertException</A> is thrown when any violation is found.  When false, be darn-tooting sure the parameters coform to documented restrictions.
   **/
  public TrimChars(char[] ac_toTrim, TALConfig tal_config, boolean b_checkRightForEsc, char c_escape, boolean b_validateParams)  {
    if(b_validateParams)  {
      PACChar pacc = new PACChar(ac_toTrim, (new PARCStrict(new PAROrderDir(true))));
      pacc.crashIfBad(sT + sCNSTR, "ac_toTrim");

      try  {
        if(!uStr.hasNoIllegalChars(tal_config.getLineSeparator(), ac_toTrim))  {
          throwAX("constructor:  tal_config.getLineSeparator() ('" + (new UtilString()).getVisible(tal_config.getLineSeparator()) + "') has at least one character that also exists in ac_toTrim:  " + (new APChar(acToTrim)).getList("['", "', '", "']"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.