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

7
LINES

< > BotCompany Repo | #1021574 // gazelle_searchTreeUpwardsForDefinition

JavaX fragment (include)

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

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: 222 / 224
Referenced in: [show references]