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

4
LINES

< > BotCompany Repo | #1032966 // tok_isBeginningOfStatement

JavaX fragment (include)

sbool tok_isBeginningOfStatement(LS tok, int i) {
  S prev = get(tok, i-2);
  ret eqOneOf(prev, "{", ";", "}", null);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032966
Snippet name: tok_isBeginningOfStatement
Eternal ID of this version: #1032966/3
Text MD5: 2e8c5e161cae92a51e0aa89ba1ad892c
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 06:17:32
Source code size: 122 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 192
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)