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

7
LINES

< > BotCompany Repo | #1021574 // gazelle_searchTreeUpwardsForDefinition

JavaX fragment (include)

1  
static L<GazelleTree> gazelle_searchTreeUpwardsForDefinitions(S word, GazelleTree tree) {
2  
  if (tree == null || empty(word)) null;
3  
  fS prefix = word + " = ";
4  
  ret gazelle_searchTreeUpwards_all(func(GazelleTree t) -> bool {
5  
    swic(t.line, prefix)
6  
  }, tree);
7  
}

Author comment

Began life as a copy of #1021564

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: #1021574
Snippet name: gazelle_searchTreeUpwardsForDefinition
Eternal ID of this version: #1021574/1
Text MD5: 93293954f2505870036d7f23d30c95ba
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-18 16:41:42
Source code size: 269 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 325
Referenced in: [show references]