Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995457
ast-attachments.lp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 7, 9:44 AM
Size
1 KB
Mime Type
text/plain
Expires
Thu, Jul 9, 9:44 AM (18 h, 34 m)
Engine
blob
Format
Raw Data
Handle
271607
Attached To
rXR Xreate
ast-attachments.lp
View Options
% This Source Code Form is subject to the terms of the Mozilla Public
% License, v. 2.0. If a copy of the MPL was not distributed with this
% file, You can obtain one at http://mozilla.org/MPL/2.0/.
% USAGE:
% attach_operator_map(A->SymbResult, B->SymbSource)
% attach_operator_fold(A->SymbResult, B->SymbSource, C-> SymbAcc)
% attach_operator_list_range(A -> SymbResult)
% attach_operator_list(A -> SymbResult)
% attach_operator_index(A -> SymbResult)
% OPERATOR MAP
bind(SymbResult, A):-
attach_operator_map(A, _);
ast_op_map(SymbResult, _, _);
A<>none.
bind(SymbSource, B):-
attach_operator_map(_, B);
ast_op_map(_, SymbSource, _);
B<>none.
% OPERATOR LIST_RANGE
bind(SymbResult, A):-
ast_op_list_range(SymbResult);
attach_operator_list_range(A).
% OPERATOR LIST
bind(SymbResult, A):-
ast_op_list(SymbResult, _);
attach_operator_list(A).
% OPERATOR FOLD
bind(SymbResult, A):-
attach_operator_fold(A, _, _);
ast_op_fold(SymbResult, _, _, _);
A<>none.
bind(SymbSource, B):-
attach_operator_fold(_, B, _);
ast_op_fold(_, SymbSource, _, _);
B<>none.
bind(SymbAcc, C):-
attach_operator_fold(_, _, C);
ast_op_fold(_, _, SymbAcc, _);
C<>none.
% OPERATOR INDEX
bind(SymbSource, A):-
attach_operator_index(A);
ast_op_index(_, SymbSource, _).
Event Timeline
Log In to Comment