summaryrefslogtreecommitdiff
path: root/tests/examplefiles/prolog/sibling.prolog.output
blob: 320f7a7f8c5a680a3e3d7e85a0ef1a3a997ef97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
'/*'          Comment.Multiline
' Comments '  Comment.Multiline
'/*'          Comment.Multiline
' can nest '  Comment.Multiline
'*/'          Comment.Multiline
'\nstill a comment\n' Comment.Multiline

'*/'          Comment.Multiline
'\n\n'        Text

':-'          Punctuation
' '           Text
'module'      Name.Function
'('           Punctuation
'maplist'     Literal.String.Atom
','           Punctuation
' '           Text
'maplist'     Literal.String.Atom
'/'           Operator
'3'           Literal.Number.Integer
')'           Punctuation
'\n\n'        Text

'assert'      Name.Function
'('           Punctuation
'world'       Name.Namespace
':'           Punctuation
'done'        Literal.String.Atom
')'           Punctuation
'.'           Punctuation
' '           Text
'% asserts'   Comment.Single
'\n\n'        Text

'sibling'     Name.Function
'('           Punctuation
'X'           Name.Variable
','           Punctuation
' '           Text
'Y'           Name.Variable
')'           Punctuation
'      '      Text
':-'          Punctuation
' '           Text
'parent_child' Name.Function
'('           Punctuation
'Z'           Name.Variable
','           Punctuation
' '           Text
'X'           Name.Variable
')'           Punctuation
','           Punctuation
' '           Text
'parent_child' Name.Function
'('           Punctuation
'Z'           Name.Variable
','           Punctuation
' '           Text
'Y'           Name.Variable
')'           Punctuation
'.'           Punctuation
'\n\n'        Text

'parent_child' Name.Function
'('           Punctuation
'X'           Name.Variable
','           Punctuation
' '           Text
'Y'           Name.Variable
')'           Punctuation
' '           Text
':-'          Punctuation
' '           Text
'father_child' Name.Function
'('           Punctuation
'X'           Name.Variable
','           Punctuation
' '           Text
'Y'           Name.Variable
')'           Punctuation
'.'           Punctuation
'\n'          Text

'parent_child' Name.Function
'('           Punctuation
'X'           Name.Variable
','           Punctuation
' '           Text
'Y'           Name.Variable
')'           Punctuation
' '           Text
':-'          Punctuation
' '           Text
'mother_child' Name.Function
'('           Punctuation
'X'           Name.Variable
','           Punctuation
' '           Text
'Y'           Name.Variable
')'           Punctuation
'.'           Punctuation
'\n\n'        Text

'mother_child' Name.Function
'('           Punctuation
'trude'       Literal.String.Atom
','           Punctuation
' '           Text
'sally'       Literal.String.Atom
')'           Punctuation
'.'           Punctuation
'\n\n'        Text

'father_child' Name.Function
'('           Punctuation
'tom'         Literal.String.Atom
','           Punctuation
' '           Text
'sally'       Literal.String.Atom
')'           Punctuation
'.'           Punctuation
'\n'          Text

'father_child' Name.Function
'('           Punctuation
'tom'         Literal.String.Atom
','           Punctuation
' '           Text
'erica'       Literal.String.Atom
')'           Punctuation
'.'           Punctuation
'\n'          Text

'father_child' Name.Function
'('           Punctuation
'mike'        Literal.String.Atom
','           Punctuation
' '           Text
'tom'         Literal.String.Atom
')'           Punctuation
'.'           Punctuation
'\n'          Text