    NFC: Convert the ParseResult enum into a simple struct wrapper around LogicalResult. This allows for using the existing infrastructure for LogicalResult while retaining the ability to easily chain together parse rules. This will also simplify the transition of the parser to use the new diagnostics infrastructure.
    NFC: Convert the ParseResult enum into a simple struct wrapper around LogicalResult. This allows for using the existing infrastructure for LogicalResult while retaining the ability to easily chain together parse rules. This will also simplify the transition of the parser to use the new diagnostics infrastructure.

--

PiperOrigin-RevId: 246955372

gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,annarev/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,yongtang/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,petewarden/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,karllessard/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,sarvex/tensorflow,aam-at/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,jhseu/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,aldian/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,karllessard/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,annarev/tensorflow,xzturn/tensorflow,gunan/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,aldian/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,aldian/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,karllessard/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,aam-at/tensorflow,aldian/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,sarvex/tensorflow,renyi533/tensorflow,arborh/tensorflow,freedomtan/tensorflow,aldian/tensorflow,aldian/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,yongtang/tensorflow,xzturn/tensorflow,karllessard/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,Intel-Corporation/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,yongtang/tensorflow,arborh/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,renyi533/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,renyi533/tensorflow,gunan/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,annarev/tensorflow,arborh/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,jhseu/tensorflow,renyi533/tensorflow,gunan/tensorflow,Intel-tensorflow/tensorflow