Dear all,
I am a postgraduate student and my project is to implement the cypher to my own engine. I read the code for several days and still have some questions. Hope to get some help. Thanks very much.
I run the function like this, and then get the result:
Query(SingleQuery(List(Match(false,Pattern(List(EveryPath(RelationshipChain(NodePattern(Some(Variable(movie)),Some(Leaf(LabelName(Movie))),None,None),RelationshipPattern(None,Some(Leaf(RelTypeName(ACTED_IN))),None,None,None,INCOMING),NodePattern(Some(Variable(actor)),Some(Leaf(LabelName(Actor))),None,None))))),List(),None))))
Is this the final AST? I have this question because The type of To.statement is ast.statement, not a tree.

To know the meaning of the result, I find the definition of Match. But I don't know the meaning of optional, hints, position.