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

6
LINES

< > BotCompany Repo | #1034704 // test_containsReturnWithArgument - does JavaX code contain a return statement with a value?

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5470L/31K).

svoid test_containsReturnWithArgument() {
  testFunctionValues(s -> containsReturnWithArgument((S) s),
    "ret 1;", true,
    "new O() { O get() { ret 1; } }", false,
  );
}

Author comment

Began life as a copy of #1003914

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034704
Snippet name: test_containsReturnWithArgument - does JavaX code contain a return statement with a value?
Eternal ID of this version: #1034704/3
Text MD5: 3c92563a59a9351b39c9bcac1805c033
Transpilation MD5: b2574d87048ee6f61deb1a896a1329bf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-05 23:02:30
Source code size: 179 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 77 / 121
Version history: 2 change(s)
Referenced in: [show references]