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).

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

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: 23 / 41
Referenced in: [show references]