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

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

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

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

            return(copy);
        }