gjtorikian / graphql-idl-parser

A parser for the GraphQL IDL format.
MIT License
24 stars 0 forks source link

Types starting with __ are for internal use? #3

Open rushmorem opened 7 years ago

rushmorem commented 7 years ago

First off congratulations on your release and thank you for this amazing contribution to the Rust community :clap:

Maybe I'm missing something but when I see types like __ToTriple and functions like __action0 I think these are implementation details not meant for use by third parties. Am I correct in assuming this or are they actually part of the API?

gjtorikian commented 7 years ago

Correct! Seems like these are artifacts from the [lalrpop] state machine(https://github.com/nikomatsakis/lalrpop) ? At any rate, I'll clean that up!