1
#include "parsenode_print_dot_visitor.h"
5
#include "../parser/parsenodes.h"
10
ParseNodePrintDOTVisitor::ParseNodePrintDOTVisitor(std::ostream &aStream)
17
ParseNodePrintDOTVisitor::print(parsenode* n)
19
os << "digraph query {" << std::endl;
21
os << "}" << std::endl;
25
ParseNodePrintDOTVisitor::begin_visit(const parsenode &n)
27
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
28
<< "label=\"ParseNode\\n["
29
<< n.get_location() << "]" << "\"]" << std::endl;
38
ParseNodePrintDOTVisitor::begin_visit(const AbbrevForwardStep &n)
40
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
41
<< "label=\"AbbrevForwardStep\\n["
42
<< n.get_location() << "]" << "\"]" << std::endl;
50
ParseNodePrintDOTVisitor::begin_visit(const AnyKindTest &n)
52
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
53
<< "label=\"AnyKindTest\\n["
54
<< n.get_location() << "]" << "\"]" << std::endl;
62
ParseNodePrintDOTVisitor::begin_visit(const AposAttrContentList &n)
64
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
65
<< "label=\"AposAttrContentList\\n["
66
<< n.get_location() << "]" << "\"]" << std::endl;
74
ParseNodePrintDOTVisitor::begin_visit(const AposAttrValueContent &n)
76
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
77
<< "label=\"AposAttrValueContent\\n["
78
<< n.get_location() << "]" << "\"]" << std::endl;
86
ParseNodePrintDOTVisitor::begin_visit(const ArgList &n)
88
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
89
<< "label=\"ArgList\\n["
90
<< n.get_location() << "]" << "\"]" << std::endl;
98
ParseNodePrintDOTVisitor::begin_visit(const AtomicType &n)
100
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
101
<< "label=\"AtomicType\\n["
102
<< n.get_location() << "]" << "\"]" << std::endl;
110
ParseNodePrintDOTVisitor::begin_visit(const AttributeTest &n)
112
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
113
<< "label=\"AttributeTest\\n["
114
<< n.get_location() << "]" << "\"]" << std::endl;
122
ParseNodePrintDOTVisitor::begin_visit(const BaseURIDecl &n)
124
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
125
<< "label=\"BaseURIDecl\\n["
126
<< n.get_location() << "]" << "\"]" << std::endl;
134
ParseNodePrintDOTVisitor::begin_visit(const BoundarySpaceDecl &n)
136
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
137
<< "label=\"BoundarySpaceDecl\\n["
138
<< n.get_location() << "]" << "\"]" << std::endl;
146
ParseNodePrintDOTVisitor::begin_visit(const CaseClause &n)
148
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
149
<< "label=\"CaseClause\\n["
150
<< n.get_location() << "]" << "\"]" << std::endl;
158
ParseNodePrintDOTVisitor::begin_visit(const CaseClauseList &n)
160
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
161
<< "label=\"CaseClauseList\\n["
162
<< n.get_location() << "]" << "\"]" << std::endl;
170
ParseNodePrintDOTVisitor::begin_visit(const CommentTest &n)
172
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
173
<< "label=\"CommentTest\\n["
174
<< n.get_location() << "]" << "\"]" << std::endl;
182
ParseNodePrintDOTVisitor::begin_visit(const ConstructionDecl &n)
184
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
185
<< "label=\"ConstructionDecl\\n["
186
<< n.get_location() << "]" << "\"]" << std::endl;
194
ParseNodePrintDOTVisitor::begin_visit(const CopyNamespacesDecl &n)
196
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
197
<< "label=\"CopyNamespacesDecl\\n["
198
<< n.get_location() << "]" << "\"]" << std::endl;
206
ParseNodePrintDOTVisitor::begin_visit(const DefaultCollationDecl &n)
208
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
209
<< "label=\"DefaultCollationDecl\\n["
210
<< n.get_location() << "]" << "\"]" << std::endl;
218
ParseNodePrintDOTVisitor::begin_visit(const DefaultNamespaceDecl &n)
220
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
221
<< "label=\"DefaultNamespaceDecl\\n["
222
<< n.get_location() << "]" << "\"]" << std::endl;
230
ParseNodePrintDOTVisitor::begin_visit(const DirAttr &n)
232
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
233
<< "label=\"DirAttr\\n["
234
<< n.get_location() << "]" << "\"]" << std::endl;
242
ParseNodePrintDOTVisitor::begin_visit(const DirAttributeList &n)
244
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
245
<< "label=\"DirAttributeList\\n["
246
<< n.get_location() << "]" << "\"]" << std::endl;
254
ParseNodePrintDOTVisitor::begin_visit(const DirAttributeValue &n)
256
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
257
<< "label=\"DirAttributeValue\\n["
258
<< n.get_location() << "]" << "\"]" << std::endl;
266
ParseNodePrintDOTVisitor::begin_visit(const DirElemContentList &n)
268
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
269
<< "label=\"DirElemContentList\\n["
270
<< n.get_location() << "]" << "\"]" << std::endl;
278
ParseNodePrintDOTVisitor::begin_visit(const DocumentTest &n)
280
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
281
<< "label=\"DocumentTest\\n["
282
<< n.get_location() << "]" << "\"]" << std::endl;
290
ParseNodePrintDOTVisitor::begin_visit(const ElementTest &n)
292
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
293
<< "label=\"ElementTest\\n["
294
<< n.get_location() << "]" << "\"]" << std::endl;
302
ParseNodePrintDOTVisitor::begin_visit(const EmptyOrderDecl &n)
304
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
305
<< "label=\"EmptyOrderDecl\\n["
306
<< n.get_location() << "]" << "\"]" << std::endl;
314
ParseNodePrintDOTVisitor::begin_visit(const ForClause &n)
316
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
317
<< "label=\"ForClause\\n["
318
<< n.get_location() << "]" << "\"]" << std::endl;
326
// ParseNodePrintDOTVisitor::begin_visit(const ForLetClause &n)
330
// os << "<MainModule position='" << n.get_location() << "'";
341
ParseNodePrintDOTVisitor::begin_visit(const ForLetClauseList &n)
343
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
344
<< "label=\"ForLetClauseList\\n["
345
<< n.get_location() << "]" << "\"]" << std::endl;
353
ParseNodePrintDOTVisitor::begin_visit(const ForwardAxis &n)
355
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
356
<< "label=\"ForwardAxis\\n["
357
<< n.get_location() << "]" << "\"]" << std::endl;
365
ParseNodePrintDOTVisitor::begin_visit(const ForwardStep &n)
367
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
368
<< "label=\"ForwardStep\\n["
369
<< n.get_location() << "]" << "\"]" << std::endl;
377
ParseNodePrintDOTVisitor::begin_visit(const FunctionDecl &n)
379
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
380
<< "label=\"FunctionDecl\\n["
381
<< n.get_location() << "]" << "\"]" << std::endl;
389
ParseNodePrintDOTVisitor::begin_visit(const GeneralComp &n)
391
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
392
<< "label=\"GeneralComp\\n["
393
<< n.get_location() << "]" << "\"]" << std::endl;
401
ParseNodePrintDOTVisitor::begin_visit(const ItemType &n)
403
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
404
<< "label=\"ItemType\\n["
405
<< n.get_location() << "]" << "\"]" << std::endl;
413
ParseNodePrintDOTVisitor::begin_visit(const LetClause &n)
415
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
416
<< "label=\"LetClause\\n["
417
<< n.get_location() << "]" << "\"]" << std::endl;
425
ParseNodePrintDOTVisitor::begin_visit(const LibraryModule &n)
427
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
428
<< "label=\"LibraryModule\\n["
429
<< n.get_location() << "]" << "\"]" << std::endl;
437
ParseNodePrintDOTVisitor::begin_visit(const MainModule &n)
439
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
440
<< "label=\"MainModule\\n["
441
<< n.get_location() << "]" << "\"]" << std::endl;
450
ParseNodePrintDOTVisitor::begin_visit(const Module &n)
452
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
453
<< "label=\"Module\\n["
454
<< n.get_location() << "]" << "\"]" << std::endl;
462
ParseNodePrintDOTVisitor::begin_visit(const ModuleDecl &n)
464
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
465
<< "label=\"ModuleDecl position='" << n.get_location() << "'";
466
os << " prefix='" << n.get_prefix() << "' "
467
<< "target_namespace='" << n.get_target_namespace() << "'";
477
ParseNodePrintDOTVisitor::begin_visit(const ModuleImport &n)
479
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
480
<< "label=\"ModuleImport\\n["
481
<< n.get_location() << "]" << "\"]" << std::endl;
489
ParseNodePrintDOTVisitor::begin_visit(const NameTest &n)
491
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
492
<< "label=\"NameTest\\n["
493
<< n.get_location() << "]" << "\"]" << std::endl;
501
ParseNodePrintDOTVisitor::begin_visit(const NamespaceDecl &n)
503
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
504
<< "label=\"NamespaceDecl\\n["
505
<< n.get_location() << "]" << "\"]" << std::endl;
513
ParseNodePrintDOTVisitor::begin_visit(const NodeComp &n)
515
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
516
<< "label=\"NodeComp\\n["
517
<< n.get_location() << "]" << "\"]" << std::endl;
525
ParseNodePrintDOTVisitor::begin_visit(const OccurrenceIndicator &n)
527
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
528
<< "label=\"OccurrenceIndicator\\n["
529
<< n.get_location() << "]" << "\"]" << std::endl;
537
ParseNodePrintDOTVisitor::begin_visit(const OptionDecl &n)
539
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
540
<< "label=\"OptionDecl\\n["
541
<< n.get_location() << "]" << "\"]" << std::endl;
549
ParseNodePrintDOTVisitor::begin_visit(const OrderByClause &n)
551
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
552
<< "label=\"OrderByClause\\n["
553
<< n.get_location() << "]" << "\"]" << std::endl;
561
ParseNodePrintDOTVisitor::begin_visit(const OrderCollationSpec &n)
563
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
564
<< "label=\"OrderCollationSpec\\n["
565
<< n.get_location() << "]" << "\"]" << std::endl;
573
ParseNodePrintDOTVisitor::begin_visit(const OrderDirSpec &n)
575
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
576
<< "label=\"OrderDirSpec\\n["
577
<< n.get_location() << "]" << "\"]" << std::endl;
585
ParseNodePrintDOTVisitor::begin_visit(const OrderEmptySpec &n)
587
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
588
<< "label=\"OrderEmptySpec\\n["
589
<< n.get_location() << "]" << "\"]" << std::endl;
597
ParseNodePrintDOTVisitor::begin_visit(const OrderModifier &n)
599
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
600
<< "label=\"OrderModifier\\n["
601
<< n.get_location() << "]" << "\"]" << std::endl;
609
ParseNodePrintDOTVisitor::begin_visit(const OrderSpec &n)
611
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
612
<< "label=\"OrderSpec\\n["
613
<< n.get_location() << "]" << "\"]" << std::endl;
621
ParseNodePrintDOTVisitor::begin_visit(const OrderSpecList &n)
623
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
624
<< "label=\"OrderSpecList\\n["
625
<< n.get_location() << "]" << "\"]" << std::endl;
633
ParseNodePrintDOTVisitor::begin_visit(const OrderingModeDecl &n)
635
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
636
<< "label=\"OrderingModeDecl\\n["
637
<< n.get_location() << "]" << "\"]" << std::endl;
645
ParseNodePrintDOTVisitor::begin_visit(const PITest &n)
647
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
648
<< "label=\"PITest\\n["
649
<< n.get_location() << "]" << "\"]" << std::endl;
657
ParseNodePrintDOTVisitor::begin_visit(const Param &n)
659
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
660
<< "label=\"Param\\n["
661
<< n.get_location() << "]" << "\"]" << std::endl;
669
ParseNodePrintDOTVisitor::begin_visit(const ParamList &n)
671
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
672
<< "label=\"ParamList\\n["
673
<< n.get_location() << "]" << "\"]" << std::endl;
681
ParseNodePrintDOTVisitor::begin_visit(const PositionalVar &n)
683
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
684
<< "label=\"PositionalVar\\n["
685
<< n.get_location() << "]" << "\"]" << std::endl;
693
ParseNodePrintDOTVisitor::begin_visit(const Pragma &n)
695
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
696
<< "label=\"Pragma\\n["
697
<< n.get_location() << "]" << "\"]" << std::endl;
705
ParseNodePrintDOTVisitor::begin_visit(const PragmaList &n)
707
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
708
<< "label=\"PragmaList\\n["
709
<< n.get_location() << "]" << "\"]" << std::endl;
717
ParseNodePrintDOTVisitor::begin_visit(const PredicateList &n)
719
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
720
<< "label=\"PredicateList\\n["
721
<< n.get_location() << "]" << "\"]" << std::endl;
729
ParseNodePrintDOTVisitor::begin_visit(const Prolog &n)
731
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
732
<< "label=\"Prolog\\n["
733
<< n.get_location() << "]" << "\"]" << std::endl;
741
ParseNodePrintDOTVisitor::begin_visit(const QVarInDecl &n)
743
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
744
<< "label=\"QVarInDecl\\n["
745
<< n.get_location() << "]" << "\"]" << std::endl;
753
ParseNodePrintDOTVisitor::begin_visit(const QVarInDeclList &n)
755
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
756
<< "label=\"QVarInDeclList\\n["
757
<< n.get_location() << "]" << "\"]" << std::endl;
765
ParseNodePrintDOTVisitor::begin_visit(const QuoteAttrValueContent &n)
767
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
768
<< "label=\"QuoteAttrValueContent\\n["
769
<< n.get_location() << "]" << "\"]" << std::endl;
777
ParseNodePrintDOTVisitor::begin_visit(const QuoteAttrContentList &n)
779
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
780
<< "label=\"QuoteAttrContentList\\n["
781
<< n.get_location() << "]" << "\"]" << std::endl;
789
ParseNodePrintDOTVisitor::begin_visit(const ReverseAxis &n)
791
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
792
<< "label=\"ReverseAxis\\n["
793
<< n.get_location() << "]" << "\"]" << std::endl;
801
ParseNodePrintDOTVisitor::begin_visit(const ReverseStep &n)
803
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
804
<< "label=\"ReverseStep\\n["
805
<< n.get_location() << "]" << "\"]" << std::endl;
813
ParseNodePrintDOTVisitor::begin_visit(const SIND_DeclList &n)
815
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
816
<< "label=\"SIND_DeclList\\n["
817
<< n.get_location() << "]" << "\"]" << std::endl;
825
ParseNodePrintDOTVisitor::begin_visit(const SchemaAttributeTest &n)
827
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
828
<< "label=\"SchemaAttributeTest\\n["
829
<< n.get_location() << "]" << "\"]" << std::endl;
837
ParseNodePrintDOTVisitor::begin_visit(const SchemaElementTest &n)
839
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
840
<< "label=\"SchemaElementTest\\n["
841
<< n.get_location() << "]" << "\"]" << std::endl;
849
ParseNodePrintDOTVisitor::begin_visit(const SchemaImport &n)
851
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
852
<< "label=\"SchemaImport\\n["
853
<< n.get_location() << "]" << "\"]" << std::endl;
861
ParseNodePrintDOTVisitor::begin_visit(const SchemaPrefix &n)
863
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
864
<< "label=\"SchemaPrefix\\n["
865
<< n.get_location() << "]" << "\"]" << std::endl;
873
ParseNodePrintDOTVisitor::begin_visit(const SequenceType &n)
875
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
876
<< "label=\"SequenceType\\n["
877
<< n.get_location() << "]" << "\"]" << std::endl;
885
ParseNodePrintDOTVisitor::begin_visit(const SignList &n)
887
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
888
<< "label=\"SignList\\n["
889
<< n.get_location() << "]" << "\"]" << std::endl;
897
ParseNodePrintDOTVisitor::begin_visit(const SingleType &n)
899
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
900
<< "label=\"SingleType\\n["
901
<< n.get_location() << "]" << "\"]" << std::endl;
909
ParseNodePrintDOTVisitor::begin_visit(const TextTest &n)
911
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
912
<< "label=\"TextTest\\n["
913
<< n.get_location() << "]" << "\"]" << std::endl;
921
ParseNodePrintDOTVisitor::begin_visit(const TypeDeclaration &n)
923
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
924
<< "label=\"TypeDeclaration\\n["
925
<< n.get_location() << "]" << "\"]" << std::endl;
933
ParseNodePrintDOTVisitor::begin_visit(const TypeName &n)
935
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
936
<< "label=\"TypeName\\n["
937
<< n.get_location() << "]" << "\"]" << std::endl;
945
ParseNodePrintDOTVisitor::begin_visit(const URILiteralList &n)
947
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
948
<< "label=\"URILiteralList\\n["
949
<< n.get_location() << "]" << "\"]" << std::endl;
957
ParseNodePrintDOTVisitor::begin_visit(const ValueComp &n)
959
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
960
<< "label=\"ValueComp\\n["
961
<< n.get_location() << "]" << "\"]" << std::endl;
969
ParseNodePrintDOTVisitor::begin_visit(const VarDecl &n)
971
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
972
<< "label=\"VarDecl\\n["
973
<< n.get_location() << "]" << "\"]" << std::endl;
981
ParseNodePrintDOTVisitor::begin_visit(const VarGetsDecl &n)
983
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
984
<< "label=\"VarGetsDecl\\n["
985
<< n.get_location() << "]" << "\"]" << std::endl;
993
ParseNodePrintDOTVisitor::begin_visit(const VarGetsDeclList &n)
995
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
996
<< "label=\"VarGetsDeclList\\n["
997
<< n.get_location() << "]" << "\"]" << std::endl;
1005
ParseNodePrintDOTVisitor::begin_visit(const VarInDecl &n)
1007
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1008
<< "label=\"VarInDecl\\n["
1009
<< n.get_location() << "]" << "\"]" << std::endl;
1017
ParseNodePrintDOTVisitor::begin_visit(const VarInDeclList &n)
1019
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1020
<< "label=\"VarInDeclList\\n["
1021
<< n.get_location() << "]" << "\"]" << std::endl;
1029
ParseNodePrintDOTVisitor::begin_visit(const VersionDecl &n)
1031
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1032
<< "label=\"VersionDecl position='" << n.get_location() << "'";
1033
os << "version='" << n.get_version() << "' "
1034
<< "encoding='" << n.get_encoding() << "' ";
1045
ParseNodePrintDOTVisitor::begin_visit(const VFO_DeclList &n)
1047
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1048
<< "label=\"VFO_DeclList\\n["
1049
<< n.get_location() << "]" << "\"]" << std::endl;
1057
ParseNodePrintDOTVisitor::begin_visit(const WhereClause &n)
1059
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1060
<< "label=\"WhereClause\\n["
1061
<< n.get_location() << "]" << "\"]" << std::endl;
1069
ParseNodePrintDOTVisitor::begin_visit(const Wildcard &n)
1071
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1072
<< "label=\"Wildcard\\n["
1073
<< n.get_location() << "]" << "\"]" << std::endl;
1082
ParseNodePrintDOTVisitor::begin_visit(const exprnode &n)
1084
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1085
<< "label=\"exprnode\\n["
1086
<< n.get_location() << "]" << "\"]" << std::endl;
1094
ParseNodePrintDOTVisitor::begin_visit(const AdditiveExpr &n)
1096
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1097
<< "label=\"AdditiveExpr\\n["
1098
<< n.get_location() << "]" << "\"]" << std::endl;
1106
ParseNodePrintDOTVisitor::begin_visit(const AndExpr &n)
1108
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1109
<< "label=\"AndExpr\\n["
1110
<< n.get_location() << "]" << "\"]" << std::endl;
1118
ParseNodePrintDOTVisitor::begin_visit(const AxisStep &n)
1120
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1121
<< "label=\"AxisStep\\n["
1122
<< n.get_location() << "]" << "\"]" << std::endl;
1130
ParseNodePrintDOTVisitor::begin_visit(const CDataSection &n)
1132
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1133
<< "label=\"CDataSection\\n["
1134
<< n.get_location() << "]" << "\"]" << std::endl;
1142
ParseNodePrintDOTVisitor::begin_visit(const CastExpr &n)
1144
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1145
<< "label=\"CastExpr\\n["
1146
<< n.get_location() << "]" << "\"]" << std::endl;
1154
ParseNodePrintDOTVisitor::begin_visit(const CastableExpr &n)
1156
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1157
<< "label=\"CastableExpr\\n["
1158
<< n.get_location() << "]" << "\"]" << std::endl;
1166
ParseNodePrintDOTVisitor::begin_visit(const CommonContent &n)
1168
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1169
<< "label=\"CommonContent\\n["
1170
<< n.get_location() << "]" << "\"]" << std::endl;
1178
ParseNodePrintDOTVisitor::begin_visit(const ComparisonExpr &n)
1180
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1181
<< "label=\"ComparisonExpr\\n["
1182
<< n.get_location() << "]" << "\"]" << std::endl;
1190
ParseNodePrintDOTVisitor::begin_visit(const CompAttrConstructor &n)
1192
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1193
<< "label=\"CompAttrConstructor\\n["
1194
<< n.get_location() << "]" << "\"]" << std::endl;
1202
ParseNodePrintDOTVisitor::begin_visit(const CompCommentConstructor &n)
1204
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1205
<< "label=\"CompCommentConstructor\\n["
1206
<< n.get_location() << "]" << "\"]" << std::endl;
1214
ParseNodePrintDOTVisitor::begin_visit(const CompDocConstructor &n)
1216
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1217
<< "label=\"CompDocConstructor\\n["
1218
<< n.get_location() << "]" << "\"]" << std::endl;
1226
ParseNodePrintDOTVisitor::begin_visit(const CompElemConstructor &n)
1228
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1229
<< "label=\"CompElemConstructor\\n["
1230
<< n.get_location() << "]" << "\"]" << std::endl;
1238
ParseNodePrintDOTVisitor::begin_visit(const CompPIConstructor &n)
1240
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1241
<< "label=\"CompPIConstructor\\n["
1242
<< n.get_location() << "]" << "\"]" << std::endl;
1250
ParseNodePrintDOTVisitor::begin_visit(const CompTextConstructor &n)
1252
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1253
<< "label=\"CompTextConstructor\\n["
1254
<< n.get_location() << "]" << "\"]" << std::endl;
1262
ParseNodePrintDOTVisitor::begin_visit(const ContextItemExpr &n)
1264
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1265
<< "label=\"ContextItemExpr\\n["
1266
<< n.get_location() << "]" << "\"]" << std::endl;
1274
ParseNodePrintDOTVisitor::begin_visit(const DirCommentConstructor &n)
1276
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1277
<< "label=\"DirCommentConstructor\\n["
1278
<< n.get_location() << "]" << "\"]" << std::endl;
1286
ParseNodePrintDOTVisitor::begin_visit(const DirElemConstructor &n)
1288
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1289
<< "label=\"DirElemConstructor\\n["
1290
<< n.get_location() << "]" << "\"]" << std::endl;
1298
ParseNodePrintDOTVisitor::begin_visit(const DirElemContent &n)
1300
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1301
<< "label=\"DirElemContent\\n["
1302
<< n.get_location() << "]" << "\"]" << std::endl;
1310
ParseNodePrintDOTVisitor::begin_visit(const DirPIConstructor &n)
1312
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1313
<< "label=\"DirPIConstructor\\n["
1314
<< n.get_location() << "]" << "\"]" << std::endl;
1322
ParseNodePrintDOTVisitor::begin_visit(const EnclosedExpr &n)
1324
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1325
<< "label=\"EnclosedExpr\\n["
1326
<< n.get_location() << "]" << "\"]" << std::endl;
1334
ParseNodePrintDOTVisitor::begin_visit(const Expr &n)
1336
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1337
<< "label=\"Expr\\n["
1338
<< n.get_location() << "]" << "\"]" << std::endl;
1346
// ParseNodePrintDOTVisitor::begin_visit(const ExprSingle &n)
1350
// os << "<MainModule position='" << n.get_location() << "'";
1361
ParseNodePrintDOTVisitor::begin_visit(const ExtensionExpr &n)
1363
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1364
<< "label=\"ExtensionExpr\\n["
1365
<< n.get_location() << "]" << "\"]" << std::endl;
1373
ParseNodePrintDOTVisitor::begin_visit(const FLWORExpr &n)
1375
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1376
<< "label=\"FLWORExpr\\n["
1377
<< n.get_location() << "]" << "\"]" << std::endl;
1385
ParseNodePrintDOTVisitor::begin_visit(const FilterExpr &n)
1387
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1388
<< "label=\"FilterExpr\\n["
1389
<< n.get_location() << "]" << "\"]" << std::endl;
1397
ParseNodePrintDOTVisitor::begin_visit(const FunctionCall &n)
1399
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1400
<< "label=\"FunctionCall\\n["
1401
<< n.get_location() << "]" << "\"]" << std::endl;
1409
ParseNodePrintDOTVisitor::begin_visit(const IfExpr &n)
1411
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1412
<< "label=\"IfExpr\\n["
1413
<< n.get_location() << "]" << "\"]" << std::endl;
1421
ParseNodePrintDOTVisitor::begin_visit(const InstanceofExpr &n)
1423
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1424
<< "label=\"InstanceofExpr\\n["
1425
<< n.get_location() << "]" << "\"]" << std::endl;
1433
ParseNodePrintDOTVisitor::begin_visit(const IntersectExceptExpr &n)
1435
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1436
<< "label=\"IntersectExceptExpr\\n["
1437
<< n.get_location() << "]" << "\"]" << std::endl;
1445
ParseNodePrintDOTVisitor::begin_visit(const MultiplicativeExpr &n)
1447
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1448
<< "label=\"MultiplicativeExpr\\n["
1449
<< n.get_location() << "]" << "\"]" << std::endl;
1457
ParseNodePrintDOTVisitor::begin_visit(const NumericLiteral &n)
1459
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1460
<< "label=\"NumericLiteral\\n["
1461
<< n.get_location() << "]" << "\"]" << std::endl;
1469
ParseNodePrintDOTVisitor::begin_visit(const OrExpr &n)
1471
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1472
<< "label=\"OrExpr\\n["
1473
<< n.get_location() << "]" << "\"]" << std::endl;
1481
ParseNodePrintDOTVisitor::begin_visit(const OrderedExpr &n)
1483
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1484
<< "label=\"OrderedExpr\\n["
1485
<< n.get_location() << "]" << "\"]" << std::endl;
1493
ParseNodePrintDOTVisitor::begin_visit(const ParenthesizedExpr &n)
1495
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1496
<< "label=\"ParenthesizedExpr\\n["
1497
<< n.get_location() << "]" << "\"]" << std::endl;
1505
ParseNodePrintDOTVisitor::begin_visit(const PathExpr &n)
1507
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1508
<< "label=\"PathExpr\\n["
1509
<< n.get_location() << "]" << "\"]" << std::endl;
1517
ParseNodePrintDOTVisitor::begin_visit(const QuantifiedExpr &n)
1519
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1520
<< "label=\"QuantifiedExpr\\n["
1521
<< n.get_location() << "]" << "\"]" << std::endl;
1529
ParseNodePrintDOTVisitor::begin_visit(const QueryBody &n)
1531
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1532
<< "label=\"QueryBody\\n["
1533
<< n.get_location() << "]" << "\"]" << std::endl;
1541
ParseNodePrintDOTVisitor::begin_visit(const RangeExpr &n)
1543
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1544
<< "label=\"RangeExpr\\n["
1545
<< n.get_location() << "]" << "\"]" << std::endl;
1553
ParseNodePrintDOTVisitor::begin_visit(const RelativePathExpr &n)
1555
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1556
<< "label=\"RelativePathExpr\\n["
1557
<< n.get_location() << "]" << "\"]" << std::endl;
1565
ParseNodePrintDOTVisitor::begin_visit(const StringLiteral &n)
1567
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1568
<< "label=\"StringLiteral\\n["
1569
<< n.get_location() << "]" << "\"]" << std::endl;
1577
ParseNodePrintDOTVisitor::begin_visit(const TreatExpr &n)
1579
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1580
<< "label=\"TreatExpr\\n["
1581
<< n.get_location() << "]" << "\"]" << std::endl;
1589
ParseNodePrintDOTVisitor::begin_visit(const TypeswitchExpr &n)
1591
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1592
<< "label=\"TypeswitchExpr\\n["
1593
<< n.get_location() << "]" << "\"]" << std::endl;
1601
ParseNodePrintDOTVisitor::begin_visit(const UnaryExpr &n)
1603
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1604
<< "label=\"UnaryExpr\\n["
1605
<< n.get_location() << "]" << "\"]" << std::endl;
1613
ParseNodePrintDOTVisitor::begin_visit(const UnionExpr &n)
1615
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1616
<< "label=\"UnionExpr\\n["
1617
<< n.get_location() << "]" << "\"]" << std::endl;
1625
ParseNodePrintDOTVisitor::begin_visit(const UnorderedExpr &n)
1627
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1628
<< "label=\"UnorderedExpr\\n["
1629
<< n.get_location() << "]" << "\"]" << std::endl;
1637
ParseNodePrintDOTVisitor::begin_visit(const ValidateExpr &n)
1639
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1640
<< "label=\"ValidateExpr\\n["
1641
<< n.get_location() << "]" << "\"]" << std::endl;
1649
ParseNodePrintDOTVisitor::begin_visit(const VarRef &n)
1651
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1652
<< "label=\"VarRef\\n["
1653
<< n.get_location() << "]" << "\"]" << std::endl;
1662
ParseNodePrintDOTVisitor::begin_visit(const DeleteExpr &n)
1664
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1665
<< "label=\"DeleteExpr\\n["
1666
<< n.get_location() << "]" << "\"]" << std::endl;
1674
ParseNodePrintDOTVisitor::begin_visit(const InsertExpr &n)
1676
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1677
<< "label=\"InsertExpr\\n["
1678
<< n.get_location() << "]" << "\"]" << std::endl;
1686
ParseNodePrintDOTVisitor::begin_visit(const RenameExpr &n)
1688
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1689
<< "label=\"RenameExpr\\n["
1690
<< n.get_location() << "]" << "\"]" << std::endl;
1698
ParseNodePrintDOTVisitor::begin_visit(const ReplaceExpr &n)
1700
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1701
<< "label=\"ReplaceExpr\\n["
1702
<< n.get_location() << "]" << "\"]" << std::endl;
1710
ParseNodePrintDOTVisitor::begin_visit(const RevalidationDecl &n)
1712
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1713
<< "label=\"RevalidationDecl\\n["
1714
<< n.get_location() << "]" << "\"]" << std::endl;
1722
ParseNodePrintDOTVisitor::begin_visit(const TransformExpr &n)
1724
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1725
<< "label=\"TransformExpr\\n["
1726
<< n.get_location() << "]" << "\"]" << std::endl;
1734
ParseNodePrintDOTVisitor::begin_visit(const VarNameList &n)
1736
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1737
<< "label=\"VarNameList\\n["
1738
<< n.get_location() << "]" << "\"]" << std::endl;
1747
ParseNodePrintDOTVisitor::begin_visit(const FTAnd &n)
1749
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1750
<< "label=\"FTAnd\\n["
1751
<< n.get_location() << "]" << "\"]" << std::endl;
1759
ParseNodePrintDOTVisitor::begin_visit(const FTAnyallOption &n)
1761
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1762
<< "label=\"FTAnyallOption\\n["
1763
<< n.get_location() << "]" << "\"]" << std::endl;
1771
ParseNodePrintDOTVisitor::begin_visit(const FTBigUnit &n)
1773
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1774
<< "label=\"FTBigUnit\\n["
1775
<< n.get_location() << "]" << "\"]" << std::endl;
1783
ParseNodePrintDOTVisitor::begin_visit(const FTCaseOption &n)
1785
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1786
<< "label=\"FTCaseOption\\n["
1787
<< n.get_location() << "]" << "\"]" << std::endl;
1795
ParseNodePrintDOTVisitor::begin_visit(const FTContainsExpr &n)
1797
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1798
<< "label=\"FTContainsExpr\\n["
1799
<< n.get_location() << "]" << "\"]" << std::endl;
1807
ParseNodePrintDOTVisitor::begin_visit(const FTContent &n)
1809
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1810
<< "label=\"FTContent\\n["
1811
<< n.get_location() << "]" << "\"]" << std::endl;
1819
ParseNodePrintDOTVisitor::begin_visit(const FTDiacriticsOption &n)
1821
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1822
<< "label=\"FTDiacriticsOption\\n["
1823
<< n.get_location() << "]" << "\"]" << std::endl;
1831
ParseNodePrintDOTVisitor::begin_visit(const FTDistance &n)
1833
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1834
<< "label=\"FTDistance\\n["
1835
<< n.get_location() << "]" << "\"]" << std::endl;
1843
ParseNodePrintDOTVisitor::begin_visit(const FTIgnoreOption &n)
1845
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1846
<< "label=\"FTIgnoreOption\\n["
1847
<< n.get_location() << "]" << "\"]" << std::endl;
1855
ParseNodePrintDOTVisitor::begin_visit(const FTInclExclStringLiteral &n)
1857
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1858
<< "label=\"FTInclExclStringLiteral\\n["
1859
<< n.get_location() << "]" << "\"]" << std::endl;
1867
ParseNodePrintDOTVisitor::begin_visit(const FTInclExclStringLiteralList &n)
1869
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1870
<< "label=\"FTInclExclStringLiteralList\\n["
1871
<< n.get_location() << "]" << "\"]" << std::endl;
1879
ParseNodePrintDOTVisitor::begin_visit(const FTLanguageOption &n)
1881
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1882
<< "label=\"FTLanguageOption\\n["
1883
<< n.get_location() << "]" << "\"]" << std::endl;
1891
ParseNodePrintDOTVisitor::begin_visit(const FTMatchOption &n)
1893
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1894
<< "label=\"FTMatchOption\\n["
1895
<< n.get_location() << "]" << "\"]" << std::endl;
1903
ParseNodePrintDOTVisitor::begin_visit(const FTMatchOptionProximityList &n)
1905
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1906
<< "label=\"FTMatchOptionProximityList\\n["
1907
<< n.get_location() << "]" << "\"]" << std::endl;
1915
ParseNodePrintDOTVisitor::begin_visit(const FTMildnot &n)
1917
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1918
<< "label=\"FTMildnot\\n["
1919
<< n.get_location() << "]" << "\"]" << std::endl;
1927
ParseNodePrintDOTVisitor::begin_visit(const FTOptionDecl &n)
1929
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1930
<< "label=\"FTOptionDecl\\n["
1931
<< n.get_location() << "]" << "\"]" << std::endl;
1939
ParseNodePrintDOTVisitor::begin_visit(const FTOr &n)
1941
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1942
<< "label=\"FTOr\\n["
1943
<< n.get_location() << "]" << "\"]" << std::endl;
1951
ParseNodePrintDOTVisitor::begin_visit(const FTOrderedIndicator &n)
1953
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1954
<< "label=\"FTOrderedIndicator\\n["
1955
<< n.get_location() << "]" << "\"]" << std::endl;
1963
ParseNodePrintDOTVisitor::begin_visit(const FTProximity &n)
1965
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1966
<< "label=\"FTProximity\\n["
1967
<< n.get_location() << "]" << "\"]" << std::endl;
1975
ParseNodePrintDOTVisitor::begin_visit(const FTRange &n)
1977
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1978
<< "label=\"FTRange\\n["
1979
<< n.get_location() << "]" << "\"]" << std::endl;
1987
ParseNodePrintDOTVisitor::begin_visit(const FTRefOrList &n)
1989
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
1990
<< "label=\"FTRefOrList\\n["
1991
<< n.get_location() << "]" << "\"]" << std::endl;
1999
ParseNodePrintDOTVisitor::begin_visit(const FTScope &n)
2001
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2002
<< "label=\"FTScope\\n["
2003
<< n.get_location() << "]" << "\"]" << std::endl;
2011
ParseNodePrintDOTVisitor::begin_visit(const FTScoreVar &n)
2013
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2014
<< "label=\"FTScoreVar\\n["
2015
<< n.get_location() << "]" << "\"]" << std::endl;
2023
ParseNodePrintDOTVisitor::begin_visit(const FTSelection &n)
2025
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2026
<< "label=\"FTSelection\\n["
2027
<< n.get_location() << "]" << "\"]" << std::endl;
2035
ParseNodePrintDOTVisitor::begin_visit(const FTStemOption &n)
2037
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2038
<< "label=\"FTStemOption\\n["
2039
<< n.get_location() << "]" << "\"]" << std::endl;
2047
ParseNodePrintDOTVisitor::begin_visit(const FTStopwordOption &n)
2049
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2050
<< "label=\"FTStopwordOption\\n["
2051
<< n.get_location() << "]" << "\"]" << std::endl;
2059
ParseNodePrintDOTVisitor::begin_visit(const FTStringLiteralList &n)
2061
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2062
<< "label=\"FTStringLiteralList\\n["
2063
<< n.get_location() << "]" << "\"]" << std::endl;
2071
ParseNodePrintDOTVisitor::begin_visit(const FTThesaurusID &n)
2073
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2074
<< "label=\"FTThesaurusID\\n["
2075
<< n.get_location() << "]" << "\"]" << std::endl;
2083
ParseNodePrintDOTVisitor::begin_visit(const FTThesaurusList &n)
2085
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2086
<< "label=\"FTThesaurusList\\n["
2087
<< n.get_location() << "]" << "\"]" << std::endl;
2095
ParseNodePrintDOTVisitor::begin_visit(const FTThesaurusOption &n)
2097
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2098
<< "label=\"FTThesaurusOption\\n["
2099
<< n.get_location() << "]" << "\"]" << std::endl;
2107
ParseNodePrintDOTVisitor::begin_visit(const FTTimes &n)
2109
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2110
<< "label=\"FTTimes\\n["
2111
<< n.get_location() << "]" << "\"]" << std::endl;
2119
ParseNodePrintDOTVisitor::begin_visit(const FTUnaryNot &n)
2121
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2122
<< "label=\"FTUnaryNot\\n["
2123
<< n.get_location() << "]" << "\"]" << std::endl;
2131
ParseNodePrintDOTVisitor::begin_visit(const FTUnit &n)
2133
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2134
<< "label=\"FTUnit\\n["
2135
<< n.get_location() << "]" << "\"]" << std::endl;
2143
ParseNodePrintDOTVisitor::begin_visit(const FTWildcardOption &n)
2145
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2146
<< "label=\"FTWildcardOption\\n["
2147
<< n.get_location() << "]" << "\"]" << std::endl;
2155
ParseNodePrintDOTVisitor::begin_visit(const FTWindow &n)
2157
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2158
<< "label=\"FTWindow\\n["
2159
<< n.get_location() << "]" << "\"]" << std::endl;
2167
ParseNodePrintDOTVisitor::begin_visit(const FTWords &n)
2169
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2170
<< "label=\"FTWords\\n["
2171
<< n.get_location() << "]" << "\"]" << std::endl;
2179
ParseNodePrintDOTVisitor::begin_visit(const FTWordsSelection &n)
2181
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2182
<< "label=\"FTWordsSelection\\n["
2183
<< n.get_location() << "]" << "\"]" << std::endl;
2191
ParseNodePrintDOTVisitor::begin_visit(const FTWordsValue &n)
2193
os << reinterpret_cast<intptr_t>(&n) << "[" << std::endl
2194
<< "label=\"FTWordsValue\\n["
2195
<< n.get_location() << "]" << "\"]" << std::endl;
2203
ParseNodePrintDOTVisitor::end_visit(const parsenode &n)
2209
ParseNodePrintDOTVisitor::end_visit(const AbbrevForwardStep &n)
2211
if (n.get_node_test() != NULL)
2212
os << reinterpret_cast<intptr_t>(&n) << " -> "
2213
<< reinterpret_cast<intptr_t>(&*n.get_node_test()) << std::endl;
2217
ParseNodePrintDOTVisitor::end_visit(const AnyKindTest &n)
2222
ParseNodePrintDOTVisitor::end_visit(const AposAttrContentList &n)
2228
ParseNodePrintDOTVisitor::end_visit(const AposAttrValueContent &n)
2234
ParseNodePrintDOTVisitor::end_visit(const ArgList &n)
2240
ParseNodePrintDOTVisitor::end_visit(const AtomicType &n)
2246
ParseNodePrintDOTVisitor::end_visit(const AttributeTest &n)
2252
ParseNodePrintDOTVisitor::end_visit(const BaseURIDecl &n)
2258
ParseNodePrintDOTVisitor::end_visit(const BoundarySpaceDecl &n)
2264
ParseNodePrintDOTVisitor::end_visit(const CaseClause &n)
2270
ParseNodePrintDOTVisitor::end_visit(const CaseClauseList &n)
2276
ParseNodePrintDOTVisitor::end_visit(const CommentTest &n)
2282
ParseNodePrintDOTVisitor::end_visit(const ConstructionDecl &n)
2288
ParseNodePrintDOTVisitor::end_visit(const CopyNamespacesDecl &n)
2294
ParseNodePrintDOTVisitor::end_visit(const DefaultCollationDecl &n)
2300
ParseNodePrintDOTVisitor::end_visit(const DefaultNamespaceDecl &n)
2306
ParseNodePrintDOTVisitor::end_visit(const DirAttr &n)
2312
ParseNodePrintDOTVisitor::end_visit(const DirAttributeList &n)
2318
ParseNodePrintDOTVisitor::end_visit(const DirAttributeValue &n)
2324
ParseNodePrintDOTVisitor::end_visit(const DirElemContentList &n)
2330
ParseNodePrintDOTVisitor::end_visit(const DocumentTest &n)
2336
ParseNodePrintDOTVisitor::end_visit(const ElementTest &n)
2342
ParseNodePrintDOTVisitor::end_visit(const EmptyOrderDecl &n)
2348
ParseNodePrintDOTVisitor::end_visit(const ForClause &n)
2354
// ParseNodePrintDOTVisitor::end_visit(const ForLetClause &n)
2359
// os << "</MainModule>";
2365
ParseNodePrintDOTVisitor::end_visit(const ForLetClauseList &n)
2371
ParseNodePrintDOTVisitor::end_visit(const ForwardAxis &n)
2378
ParseNodePrintDOTVisitor::end_visit(const ForwardStep &n)
2380
if (n.get_forward_axis() != NULL)
2381
os << reinterpret_cast<intptr_t>(&n) << " -> "
2382
<< reinterpret_cast<intptr_t>(&*n.get_forward_axis()) << std::endl;
2384
if (n.get_node_test() != NULL)
2385
os << reinterpret_cast<intptr_t>(&n) << " -> "
2386
<< reinterpret_cast<intptr_t>(&*n.get_node_test()) << std::endl;
2388
if (n.get_abbrev_step() != NULL)
2389
os << reinterpret_cast<intptr_t>(&n) << " -> "
2390
<< reinterpret_cast<intptr_t>(&*n.get_abbrev_step()) << std::endl;
2396
ParseNodePrintDOTVisitor::end_visit(const FunctionDecl &n)
2402
ParseNodePrintDOTVisitor::end_visit(const GeneralComp &n)
2408
ParseNodePrintDOTVisitor::end_visit(const ItemType &n)
2414
ParseNodePrintDOTVisitor::end_visit(const LetClause &n)
2420
ParseNodePrintDOTVisitor::end_visit(const LibraryModule &n)
2422
os << reinterpret_cast<intptr_t>(&n) << " -> "
2423
<< reinterpret_cast<intptr_t>(&*n.get_decl());
2425
os << reinterpret_cast<intptr_t>(&n) << " -> "
2426
<< reinterpret_cast<intptr_t>(&*n.get_prolog());
2432
ParseNodePrintDOTVisitor::end_visit(const MainModule &n)
2434
if (n.get_prolog() != NULL)
2435
os << reinterpret_cast<intptr_t>(&n) << " -> "
2436
<< reinterpret_cast<intptr_t>(&*n.get_prolog()) << std::endl;
2438
if (n.get_query_body() != NULL)
2439
os << reinterpret_cast<intptr_t>(&n) << " -> "
2440
<< reinterpret_cast<intptr_t>(&*n.get_query_body()) << std::endl;
2445
ParseNodePrintDOTVisitor::end_visit(const Module &n)
2451
ParseNodePrintDOTVisitor::end_visit(const ModuleDecl &n)
2454
os << reinterpret_cast<intptr_t>(&n) << " -> "
2455
<< reinterpret_cast<intptr_t>(&n);
2462
ParseNodePrintDOTVisitor::end_visit(const ModuleImport &n)
2468
ParseNodePrintDOTVisitor::end_visit(const NameTest &n)
2474
ParseNodePrintDOTVisitor::end_visit(const NamespaceDecl &n)
2480
ParseNodePrintDOTVisitor::end_visit(const NodeComp &n)
2486
ParseNodePrintDOTVisitor::end_visit(const OccurrenceIndicator &n)
2492
ParseNodePrintDOTVisitor::end_visit(const OptionDecl &n)
2498
ParseNodePrintDOTVisitor::end_visit(const OrderByClause &n)
2504
ParseNodePrintDOTVisitor::end_visit(const OrderCollationSpec &n)
2510
ParseNodePrintDOTVisitor::end_visit(const OrderDirSpec &n)
2516
ParseNodePrintDOTVisitor::end_visit(const OrderEmptySpec &n)
2522
ParseNodePrintDOTVisitor::end_visit(const OrderModifier &n)
2528
ParseNodePrintDOTVisitor::end_visit(const OrderSpec &n)
2534
ParseNodePrintDOTVisitor::end_visit(const OrderSpecList &n)
2540
ParseNodePrintDOTVisitor::end_visit(const OrderingModeDecl &n)
2546
ParseNodePrintDOTVisitor::end_visit(const PITest &n)
2552
ParseNodePrintDOTVisitor::end_visit(const Param &n)
2558
ParseNodePrintDOTVisitor::end_visit(const ParamList &n)
2564
ParseNodePrintDOTVisitor::end_visit(const PositionalVar &n)
2570
ParseNodePrintDOTVisitor::end_visit(const Pragma &n)
2576
ParseNodePrintDOTVisitor::end_visit(const PragmaList &n)
2582
ParseNodePrintDOTVisitor::end_visit(const PredicateList &n)
2588
ParseNodePrintDOTVisitor::end_visit(const Prolog &n)
2594
ParseNodePrintDOTVisitor::end_visit(const QVarInDecl &n)
2600
ParseNodePrintDOTVisitor::end_visit(const QVarInDeclList &n)
2606
ParseNodePrintDOTVisitor::end_visit(const QuoteAttrValueContent &n)
2612
ParseNodePrintDOTVisitor::end_visit(const QuoteAttrContentList &n)
2618
ParseNodePrintDOTVisitor::end_visit(const ReverseAxis &n)
2624
ParseNodePrintDOTVisitor::end_visit(const ReverseStep &n)
2630
ParseNodePrintDOTVisitor::end_visit(const SIND_DeclList &n)
2636
ParseNodePrintDOTVisitor::end_visit(const SchemaAttributeTest &n)
2642
ParseNodePrintDOTVisitor::end_visit(const SchemaElementTest &n)
2648
ParseNodePrintDOTVisitor::end_visit(const SchemaImport &n)
2654
ParseNodePrintDOTVisitor::end_visit(const SchemaPrefix &n)
2660
ParseNodePrintDOTVisitor::end_visit(const SequenceType &n)
2666
ParseNodePrintDOTVisitor::end_visit(const SignList &n)
2672
ParseNodePrintDOTVisitor::end_visit(const SingleType &n)
2678
ParseNodePrintDOTVisitor::end_visit(const TextTest &n)
2684
ParseNodePrintDOTVisitor::end_visit(const TypeDeclaration &n)
2690
ParseNodePrintDOTVisitor::end_visit(const TypeName &n)
2696
ParseNodePrintDOTVisitor::end_visit(const URILiteralList &n)
2702
ParseNodePrintDOTVisitor::end_visit(const ValueComp &n)
2708
ParseNodePrintDOTVisitor::end_visit(const VarDecl &n)
2714
ParseNodePrintDOTVisitor::end_visit(const VarGetsDecl &n)
2720
ParseNodePrintDOTVisitor::end_visit(const VarGetsDeclList &n)
2726
ParseNodePrintDOTVisitor::end_visit(const VarInDecl &n)
2732
ParseNodePrintDOTVisitor::end_visit(const VarInDeclList &n)
2738
ParseNodePrintDOTVisitor::end_visit(const VersionDecl &n)
2744
ParseNodePrintDOTVisitor::end_visit(const VFO_DeclList &n)
2750
ParseNodePrintDOTVisitor::end_visit(const WhereClause &n)
2756
ParseNodePrintDOTVisitor::end_visit(const Wildcard &n)
2763
ParseNodePrintDOTVisitor::end_visit(const exprnode &n)
2769
ParseNodePrintDOTVisitor::end_visit(const AdditiveExpr &n)
2775
ParseNodePrintDOTVisitor::end_visit(const AndExpr &n)
2781
ParseNodePrintDOTVisitor::end_visit(const AxisStep &n)
2783
if (n.get_forward_step() != NULL)
2784
os << reinterpret_cast<intptr_t>(&n) << " -> "
2785
<< reinterpret_cast<intptr_t>(&*n.get_forward_step()) << std::endl;
2787
if (n.get_reverse_step() != NULL)
2788
os << reinterpret_cast<intptr_t>(&n) << " -> "
2789
<< reinterpret_cast<intptr_t>(&*n.get_reverse_step()) << std::endl;
2791
if (n.get_predicate_list() != NULL)
2792
os << reinterpret_cast<intptr_t>(&n) << " -> "
2793
<< reinterpret_cast<intptr_t>(&*n.get_predicate_list()) << std::endl;
2798
ParseNodePrintDOTVisitor::end_visit(const CDataSection &n)
2804
ParseNodePrintDOTVisitor::end_visit(const CastExpr &n)
2810
ParseNodePrintDOTVisitor::end_visit(const CastableExpr &n)
2816
ParseNodePrintDOTVisitor::end_visit(const CommonContent &n)
2822
ParseNodePrintDOTVisitor::end_visit(const ComparisonExpr &n)
2828
ParseNodePrintDOTVisitor::end_visit(const CompAttrConstructor &n)
2834
ParseNodePrintDOTVisitor::end_visit(const CompCommentConstructor &n)
2840
ParseNodePrintDOTVisitor::end_visit(const CompDocConstructor &n)
2846
ParseNodePrintDOTVisitor::end_visit(const CompElemConstructor &n)
2852
ParseNodePrintDOTVisitor::end_visit(const CompPIConstructor &n)
2858
ParseNodePrintDOTVisitor::end_visit(const CompTextConstructor &n)
2864
ParseNodePrintDOTVisitor::end_visit(const ContextItemExpr &n)
2870
ParseNodePrintDOTVisitor::end_visit(const DirCommentConstructor &n)
2876
ParseNodePrintDOTVisitor::end_visit(const DirElemConstructor &n)
2882
ParseNodePrintDOTVisitor::end_visit(const DirElemContent &n)
2888
ParseNodePrintDOTVisitor::end_visit(const DirPIConstructor &n)
2894
ParseNodePrintDOTVisitor::end_visit(const EnclosedExpr &n)
2900
ParseNodePrintDOTVisitor::end_visit(const Expr &n)
2902
for (int i = 0; i < n.numberOfChildren(); ++i)
2904
os << reinterpret_cast<intptr_t>(&n) << " -> "
2905
<< reinterpret_cast<intptr_t>(&*(n[i])) << std::endl;
2911
// ParseNodePrintDOTVisitor::end_visit(const ExprSingle &n)
2916
// os << "</MainModule>";
2922
ParseNodePrintDOTVisitor::end_visit(const ExtensionExpr &n)
2928
ParseNodePrintDOTVisitor::end_visit(const FLWORExpr &n)
2934
ParseNodePrintDOTVisitor::end_visit(const FilterExpr &n)
2940
ParseNodePrintDOTVisitor::end_visit(const FunctionCall &n)
2946
ParseNodePrintDOTVisitor::end_visit(const IfExpr &n)
2952
ParseNodePrintDOTVisitor::end_visit(const InstanceofExpr &n)
2958
ParseNodePrintDOTVisitor::end_visit(const IntersectExceptExpr &n)
2964
ParseNodePrintDOTVisitor::end_visit(const MultiplicativeExpr &n)
2970
ParseNodePrintDOTVisitor::end_visit(const NumericLiteral &n)
2976
ParseNodePrintDOTVisitor::end_visit(const OrExpr &n)
2982
ParseNodePrintDOTVisitor::end_visit(const OrderedExpr &n)
2988
ParseNodePrintDOTVisitor::end_visit(const ParenthesizedExpr &n)
2994
ParseNodePrintDOTVisitor::end_visit(const PathExpr &n)
2996
if (n.get_relpath_expr() != NULL)
2997
os << reinterpret_cast<intptr_t>(&n) << " -> "
2998
<< reinterpret_cast<intptr_t>(&*n.get_relpath_expr()) << std::endl;
3003
ParseNodePrintDOTVisitor::end_visit(const QuantifiedExpr &n)
3009
ParseNodePrintDOTVisitor::end_visit(const QueryBody &n)
3011
if (n.get_expr() != NULL)
3012
os << reinterpret_cast<intptr_t>(&n) << " -> "
3013
<< reinterpret_cast<intptr_t>(&*n.get_expr()) << std::endl;
3018
ParseNodePrintDOTVisitor::end_visit(const RangeExpr &n)
3024
ParseNodePrintDOTVisitor::end_visit(const RelativePathExpr &n)
3030
ParseNodePrintDOTVisitor::end_visit(const StringLiteral &n)
3036
ParseNodePrintDOTVisitor::end_visit(const TreatExpr &n)
3042
ParseNodePrintDOTVisitor::end_visit(const TypeswitchExpr &n)
3048
ParseNodePrintDOTVisitor::end_visit(const UnaryExpr &n)
3054
ParseNodePrintDOTVisitor::end_visit(const UnionExpr &n)
3060
ParseNodePrintDOTVisitor::end_visit(const UnorderedExpr &n)
3066
ParseNodePrintDOTVisitor::end_visit(const ValidateExpr &n)
3072
ParseNodePrintDOTVisitor::end_visit(const VarRef &n)
3077
ParseNodePrintDOTVisitor::end_visit(const DeleteExpr &n)
3083
ParseNodePrintDOTVisitor::end_visit(const InsertExpr &n)
3089
ParseNodePrintDOTVisitor::end_visit(const RenameExpr &n)
3095
ParseNodePrintDOTVisitor::end_visit(const ReplaceExpr &n)
3101
ParseNodePrintDOTVisitor::end_visit(const RevalidationDecl &n)
3107
ParseNodePrintDOTVisitor::end_visit(const TransformExpr &n)
3113
ParseNodePrintDOTVisitor::end_visit(const VarNameList &n)
3119
ParseNodePrintDOTVisitor::end_visit(const FTAnd &n)
3125
ParseNodePrintDOTVisitor::end_visit(const FTAnyallOption &n)
3131
ParseNodePrintDOTVisitor::end_visit(const FTBigUnit &n)
3137
ParseNodePrintDOTVisitor::end_visit(const FTCaseOption &n)
3143
ParseNodePrintDOTVisitor::end_visit(const FTContainsExpr &n)
3149
ParseNodePrintDOTVisitor::end_visit(const FTContent &n)
3155
ParseNodePrintDOTVisitor::end_visit(const FTDiacriticsOption &n)
3161
ParseNodePrintDOTVisitor::end_visit(const FTDistance &n)
3167
ParseNodePrintDOTVisitor::end_visit(const FTIgnoreOption &n)
3173
ParseNodePrintDOTVisitor::end_visit(const FTInclExclStringLiteral &n)
3179
ParseNodePrintDOTVisitor::end_visit(const FTInclExclStringLiteralList &n)
3185
ParseNodePrintDOTVisitor::end_visit(const FTLanguageOption &n)
3191
ParseNodePrintDOTVisitor::end_visit(const FTMatchOption &n)
3197
ParseNodePrintDOTVisitor::end_visit(const FTMatchOptionProximityList &n)
3203
ParseNodePrintDOTVisitor::end_visit(const FTMildnot &n)
3209
ParseNodePrintDOTVisitor::end_visit(const FTOptionDecl &n)
3215
ParseNodePrintDOTVisitor::end_visit(const FTOr &n)
3221
ParseNodePrintDOTVisitor::end_visit(const FTOrderedIndicator &n)
3227
ParseNodePrintDOTVisitor::end_visit(const FTProximity &n)
3233
ParseNodePrintDOTVisitor::end_visit(const FTRange &n)
3239
ParseNodePrintDOTVisitor::end_visit(const FTRefOrList &n)
3245
ParseNodePrintDOTVisitor::end_visit(const FTScope &n)
3251
ParseNodePrintDOTVisitor::end_visit(const FTScoreVar &n)
3257
ParseNodePrintDOTVisitor::end_visit(const FTSelection &n)
3263
ParseNodePrintDOTVisitor::end_visit(const FTStemOption &n)
3269
ParseNodePrintDOTVisitor::end_visit(const FTStopwordOption &n)
3275
ParseNodePrintDOTVisitor::end_visit(const FTStringLiteralList &n)
3281
ParseNodePrintDOTVisitor::end_visit(const FTThesaurusID &n)
3287
ParseNodePrintDOTVisitor::end_visit(const FTThesaurusList &n)
3293
ParseNodePrintDOTVisitor::end_visit(const FTThesaurusOption &n)
3299
ParseNodePrintDOTVisitor::end_visit(const FTTimes &n)
3305
ParseNodePrintDOTVisitor::end_visit(const FTUnaryNot &n)
3311
ParseNodePrintDOTVisitor::end_visit(const FTUnit &n)
3317
ParseNodePrintDOTVisitor::end_visit(const FTWildcardOption &n)
3323
ParseNodePrintDOTVisitor::end_visit(const FTWindow &n)
3329
ParseNodePrintDOTVisitor::end_visit(const FTWords &n)
3335
ParseNodePrintDOTVisitor::end_visit(const FTWordsSelection &n)
3341
ParseNodePrintDOTVisitor::end_visit(const FTWordsValue &n)