@@ -92,58 +92,58 @@ public PremiseVisitor<I, O> orNull() {
9292 }
9393
9494 private class Visitor implements PremiseVisitor <I , O > {
95- private final BiFunction <PositiveAtom , I , O > onPositiveAtom ;
96- private final BiFunction <NegatedAtom , I , O > onNegatedAtom ;
97- private final BiFunction <BinaryUnifier , I , O > onBinaryUnifier ;
98- private final BiFunction <BinaryDisunifier , I , O > onBinaryDisunifier ;
99- private BiFunction <AnnotatedAtom , I , O > onAnnotatedAtom ;
95+ private final BiFunction <PositiveAtom , I , O > _onPositiveAtom ;
96+ private final BiFunction <NegatedAtom , I , O > _onNegatedAtom ;
97+ private final BiFunction <BinaryUnifier , I , O > _onBinaryUnifier ;
98+ private final BiFunction <BinaryDisunifier , I , O > _onBinaryDisunifier ;
99+ private BiFunction <AnnotatedAtom , I , O > _onAnnotatedAtom ;
100100 private final BiFunction <Premise , I , O > otherwise ;
101101
102102 public Visitor (BiFunction <Premise , I , O > otherwise ) {
103- this .onPositiveAtom = PremiseVisitorBuilder .this .onPositiveAtom ;
104- this .onNegatedAtom = PremiseVisitorBuilder .this .onNegatedAtom ;
105- this .onBinaryUnifier = PremiseVisitorBuilder .this .onBinaryUnifier ;
106- this .onBinaryDisunifier = PremiseVisitorBuilder .this .onBinaryDisunifier ;
107- this .onAnnotatedAtom = PremiseVisitorBuilder .this .onAnnotatedAtom ;
103+ this ._onPositiveAtom = PremiseVisitorBuilder .this .onPositiveAtom ;
104+ this ._onNegatedAtom = PremiseVisitorBuilder .this .onNegatedAtom ;
105+ this ._onBinaryUnifier = PremiseVisitorBuilder .this .onBinaryUnifier ;
106+ this ._onBinaryDisunifier = PremiseVisitorBuilder .this .onBinaryDisunifier ;
107+ this ._onAnnotatedAtom = PremiseVisitorBuilder .this .onAnnotatedAtom ;
108108 this .otherwise = otherwise ;
109109 }
110110
111111 @ Override
112112 public O visit (PositiveAtom atom , I state ) {
113- if (this .onPositiveAtom != null ) {
114- return this .onPositiveAtom .apply (atom , state );
113+ if (this ._onPositiveAtom != null ) {
114+ return this ._onPositiveAtom .apply (atom , state );
115115 }
116116 return this .otherwise .apply (atom , state );
117117 }
118118
119119 @ Override
120120 public O visit (BinaryUnifier u , I state ) {
121- if (this .onBinaryUnifier != null ) {
122- return this .onBinaryUnifier .apply (u , state );
121+ if (this ._onBinaryUnifier != null ) {
122+ return this ._onBinaryUnifier .apply (u , state );
123123 }
124124 return this .otherwise .apply (u , state );
125125 }
126126
127127 @ Override
128128 public O visit (BinaryDisunifier u , I state ) {
129- if (this .onBinaryDisunifier != null ) {
130- return this .onBinaryDisunifier .apply (u , state );
129+ if (this ._onBinaryDisunifier != null ) {
130+ return this ._onBinaryDisunifier .apply (u , state );
131131 }
132132 return this .otherwise .apply (u , state );
133133 }
134134
135135 @ Override
136136 public O visit (NegatedAtom atom , I state ) {
137- if (this .onNegatedAtom != null ) {
138- return this .onNegatedAtom .apply (atom , state );
137+ if (this ._onNegatedAtom != null ) {
138+ return this ._onNegatedAtom .apply (atom , state );
139139 }
140140 return this .otherwise .apply (atom , state );
141141 }
142142
143143 @ Override
144144 public O visit (AnnotatedAtom atom , I state ) {
145- if (this .onAnnotatedAtom != null ) {
146- return this .onAnnotatedAtom .apply (atom , state );
145+ if (this ._onAnnotatedAtom != null ) {
146+ return this ._onAnnotatedAtom .apply (atom , state );
147147 }
148148 return this .otherwise .apply (atom , state );
149149 }
0 commit comments