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

8
LINES

< > BotCompany Repo | #1020891 // canJavaInterpret - check recursively

JavaX fragment (include)

sbool canJavaInterpret(S code) {
  if (canQuickEval(code)) true;
  Pair<S, L<S>> p = tok_parseFunctionCall(code);
  if (p == null) false;
  for (S arg : p.b)
    if (!canJavaInterpret(arg)) false;
  true;
}

Author comment

Began life as a copy of #1017575

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020891
Snippet name: canJavaInterpret - check recursively
Eternal ID of this version: #1020891/5
Text MD5: e77df3c0f770eabab49659770c72407e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-08 15:34:37
Source code size: 213 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 251
Version history: 4 change(s)
Referenced in: [show references]