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

8
LINES

< > BotCompany Repo | #1033971 // test_GazelleVScriptParser

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

Libraryless. Click here for Pure Java version (12909L/76K).

svoid test_GazelleVScriptParser() {
  new GazelleVScriptParser<Class> parser;
  GOperator<Class> p = new GOperator<Class>("p").arg(int.class).arg(BWImage).returns(BWImage);
  GOperator<Class> c = new GOperator<Class>("c").arg(int.class).arg(IBWIntegralImage).returns(BWImage);
  parser.addOperators(p, c);
  parser.parse("32p 8c");
  pnl(parser.parsed);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033971
Snippet name: test_GazelleVScriptParser
Eternal ID of this version: #1033971/1
Text MD5: a1916203f6d73b0514409649b69fb55a
Transpilation MD5: a51b6b53fa8436f4479eb67797b3ffc6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-15 03:28:45
Source code size: 362 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 87 / 120
Referenced in: [show references]