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

8
LINES

< > BotCompany Repo | #1035279 // test_leftArrowScript_returnValueNotNeededOptimization

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

Uses 679K of libraries. Click here for Pure Java version (30267L/151K).

1  
svoid test_leftArrowScript_returnValueNotNeededOptimization() {
2  
  LS tok = javaTokForStructure(sfu(leftArrowParse("for y to 2 { for x to 2 { y } }; null")));
3  
  
4  
  // Note: This is not very robust - the line "null" could also contain a
5  
  // returnValueNeeded field in the future
6  
  assertFalse("test_leftArrowScript_returnValueNotNeededOptimization",
7  
    !jcontains(tok, "returnValueNeeded=t"));
8  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035279
Snippet name: test_leftArrowScript_returnValueNotNeededOptimization
Eternal ID of this version: #1035279/1
Text MD5: f5aa49251b5cb6baf688dcf7b8e38640
Transpilation MD5: 00a6f61914129060600288d681e4d056
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-28 22:29:52
Source code size: 402 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 122 / 177
Referenced in: [show references]