Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1021588 // gazelle_findEqualitiesInTree

JavaX fragment (include)

1  
static L<PairS> gazelle_findEqualitiesInTree(final GazelleTree tree) {
2  
  new L<PairS> out;
3  
  for (GazelleTree t : treeView_allNodes(gazelle_treeView(tree)))
4  
    if (t.rule() != null && contains(t.rule().comments, "equality"))
5  
      out.add(pair(t.parent.line, t.line));
6  
  ret out;
7  
}

Author comment

Began life as a copy of #1021576

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021588
Snippet name: gazelle_findEqualitiesInTree
Eternal ID of this version: #1021588/2
Text MD5: 2c3ff4596f27993d88ede4264eac8d88
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-19 17:14:01
Source code size: 288 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 316 / 326
Version history: 1 change(s)
Referenced in: [show references]