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

7
LINES

< > BotCompany Repo | #1025253 // allTagNames

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

Libraryless. Click here for Pure Java version (2437L/15K).

static Set<S> allTagNames(S html) {
  ret allTagNames(htmlTok(html));
}

static Set<S> allTagNames(LS htmlTok) {
  ret asCISet(dropStartingWith("/", map getTag(codeTokens(htmlTok))));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025253
Snippet name: allTagNames
Eternal ID of this version: #1025253/3
Text MD5: 11d90317ec05b19c8e3a7fdca8f1c566
Transpilation MD5: c37487f7e7073322efa03a20dbe71feb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-16 18:09:40
Source code size: 191 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 145 / 205
Version history: 2 change(s)
Referenced in: [show references]