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

6
LINES

< > BotCompany Repo | #1034820 // tok_defEquals

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

Libraryless. Click here for Pure Java version (6021L/34K).

// for an example see HashedBWImage
svoid tok_defEquals(LS tok) {
  replaceKeywordBlock(tok, "equals <id> <id>",
    "public bool equals(O $3) { if ($3 cast $2) {",
    "} false; }");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034820
Snippet name: tok_defEquals
Eternal ID of this version: #1034820/2
Text MD5: 258ddb5711b1e4a6ad41ba0655855708
Transpilation MD5: e8892e168dbd2d2c0bf21d1c0e3821dc
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-10 23:59:16
Source code size: 190 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 134 / 196
Version history: 1 change(s)
Referenced in: [show references]