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

53
LINES

< > BotCompany Repo | #1024259 // ALQL AST: ALQLLine, ALQLReturn, ALQLTriple, ALQLLockStatement, ...

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

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

abstract sclass ALQLLine {
  toString { ret stdToString(this); }
}

sclass ALQLReturn > ALQLLine {
  S var;
  
  *() {}
  *(S *var) {}
  
  [stdEq]
}

static record ALQLReturnTuple(LS vars) extends ALQLLine {}

sclass ALQLTriple > ALQLLine {
  T3S triple;
  
  *() {}
  *(T3S *triple) {}
  *(S a, S b, S c) { triple = t3(a, b, c); }
  
  [stdEq]
}

sclass ALQLLockStatement > ALQLLine {
  T3S triple;
  
  *() {}
  *(T3S *triple) {}
  *(S a, S b, S c) { triple = t3(a, b, c); }
  
  [stdEq]  
}

sclass ALQLPage > ALQLLine {
  S page, matchMethod;
  
  *() {}
  *(S *page, S *matchMethod) {}
  
  [stdEq]
}

sclass ALQLSlice > ALQLLine {
  S slice;
  L<ALQLLine> contents;

  *() {}
  *(S *slice, L<ALQLLine> *contents) {}
  
  [stdEq]
} 

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: #1024259
Snippet name: ALQL AST: ALQLLine, ALQLReturn, ALQLTriple, ALQLLockStatement, ...
Eternal ID of this version: #1024259/17
Text MD5: c5248e480d13502d9c21130040ccaac5
Transpilation MD5: 69bf2fead13d39eaea7a6039523624ad
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-03 16:56:53
Source code size: 790 bytes / 53 lines
Pitched / IR pitched: No / No
Views / Downloads: 368 / 817
Version history: 16 change(s)
Referenced in: [show references]