コード例 #1
0
 public void setConsiderBracket(bool value)
 {
     considerBracket = value;
     if (value && RTSUtil.isNullOrEmpty(brackets))
     {
         brackets = BRACKET_OPERATORS;
     }
 }
コード例 #2
0
 public void setConsiderSeperator(bool value)
 {
     considerSeperator = value;
     if (value && RTSUtil.isNullOrEmpty(seperators))
     {
         seperators = SEPERATORS;
     }
 }
コード例 #3
0
 public void setConsiderOperator(bool value)
 {
     considerOperator = value;
     if (value && RTSUtil.isNullOrEmpty(operators))
     {
         operators = OPERATORS;
     }
 }
コード例 #4
0
 override public string ToString()
 {
     if (mCastType == null)
     {
         return(RTSUtil.linkString(' ', mSrc, mChild,
                                   RTSUtil.isNullOrEmpty(mSrc) ? null : (mSrc[0] + 1).ToString()));
     }
     else
     {
         return(RTSUtil.linkString(' ', '(', mCastType.typeName(), ')', mSrc, mChild,
                                   RTSUtil.isNullOrEmpty(mSrc) ? "" : (mSrc[0] + 1).ToString()));
     }
 }
コード例 #5
0
 public bool loadSource(string text)
 {
     if (RTSUtil.isNullOrEmpty(text))
     {
         return(false);
     }
     mReader.Reload(text);
     mCompiling = mReader.hasNext();
     if (mCompiling)
     {
         mBuild      = true;
         mCompile    = true;
         mTempLinker = new RTSExecL();
         mCompileList.clear();
     }
     return(mCompiling);
 }
コード例 #6
0
 public void SetSeperator(string seperators)
 {
     this.seperators    = seperators;
     considerSeperator &= !RTSUtil.isNullOrEmpty(seperators);
 }
コード例 #7
0
 public void SetBrackets(string brackets)
 {
     this.considerBracket &= !RTSUtil.isNullOrEmpty(brackets);
     this.brackets         = brackets;
 }
コード例 #8
0
 public void SetOperators(string operators)
 {
     this.considerOperator &= !RTSUtil.isNullOrEmpty(operators);
     this.operators         = operators;
 }