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

12
LINES

< > BotCompany Repo | #1026501 - MMOPattern

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

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

1  
sclass MMOPattern {
2  
  srecord Phrase(S phrase, bool quoted) > MMOPattern {}
3  
  srecord And(L<MMOPattern> l) > MMOPattern {}
4  
  srecord Or(L<MMOPattern> l) > MMOPattern {}
5  
  srecord Not(MMOPattern p) > MMOPattern {}
6  
  
7  
  // v2 patterns
8  
  
9  
  srecord Weighted(double weight, MMOPattern p) > MMOPattern {}
10  
  srecord StartOfLine(MMOPattern p) > MMOPattern {}
11  
  srecord EndOfLine(MMOPattern p) > MMOPattern {}
12  
}

Author comment

Began life as a copy of #1026499

download  show line numbers  debug dex   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026501
Snippet name: MMOPattern
Eternal ID of this version: #1026501/8
Text MD5: db09e795c17db6aa9ee5ec0de595421e
Transpilation MD5: 9f56f631182ff27bbb015d256d68ddbf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-17 14:08:39
Source code size: 414 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 43 / 132
Version history: 7 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026501 & http://1026501.tinybrain.de