Example #1
0
 public bool Equals(StateForCompiler other)
 {
     return((buildTextNodes == other.buildTextNodes) &&
            (recursionBehaviour == other.recursionBehaviour) &&
            (leftRecursiveAlts == other.leftRecursiveAlts) &&
            (whitespace == other.whitespace));
 }
Example #2
0
 public bool Equals(StateForCompiler other)
 {
     return (buildTextNodes == other.buildTextNodes)
         && (recursionBehaviour == other.recursionBehaviour)
         && (leftRecursiveAlts == other.leftRecursiveAlts)
         && (whitespace == other.whitespace);
 }
Example #3
0
 public StateForCompiler Copy()
 {
     StateForCompiler copy = new StateForCompiler();
     copy.buildTextNodes = buildTextNodes;
     copy.recursionBehaviour = recursionBehaviour;
     copy.leftRecursiveAlts = leftRecursiveAlts;
     copy.whitespace = whitespace;
     
     return copy;
 }
Example #4
0
        public override bool Equals(object other)
        {
            StateForCompiler otherState = other as StateForCompiler;

            if (otherState == null)
            {
                return(false);
            }

            return(Equals(otherState));
        }
Example #5
0
        public StateForCompiler Copy()
        {
            StateForCompiler copy = new StateForCompiler();

            copy.buildTextNodes     = buildTextNodes;
            copy.recursionBehaviour = recursionBehaviour;
            copy.leftRecursiveAlts  = leftRecursiveAlts;
            copy.whitespace         = whitespace;

            return(copy);
        }