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

7
LINES

< > BotCompany Repo | #1030138 // tok_isStaticLevelCode - pretty incomplete

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

Libraryless. Click here for Pure Java version (2770L/17K).

sbool tok_isStaticLevelCode(LS tok) {
  ret eqOneOf(firstCodeToken(tok), "static", "sclass", "sinterface", "sS", "sO");
}

sbool tok_isStaticLevelCode(S src) {
  ret tok_isStaticLevelCode(javaTok(src));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030138
Snippet name: tok_isStaticLevelCode - pretty incomplete
Eternal ID of this version: #1030138/5
Text MD5: e5242408dc64d6060184c34fe36598d8
Transpilation MD5: 3d7943229affdf080d2e5c026c1b77aa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-16 15:10:51
Source code size: 210 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 232
Version history: 4 change(s)
Referenced in: [show references]