Serpent compiler progress + bug fixing:
1. Serpent: added asm block and msg function. 2. Bug: in case of transaction timeout it wasn't canceled from the pending. 3. BlockChain table the option to copy value after mouse click
This commit is contained in:
parent
656733985e
commit
47bc05f4d7
|
@ -11,6 +11,8 @@ import java.awt.datatransfer.Clipboard;
|
|||
import java.awt.datatransfer.StringSelection;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.MouseAdapter;
|
||||
import java.awt.event.MouseEvent;
|
||||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
|
@ -108,6 +110,17 @@ public class BlockChainTable extends JFrame {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
table.addMouseListener(new MouseAdapter() {
|
||||
@Override
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
|
||||
lastFindIndex = ((JTable)(e.getSource())).rowAtPoint(e.getPoint());
|
||||
|
||||
super.mouseClicked(e);
|
||||
}
|
||||
});
|
||||
|
||||
// Add the table to a scrolling pane
|
||||
scrollPane = new JScrollPane(table);
|
||||
topPanel.add(scrollPane, BorderLayout.CENTER);
|
||||
|
|
|
@ -92,6 +92,10 @@ public class ConnectionConsoleWindow extends JFrame implements PeerListener{
|
|||
|
||||
// RomanJ
|
||||
new ClientPeer(thisConsole).connect("54.211.14.10", 40404);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
t.start();
|
||||
|
|
|
@ -6,6 +6,8 @@ import org.ethereum.net.client.ClientPeer;
|
|||
import org.ethereum.util.ByteUtil;
|
||||
import org.ethereum.util.Utils;
|
||||
import org.ethereum.wallet.AddressState;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.spongycastle.util.BigIntegers;
|
||||
import org.spongycastle.util.encoders.Hex;
|
||||
|
||||
|
@ -29,6 +31,9 @@ import java.util.Collection;
|
|||
*/
|
||||
class ContractCallDialog extends JDialog implements MessageAwareDialog{
|
||||
|
||||
Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
|
||||
ContractCallDialog dialog;
|
||||
JComboBox<AddressStateWraper> creatorAddressCombo;
|
||||
final JTextField gasInput;
|
||||
|
@ -233,9 +238,23 @@ class ContractCallDialog extends JDialog implements MessageAwareDialog{
|
|||
byte[] gasValue = BigIntegers.asUnsignedByteArray(gasBI);
|
||||
byte[] endowment = BigIntegers.asUnsignedByteArray(new BigInteger("1000"));
|
||||
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("Contract call:");
|
||||
logger.info("tx.nonce: {}", nonce == null ? "null" : Hex.toHexString(nonce));
|
||||
logger.info("tx.gasPrice: {}", Hex.toHexString(gasPrice));
|
||||
logger.info("tx.gasValue: {}", Hex.toHexString(gasValue));
|
||||
logger.info("tx.address: {}", Hex.toHexString(contractAddress));
|
||||
logger.info("tx.endowment: {}", Hex.toHexString(endowment));
|
||||
logger.info("tx.data: {}", Hex.toHexString(data));
|
||||
}
|
||||
|
||||
Transaction tx = new Transaction(nonce, gasPrice, gasValue,
|
||||
contractAddress, endowment, data);
|
||||
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("tx.hash: {}", (new BigInteger(tx.getHash()).toString(16)));
|
||||
}
|
||||
|
||||
try {
|
||||
tx.sign(senderPrivKey);
|
||||
} catch (Exception e1) {
|
||||
|
|
|
@ -12,7 +12,7 @@ import javax.swing.table.TableCellRenderer;
|
|||
* User: Roman Mandeleil
|
||||
* Created on: 15/05/14 13:08
|
||||
*/
|
||||
public class TableCellLongTextRenderer extends JTextArea implements TableCellRenderer{
|
||||
public class TableCellLongTextRenderer extends JEditorPane implements TableCellRenderer{
|
||||
|
||||
protected static Border m_noFocusBorder;
|
||||
|
||||
|
@ -26,8 +26,8 @@ public class TableCellLongTextRenderer extends JTextArea implements TableCellRen
|
|||
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
|
||||
this.setText((String) value);
|
||||
this.setSelectedTextColor(Color.BLUE);
|
||||
this.setWrapStyleWord(true);
|
||||
this.setLineWrap(true);
|
||||
// this.setWrapStyleWord(true);
|
||||
// this.setLineWrap(true);
|
||||
|
||||
setBackground(isSelected && !hasFocus ? table.getSelectionBackground() : table.getBackground());
|
||||
setForeground(isSelected && !hasFocus ? table.getSelectionForeground() : table.getForeground());
|
||||
|
|
|
@ -116,7 +116,7 @@ public class MainData {
|
|||
for (Transaction tx : block.getTransactionsList()){
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("pending cleanup: tx.hash: [{}]", Hex.toHexString( tx.getHash()));
|
||||
pendingTransactions.remove(tx.getHash());
|
||||
removePendingTransaction(tx);
|
||||
}
|
||||
}
|
||||
logger.info("*** Block chain size: [ {} ]", blockChainDB.size());
|
||||
|
@ -156,6 +156,7 @@ public class MainData {
|
|||
public PendingTransaction addPendingTransaction(Transaction transaction) {
|
||||
|
||||
BigInteger hash = new BigInteger(transaction.getHash());
|
||||
logger.info("pending transaction placed hash: {} ", hash.toString(16) );
|
||||
|
||||
PendingTransaction pendingTransaction = pendingTransactions.get(hash);
|
||||
if (pendingTransaction != null)
|
||||
|
@ -167,6 +168,13 @@ public class MainData {
|
|||
return pendingTransaction;
|
||||
}
|
||||
|
||||
public void removePendingTransaction(Transaction transaction){
|
||||
|
||||
BigInteger hash = new BigInteger(transaction.getHash());
|
||||
logger.info("pending transaction removed hash: {} ", hash.toString(16) );
|
||||
pendingTransactions.remove(hash);
|
||||
}
|
||||
|
||||
public long getGasPrice() {
|
||||
return gasPrice;
|
||||
}
|
||||
|
|
|
@ -31,22 +31,27 @@ public class TransactionTask implements Callable {
|
|||
@Override
|
||||
public Object call() throws Exception {
|
||||
|
||||
logger.info("call() tx: {}", tx.toString());
|
||||
try {
|
||||
logger.info("call() tx: {}", tx.toString());
|
||||
|
||||
ClientPeer peer = MainData.instance.getActivePeer();
|
||||
ClientPeer peer = MainData.instance.getActivePeer();
|
||||
|
||||
PendingTransaction pendingTransaction = MainData.instance.addPendingTransaction(tx);
|
||||
peer.sendTransaction(tx);
|
||||
PendingTransaction pendingTransaction = MainData.instance.addPendingTransaction(tx);
|
||||
peer.sendTransaction(tx);
|
||||
|
||||
int i = 0;
|
||||
while(pendingTransaction.getApproved() < 1 ){
|
||||
int i = 0;
|
||||
while(pendingTransaction.getApproved() < 1 ){
|
||||
|
||||
++i;
|
||||
sleep(10);
|
||||
++i;
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
logger.info("return approved: {}", pendingTransaction.getApproved());
|
||||
} catch (Throwable th) {
|
||||
logger.info("exception caugh: {}", th.getCause());
|
||||
MainData.instance.removePendingTransaction(tx);
|
||||
}
|
||||
|
||||
logger.info("return approved: {}", pendingTransaction.getApproved());
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,9 +28,11 @@ parse: block EOF
|
|||
;
|
||||
|
||||
|
||||
block: (assign | special_func | if_elif_else_stmt | while_stmt | ret_func)* ;
|
||||
block: ( asm | assign | special_func | if_elif_else_stmt | while_stmt | ret_func | msg_func)* ;
|
||||
|
||||
|
||||
asm: '[asm' (ASM_SYMBOLS | INT)* 'asm]' NL;
|
||||
|
||||
if_elif_else_stmt: 'if' condition ':' INDENT block DEDENT
|
||||
('elif' condition ':' INDENT block DEDENT)*
|
||||
('else:' INDENT block DEDENT)?
|
||||
|
@ -96,7 +98,7 @@ block_difficulty
|
|||
block_gaslimit
|
||||
: 'block.gaslimit' ;
|
||||
|
||||
|
||||
msg_func: 'msg' '(' int_val ',' int_val ',' int_val ',' int_val ',' int_val ')' ;
|
||||
|
||||
assign: VAR EQ_OP expression NL;
|
||||
|
||||
|
@ -152,7 +154,14 @@ expression : log_or_exp ;
|
|||
condition: expression ;
|
||||
|
||||
|
||||
int_val : INT | hex_num | get_var | special_func | '(' expression ')' | OP_NOT '(' expression ')' ;
|
||||
int_val : INT |
|
||||
hex_num |
|
||||
get_var |
|
||||
special_func |
|
||||
'(' expression ')' |
|
||||
OP_NOT '(' expression ')' |
|
||||
msg_func
|
||||
;
|
||||
// todo: here the val should include also retrieve a variable
|
||||
|
||||
hex_num
|
||||
|
@ -163,6 +172,11 @@ ret_func: 'return' '(' INT ')' NL;
|
|||
|
||||
get_var: VAR;
|
||||
|
||||
INT: [0-9]+;
|
||||
|
||||
|
||||
ASM_SYMBOLS: 'STOP' | 'ADD' | 'MUL' | 'SUB' | 'DIV' | 'SDIV' | 'MOD' |'SMOD' | 'EXP' | 'NEG' | 'LT' | 'GT' | 'SLT' | 'SGT'| 'EQ' | 'NOT' | 'AND' | 'OR' | 'XOR' | 'BYTE' | 'SHA3' | 'ADDRESS' | 'BALANCE' | 'ORIGIN' | 'CALLER' | 'CALLVALUE' | 'CALLDATALOAD' | 'CALLDATASIZE' | 'CALLDATACOPY' | 'CODESIZE' | 'CODECOPY' | 'GASPRICE' | 'PREVHASH' | 'COINBASE' | 'TIMESTAMP' | 'NUMBER' | 'DIFFICULTY' | 'GASLIMIT' | 'POP' | 'DUP' | 'SWAP' | 'MLOAD' | 'MSTORE' | 'MSTORE8' | 'SLOAD' | 'SSTORE' | 'JUMP' | 'JUMPI' | 'PC' | 'MSIZE' | 'GAS' | 'PUSH1' | 'PUSH2' | 'PUSH3' | 'PUSH4' | 'PUSH5' | 'PUSH6' | 'PUSH7' | 'PUSH8' | 'PUSH9' | 'PUSH10' | 'PUSH11' | 'PUSH12' | 'PUSH13' | 'PUSH14' | 'PUSH15' | 'PUSH16' | 'PUSH17' | 'PUSH18' | 'PUSH19' | 'PUSH20' | 'PUSH21' | 'PUSH22' | 'PUSH23' | 'PUSH24' | 'PUSH25' | 'PUSH26' | 'PUSH27' | 'PUSH28' | 'PUSH29' | 'PUSH30' | 'PUSH31' | 'PUSH32' | 'CREATE' | 'CALL' | 'RETURN' | 'SUICIDE';
|
||||
|
||||
|
||||
/* 'xor', 'and', 'or', 'not' operands should be defined
|
||||
first among lexer rules because it
|
||||
|
@ -179,7 +193,6 @@ NL: ('\r'? '\n' ' '*); // note the ' '*;
|
|||
WS: [ \t]+ -> skip;
|
||||
LINE_COMMENT: '//' ~[\r\n]* -> skip;
|
||||
|
||||
INT: [0-9]+;
|
||||
VAR: [a-zA-Z][a-zA-Z0-9]* ;
|
||||
|
||||
|
||||
|
@ -194,3 +207,4 @@ OP_IN_OR: '|';
|
|||
|
||||
HEX_DIGIT : [0-9a-fA-F];
|
||||
HEX_NUMBER : ('0x' | '0X' )HEX_DIGIT+;
|
||||
|
||||
|
|
|
@ -1,66 +1,75 @@
|
|||
OP_IN_OR=37
|
||||
EQ_OP=26
|
||||
OP_AND=36
|
||||
LINE_COMMENT=29
|
||||
OP_LOG_OR=24
|
||||
OP_ADD=32
|
||||
T__20=1
|
||||
OP_MUL=33
|
||||
HEX_DIGIT=38
|
||||
DEDENT=41
|
||||
INT=30
|
||||
T__9=12
|
||||
T__8=13
|
||||
T__7=14
|
||||
INDENT=40
|
||||
T__6=15
|
||||
T__5=16
|
||||
T__4=17
|
||||
T__19=2
|
||||
OP_EQ=35
|
||||
WS=28
|
||||
T__16=5
|
||||
T__15=6
|
||||
T__18=3
|
||||
T__17=4
|
||||
T__12=9
|
||||
T__11=10
|
||||
T__14=7
|
||||
T__13=8
|
||||
T__1=20
|
||||
T__0=21
|
||||
T__10=11
|
||||
T__3=18
|
||||
T__2=19
|
||||
OP_EX_OR=22
|
||||
VAR=31
|
||||
OP_NOT=25
|
||||
NL=27
|
||||
HEX_NUMBER=39
|
||||
OP_REL=34
|
||||
OP_LOG_AND=23
|
||||
'block.difficulty'=21
|
||||
'|'=37
|
||||
'block.number'=20
|
||||
'block.prevhash'=19
|
||||
'block.gaslimit'=18
|
||||
'contract.balance'=17
|
||||
'msg.value'=16
|
||||
'block.timestamp'=15
|
||||
'msg.sender'=14
|
||||
'='=26
|
||||
'return'=13
|
||||
'elif'=12
|
||||
'if'=11
|
||||
':'=9
|
||||
'('=10
|
||||
'tx.gas'=6
|
||||
OP_IN_OR=42
|
||||
EQ_OP=32
|
||||
OP_AND=41
|
||||
LINE_COMMENT=35
|
||||
T__24=1
|
||||
OP_LOG_OR=30
|
||||
T__23=2
|
||||
T__22=3
|
||||
OP_ADD=37
|
||||
T__21=4
|
||||
T__20=5
|
||||
OP_MUL=38
|
||||
HEX_DIGIT=43
|
||||
DEDENT=46
|
||||
INT=26
|
||||
T__9=16
|
||||
T__8=17
|
||||
T__7=18
|
||||
INDENT=45
|
||||
T__6=19
|
||||
T__5=20
|
||||
T__4=21
|
||||
T__19=6
|
||||
OP_EQ=40
|
||||
WS=34
|
||||
T__16=9
|
||||
T__15=10
|
||||
T__18=7
|
||||
T__17=8
|
||||
T__12=13
|
||||
T__11=14
|
||||
T__14=11
|
||||
T__13=12
|
||||
T__1=24
|
||||
T__0=25
|
||||
T__10=15
|
||||
T__3=22
|
||||
T__2=23
|
||||
OP_EX_OR=28
|
||||
ASM_SYMBOLS=27
|
||||
VAR=36
|
||||
OP_NOT=31
|
||||
NL=33
|
||||
HEX_NUMBER=44
|
||||
OP_REL=39
|
||||
OP_LOG_AND=29
|
||||
'|'=42
|
||||
'block.number'=24
|
||||
'block.gaslimit'=22
|
||||
'asm]'=21
|
||||
'contract.balance'=20
|
||||
'msg.sender'=16
|
||||
'='=32
|
||||
'return'=15
|
||||
'elif'=14
|
||||
'tx.origin'=7
|
||||
'while'=8
|
||||
'tx.gasprice'=4
|
||||
'else:'=5
|
||||
'tx.gasprice'=4
|
||||
')'=3
|
||||
'xor'=22
|
||||
'xor'=28
|
||||
'msg.datasize'=1
|
||||
'block.difficulty'=25
|
||||
'block.prevhash'=23
|
||||
'msg.value'=19
|
||||
'[asm'=18
|
||||
'block.timestamp'=17
|
||||
'if'=13
|
||||
'('=12
|
||||
':'=11
|
||||
'msg'=10
|
||||
'tx.gas'=9
|
||||
'while'=8
|
||||
','=6
|
||||
'block.coinbase'=2
|
||||
'&'=36
|
||||
'&'=41
|
||||
|
|
|
@ -220,6 +220,19 @@ public class SerpentBaseListener implements SerpentListener {
|
|||
*/
|
||||
@Override public void exitBlock_gaslimit(@NotNull SerpentParser.Block_gaslimitContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void enterMsg_func(@NotNull SerpentParser.Msg_funcContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void exitMsg_func(@NotNull SerpentParser.Msg_funcContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
|
@ -389,19 +402,6 @@ public class SerpentBaseListener implements SerpentListener {
|
|||
*/
|
||||
@Override public void exitLog_or_exp(@NotNull SerpentParser.Log_or_expContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void enterBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void exitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
|
@ -415,6 +415,19 @@ public class SerpentBaseListener implements SerpentListener {
|
|||
*/
|
||||
@Override public void exitAnd_exp(@NotNull SerpentParser.And_expContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void enterBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void exitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
|
@ -454,6 +467,19 @@ public class SerpentBaseListener implements SerpentListener {
|
|||
*/
|
||||
@Override public void exitMsg_value(@NotNull SerpentParser.Msg_valueContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void enterAsm(@NotNull SerpentParser.AsmContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation does nothing.
|
||||
*/
|
||||
@Override public void exitAsm(@NotNull SerpentParser.AsmContext ctx) { }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
|
|
|
@ -140,6 +140,14 @@ public class SerpentBaseVisitor<T> extends AbstractParseTreeVisitor<T> implement
|
|||
*/
|
||||
@Override public T visitBlock_gaslimit(@NotNull SerpentParser.Block_gaslimitContext ctx) { return visitChildren(ctx); }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation returns the result of calling
|
||||
* {@link #visitChildren} on {@code ctx}.
|
||||
*/
|
||||
@Override public T visitMsg_func(@NotNull SerpentParser.Msg_funcContext ctx) { return visitChildren(ctx); }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
|
@ -250,7 +258,7 @@ public class SerpentBaseVisitor<T> extends AbstractParseTreeVisitor<T> implement
|
|||
* The default implementation returns the result of calling
|
||||
* {@link #visitChildren} on {@code ctx}.
|
||||
*/
|
||||
@Override public T visitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) { return visitChildren(ctx); }
|
||||
@Override public T visitAnd_exp(@NotNull SerpentParser.And_expContext ctx) { return visitChildren(ctx); }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
@ -258,7 +266,7 @@ public class SerpentBaseVisitor<T> extends AbstractParseTreeVisitor<T> implement
|
|||
* The default implementation returns the result of calling
|
||||
* {@link #visitChildren} on {@code ctx}.
|
||||
*/
|
||||
@Override public T visitAnd_exp(@NotNull SerpentParser.And_expContext ctx) { return visitChildren(ctx); }
|
||||
@Override public T visitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx) { return visitChildren(ctx); }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
@ -283,4 +291,12 @@ public class SerpentBaseVisitor<T> extends AbstractParseTreeVisitor<T> implement
|
|||
* {@link #visitChildren} on {@code ctx}.
|
||||
*/
|
||||
@Override public T visitMsg_value(@NotNull SerpentParser.Msg_valueContext ctx) { return visitChildren(ctx); }
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* The default implementation returns the result of calling
|
||||
* {@link #visitChildren} on {@code ctx}.
|
||||
*/
|
||||
@Override public T visitAsm(@NotNull SerpentParser.AsmContext ctx) { return visitChildren(ctx); }
|
||||
}
|
|
@ -116,6 +116,11 @@ public class SerpentCompiler {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// wrap plan
|
||||
// 1) that is the code
|
||||
// 2) need to wrap it with PUSH1 (codesize) PUSH1 (codestart) 000 CODECOPY 000 PUSH1 (codesize) RETURN
|
||||
|
||||
return baos.toByteArray();
|
||||
}
|
||||
|
||||
|
|
|
@ -18,12 +18,13 @@ public class SerpentLexer extends Lexer {
|
|||
protected static final PredictionContextCache _sharedContextCache =
|
||||
new PredictionContextCache();
|
||||
public static final int
|
||||
T__20=1, T__19=2, T__18=3, T__17=4, T__16=5, T__15=6, T__14=7, T__13=8,
|
||||
T__12=9, T__11=10, T__10=11, T__9=12, T__8=13, T__7=14, T__6=15, T__5=16,
|
||||
T__4=17, T__3=18, T__2=19, T__1=20, T__0=21, OP_EX_OR=22, OP_LOG_AND=23,
|
||||
OP_LOG_OR=24, OP_NOT=25, EQ_OP=26, NL=27, WS=28, LINE_COMMENT=29, INT=30,
|
||||
VAR=31, OP_ADD=32, OP_MUL=33, OP_REL=34, OP_EQ=35, OP_AND=36, OP_IN_OR=37,
|
||||
HEX_DIGIT=38, HEX_NUMBER=39;
|
||||
T__24=1, T__23=2, T__22=3, T__21=4, T__20=5, T__19=6, T__18=7, T__17=8,
|
||||
T__16=9, T__15=10, T__14=11, T__13=12, T__12=13, T__11=14, T__10=15, T__9=16,
|
||||
T__8=17, T__7=18, T__6=19, T__5=20, T__4=21, T__3=22, T__2=23, T__1=24,
|
||||
T__0=25, INT=26, ASM_SYMBOLS=27, OP_EX_OR=28, OP_LOG_AND=29, OP_LOG_OR=30,
|
||||
OP_NOT=31, EQ_OP=32, NL=33, WS=34, LINE_COMMENT=35, VAR=36, OP_ADD=37,
|
||||
OP_MUL=38, OP_REL=39, OP_EQ=40, OP_AND=41, OP_IN_OR=42, HEX_DIGIT=43,
|
||||
HEX_NUMBER=44;
|
||||
public static String[] modeNames = {
|
||||
"DEFAULT_MODE"
|
||||
};
|
||||
|
@ -31,19 +32,21 @@ public class SerpentLexer extends Lexer {
|
|||
public static final String[] tokenNames = {
|
||||
"<INVALID>",
|
||||
"'msg.datasize'", "'block.coinbase'", "')'", "'tx.gasprice'", "'else:'",
|
||||
"'tx.gas'", "'tx.origin'", "'while'", "':'", "'('", "'if'", "'elif'",
|
||||
"'return'", "'msg.sender'", "'block.timestamp'", "'msg.value'", "'contract.balance'",
|
||||
"'block.gaslimit'", "'block.prevhash'", "'block.number'", "'block.difficulty'",
|
||||
"'xor'", "OP_LOG_AND", "OP_LOG_OR", "OP_NOT", "'='", "NL", "WS", "LINE_COMMENT",
|
||||
"INT", "VAR", "OP_ADD", "OP_MUL", "OP_REL", "OP_EQ", "'&'", "'|'", "HEX_DIGIT",
|
||||
"','", "'tx.origin'", "'while'", "'tx.gas'", "'msg'", "':'", "'('", "'if'",
|
||||
"'elif'", "'return'", "'msg.sender'", "'block.timestamp'", "'[asm'", "'msg.value'",
|
||||
"'contract.balance'", "'asm]'", "'block.gaslimit'", "'block.prevhash'",
|
||||
"'block.number'", "'block.difficulty'", "INT", "ASM_SYMBOLS", "'xor'",
|
||||
"OP_LOG_AND", "OP_LOG_OR", "OP_NOT", "'='", "NL", "WS", "LINE_COMMENT",
|
||||
"VAR", "OP_ADD", "OP_MUL", "OP_REL", "OP_EQ", "'&'", "'|'", "HEX_DIGIT",
|
||||
"HEX_NUMBER"
|
||||
};
|
||||
public static final String[] ruleNames = {
|
||||
"T__20", "T__19", "T__18", "T__17", "T__16", "T__15", "T__14", "T__13",
|
||||
"T__12", "T__11", "T__10", "T__9", "T__8", "T__7", "T__6", "T__5", "T__4",
|
||||
"T__3", "T__2", "T__1", "T__0", "OP_EX_OR", "OP_LOG_AND", "OP_LOG_OR",
|
||||
"OP_NOT", "EQ_OP", "NL", "WS", "LINE_COMMENT", "INT", "VAR", "OP_ADD",
|
||||
"OP_MUL", "OP_REL", "OP_EQ", "OP_AND", "OP_IN_OR", "HEX_DIGIT", "HEX_NUMBER"
|
||||
"T__24", "T__23", "T__22", "T__21", "T__20", "T__19", "T__18", "T__17",
|
||||
"T__16", "T__15", "T__14", "T__13", "T__12", "T__11", "T__10", "T__9",
|
||||
"T__8", "T__7", "T__6", "T__5", "T__4", "T__3", "T__2", "T__1", "T__0",
|
||||
"INT", "ASM_SYMBOLS", "OP_EX_OR", "OP_LOG_AND", "OP_LOG_OR", "OP_NOT",
|
||||
"EQ_OP", "NL", "WS", "LINE_COMMENT", "VAR", "OP_ADD", "OP_MUL", "OP_REL",
|
||||
"OP_EQ", "OP_AND", "OP_IN_OR", "HEX_DIGIT", "HEX_NUMBER"
|
||||
};
|
||||
|
||||
|
||||
|
@ -85,9 +88,9 @@ public class SerpentLexer extends Lexer {
|
|||
@Override
|
||||
public void action(RuleContext _localctx, int ruleIndex, int actionIndex) {
|
||||
switch (ruleIndex) {
|
||||
case 27: WS_action((RuleContext)_localctx, actionIndex); break;
|
||||
case 33: WS_action((RuleContext)_localctx, actionIndex); break;
|
||||
|
||||
case 28: LINE_COMMENT_action((RuleContext)_localctx, actionIndex); break;
|
||||
case 34: LINE_COMMENT_action((RuleContext)_localctx, actionIndex); break;
|
||||
}
|
||||
}
|
||||
private void WS_action(RuleContext _localctx, int actionIndex) {
|
||||
|
@ -102,133 +105,329 @@ public class SerpentLexer extends Lexer {
|
|||
}
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\3\uacf5\uee8c\u4f5d\u8b0d\u4a45\u78bd\u1b2f\u3378\2)\u0180\b\1\4\2\t"+
|
||||
"\3\uacf5\uee8c\u4f5d\u8b0d\u4a45\u78bd\u1b2f\u3378\2.\u0374\b\1\4\2\t"+
|
||||
"\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
|
||||
"\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
|
||||
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
|
||||
"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
|
||||
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\3\2\3\2\3\2\3\2\3\2"+
|
||||
"\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3"+
|
||||
"\3\3\3\3\3\3\3\3\3\3\3\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5"+
|
||||
"\3\5\3\5\3\6\3\6\3\6\3\6\3\6\3\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\b\3\b\3"+
|
||||
"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3\n\3\13\3"+
|
||||
"\13\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\16\3\16\3\16\3\16"+
|
||||
"\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20"+
|
||||
"\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\21"+
|
||||
"\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22"+
|
||||
"\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\23\3\23"+
|
||||
"\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\24"+
|
||||
"\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24"+
|
||||
"\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\26"+
|
||||
"\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26"+
|
||||
"\3\26\3\26\3\27\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\5\30\u0127\n\30"+
|
||||
"\3\31\3\31\3\31\3\31\5\31\u012d\n\31\3\32\3\32\3\32\3\32\5\32\u0133\n"+
|
||||
"\32\3\33\3\33\3\34\5\34\u0138\n\34\3\34\3\34\7\34\u013c\n\34\f\34\16\34"+
|
||||
"\u013f\13\34\3\35\6\35\u0142\n\35\r\35\16\35\u0143\3\35\3\35\3\36\3\36"+
|
||||
"\3\36\3\36\7\36\u014c\n\36\f\36\16\36\u014f\13\36\3\36\3\36\3\37\6\37"+
|
||||
"\u0154\n\37\r\37\16\37\u0155\3 \3 \7 \u015a\n \f \16 \u015d\13 \3!\3!"+
|
||||
"\3\"\3\"\3#\3#\3#\3#\3#\5#\u0168\n#\3$\3$\3$\3$\5$\u016e\n$\3%\3%\3&\3"+
|
||||
"&\3\'\3\'\3(\3(\3(\3(\5(\u017a\n(\3(\6(\u017d\n(\r(\16(\u017e\2)\3\3\1"+
|
||||
"\5\4\1\7\5\1\t\6\1\13\7\1\r\b\1\17\t\1\21\n\1\23\13\1\25\f\1\27\r\1\31"+
|
||||
"\16\1\33\17\1\35\20\1\37\21\1!\22\1#\23\1%\24\1\'\25\1)\26\1+\27\1-\30"+
|
||||
"\1/\31\1\61\32\1\63\33\1\65\34\1\67\35\19\36\2;\37\3= \1?!\1A\"\1C#\1"+
|
||||
"E$\1G%\1I&\1K\'\1M(\1O)\1\3\2\13\4\2\13\13\"\"\4\2\f\f\17\17\3\2\62;\4"+
|
||||
"\2C\\c|\5\2\62;C\\c|\4\2--//\6\2\'\',,\61\61``\4\2>>@@\5\2\62;CHch\u018d"+
|
||||
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
|
||||
",\t,\4-\t-\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3\3\3\3"+
|
||||
"\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\4\3\4\3\5\3\5\3"+
|
||||
"\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\6\3\6\3\6\3\6\3\6\3\6\3\7\3\7"+
|
||||
"\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\3\n\3"+
|
||||
"\n\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3\13\3\f\3\f\3\r\3\r\3\16\3\16\3"+
|
||||
"\16\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3"+
|
||||
"\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3"+
|
||||
"\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\23\3\23\3"+
|
||||
"\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\25\3"+
|
||||
"\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3"+
|
||||
"\25\3\25\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3"+
|
||||
"\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3\30\3"+
|
||||
"\30\3\30\3\30\3\30\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3\31\3\31\3\31\3"+
|
||||
"\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\32\3\32\3\32\3\32\3\32\3\32\3"+
|
||||
"\32\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\33\6\33\u0139"+
|
||||
"\n\33\r\33\16\33\u013a\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3"+
|
||||
"\34\5\34\u0315\n\34\3\35\3\35\3\35\3\35\3\36\3\36\3\36\3\36\3\36\5\36"+
|
||||
"\u0320\n\36\3\37\3\37\3\37\3\37\5\37\u0326\n\37\3 \3 \3 \3 \5 \u032c\n"+
|
||||
" \3!\3!\3\"\5\"\u0331\n\"\3\"\3\"\7\"\u0335\n\"\f\"\16\"\u0338\13\"\3"+
|
||||
"#\6#\u033b\n#\r#\16#\u033c\3#\3#\3$\3$\3$\3$\7$\u0345\n$\f$\16$\u0348"+
|
||||
"\13$\3$\3$\3%\3%\7%\u034e\n%\f%\16%\u0351\13%\3&\3&\3\'\3\'\3(\3(\3(\3"+
|
||||
"(\3(\5(\u035c\n(\3)\3)\3)\3)\5)\u0362\n)\3*\3*\3+\3+\3,\3,\3-\3-\3-\3"+
|
||||
"-\5-\u036e\n-\3-\6-\u0371\n-\r-\16-\u0372\2.\3\3\1\5\4\1\7\5\1\t\6\1\13"+
|
||||
"\7\1\r\b\1\17\t\1\21\n\1\23\13\1\25\f\1\27\r\1\31\16\1\33\17\1\35\20\1"+
|
||||
"\37\21\1!\22\1#\23\1%\24\1\'\25\1)\26\1+\27\1-\30\1/\31\1\61\32\1\63\33"+
|
||||
"\1\65\34\1\67\35\19\36\1;\37\1= \1?!\1A\"\1C#\1E$\2G%\3I&\1K\'\1M(\1O"+
|
||||
")\1Q*\1S+\1U,\1W-\1Y.\1\3\2\13\3\2\62;\4\2\13\13\"\"\4\2\f\f\17\17\4\2"+
|
||||
"C\\c|\5\2\62;C\\c|\4\2--//\6\2\'\',,\61\61``\4\2>>@@\5\2\62;CHch\u03d7"+
|
||||
"\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2"+
|
||||
"\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2"+
|
||||
"\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2"+
|
||||
"\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2"+
|
||||
"\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3"+
|
||||
"\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2"+
|
||||
"\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\3Q\3\2\2\2\5^\3\2\2\2\7"+
|
||||
"m\3\2\2\2\to\3\2\2\2\13{\3\2\2\2\r\u0081\3\2\2\2\17\u0088\3\2\2\2\21\u0092"+
|
||||
"\3\2\2\2\23\u0098\3\2\2\2\25\u009a\3\2\2\2\27\u009c\3\2\2\2\31\u009f\3"+
|
||||
"\2\2\2\33\u00a4\3\2\2\2\35\u00ab\3\2\2\2\37\u00b6\3\2\2\2!\u00c6\3\2\2"+
|
||||
"\2#\u00d0\3\2\2\2%\u00e1\3\2\2\2\'\u00f0\3\2\2\2)\u00ff\3\2\2\2+\u010c"+
|
||||
"\3\2\2\2-\u011d\3\2\2\2/\u0126\3\2\2\2\61\u012c\3\2\2\2\63\u0132\3\2\2"+
|
||||
"\2\65\u0134\3\2\2\2\67\u0137\3\2\2\29\u0141\3\2\2\2;\u0147\3\2\2\2=\u0153"+
|
||||
"\3\2\2\2?\u0157\3\2\2\2A\u015e\3\2\2\2C\u0160\3\2\2\2E\u0167\3\2\2\2G"+
|
||||
"\u016d\3\2\2\2I\u016f\3\2\2\2K\u0171\3\2\2\2M\u0173\3\2\2\2O\u0179\3\2"+
|
||||
"\2\2QR\7o\2\2RS\7u\2\2ST\7i\2\2TU\7\60\2\2UV\7f\2\2VW\7c\2\2WX\7v\2\2"+
|
||||
"XY\7c\2\2YZ\7u\2\2Z[\7k\2\2[\\\7|\2\2\\]\7g\2\2]\4\3\2\2\2^_\7d\2\2_`"+
|
||||
"\7n\2\2`a\7q\2\2ab\7e\2\2bc\7m\2\2cd\7\60\2\2de\7e\2\2ef\7q\2\2fg\7k\2"+
|
||||
"\2gh\7p\2\2hi\7d\2\2ij\7c\2\2jk\7u\2\2kl\7g\2\2l\6\3\2\2\2mn\7+\2\2n\b"+
|
||||
"\3\2\2\2op\7v\2\2pq\7z\2\2qr\7\60\2\2rs\7i\2\2st\7c\2\2tu\7u\2\2uv\7r"+
|
||||
"\2\2vw\7t\2\2wx\7k\2\2xy\7e\2\2yz\7g\2\2z\n\3\2\2\2{|\7g\2\2|}\7n\2\2"+
|
||||
"}~\7u\2\2~\177\7g\2\2\177\u0080\7<\2\2\u0080\f\3\2\2\2\u0081\u0082\7v"+
|
||||
"\2\2\u0082\u0083\7z\2\2\u0083\u0084\7\60\2\2\u0084\u0085\7i\2\2\u0085"+
|
||||
"\u0086\7c\2\2\u0086\u0087\7u\2\2\u0087\16\3\2\2\2\u0088\u0089\7v\2\2\u0089"+
|
||||
"\u008a\7z\2\2\u008a\u008b\7\60\2\2\u008b\u008c\7q\2\2\u008c\u008d\7t\2"+
|
||||
"\2\u008d\u008e\7k\2\2\u008e\u008f\7i\2\2\u008f\u0090\7k\2\2\u0090\u0091"+
|
||||
"\7p\2\2\u0091\20\3\2\2\2\u0092\u0093\7y\2\2\u0093\u0094\7j\2\2\u0094\u0095"+
|
||||
"\7k\2\2\u0095\u0096\7n\2\2\u0096\u0097\7g\2\2\u0097\22\3\2\2\2\u0098\u0099"+
|
||||
"\7<\2\2\u0099\24\3\2\2\2\u009a\u009b\7*\2\2\u009b\26\3\2\2\2\u009c\u009d"+
|
||||
"\7k\2\2\u009d\u009e\7h\2\2\u009e\30\3\2\2\2\u009f\u00a0\7g\2\2\u00a0\u00a1"+
|
||||
"\7n\2\2\u00a1\u00a2\7k\2\2\u00a2\u00a3\7h\2\2\u00a3\32\3\2\2\2\u00a4\u00a5"+
|
||||
"\7t\2\2\u00a5\u00a6\7g\2\2\u00a6\u00a7\7v\2\2\u00a7\u00a8\7w\2\2\u00a8"+
|
||||
"\u00a9\7t\2\2\u00a9\u00aa\7p\2\2\u00aa\34\3\2\2\2\u00ab\u00ac\7o\2\2\u00ac"+
|
||||
"\u00ad\7u\2\2\u00ad\u00ae\7i\2\2\u00ae\u00af\7\60\2\2\u00af\u00b0\7u\2"+
|
||||
"\2\u00b0\u00b1\7g\2\2\u00b1\u00b2\7p\2\2\u00b2\u00b3\7f\2\2\u00b3\u00b4"+
|
||||
"\7g\2\2\u00b4\u00b5\7t\2\2\u00b5\36\3\2\2\2\u00b6\u00b7\7d\2\2\u00b7\u00b8"+
|
||||
"\7n\2\2\u00b8\u00b9\7q\2\2\u00b9\u00ba\7e\2\2\u00ba\u00bb\7m\2\2\u00bb"+
|
||||
"\u00bc\7\60\2\2\u00bc\u00bd\7v\2\2\u00bd\u00be\7k\2\2\u00be\u00bf\7o\2"+
|
||||
"\2\u00bf\u00c0\7g\2\2\u00c0\u00c1\7u\2\2\u00c1\u00c2\7v\2\2\u00c2\u00c3"+
|
||||
"\7c\2\2\u00c3\u00c4\7o\2\2\u00c4\u00c5\7r\2\2\u00c5 \3\2\2\2\u00c6\u00c7"+
|
||||
"\7o\2\2\u00c7\u00c8\7u\2\2\u00c8\u00c9\7i\2\2\u00c9\u00ca\7\60\2\2\u00ca"+
|
||||
"\u00cb\7x\2\2\u00cb\u00cc\7c\2\2\u00cc\u00cd\7n\2\2\u00cd\u00ce\7w\2\2"+
|
||||
"\u00ce\u00cf\7g\2\2\u00cf\"\3\2\2\2\u00d0\u00d1\7e\2\2\u00d1\u00d2\7q"+
|
||||
"\2\2\u00d2\u00d3\7p\2\2\u00d3\u00d4\7v\2\2\u00d4\u00d5\7t\2\2\u00d5\u00d6"+
|
||||
"\7c\2\2\u00d6\u00d7\7e\2\2\u00d7\u00d8\7v\2\2\u00d8\u00d9\7\60\2\2\u00d9"+
|
||||
"\u00da\7d\2\2\u00da\u00db\7c\2\2\u00db\u00dc\7n\2\2\u00dc\u00dd\7c\2\2"+
|
||||
"\u00dd\u00de\7p\2\2\u00de\u00df\7e\2\2\u00df\u00e0\7g\2\2\u00e0$\3\2\2"+
|
||||
"\2\u00e1\u00e2\7d\2\2\u00e2\u00e3\7n\2\2\u00e3\u00e4\7q\2\2\u00e4\u00e5"+
|
||||
"\7e\2\2\u00e5\u00e6\7m\2\2\u00e6\u00e7\7\60\2\2\u00e7\u00e8\7i\2\2\u00e8"+
|
||||
"\u00e9\7c\2\2\u00e9\u00ea\7u\2\2\u00ea\u00eb\7n\2\2\u00eb\u00ec\7k\2\2"+
|
||||
"\u00ec\u00ed\7o\2\2\u00ed\u00ee\7k\2\2\u00ee\u00ef\7v\2\2\u00ef&\3\2\2"+
|
||||
"\2\u00f0\u00f1\7d\2\2\u00f1\u00f2\7n\2\2\u00f2\u00f3\7q\2\2\u00f3\u00f4"+
|
||||
"\7e\2\2\u00f4\u00f5\7m\2\2\u00f5\u00f6\7\60\2\2\u00f6\u00f7\7r\2\2\u00f7"+
|
||||
"\u00f8\7t\2\2\u00f8\u00f9\7g\2\2\u00f9\u00fa\7x\2\2\u00fa\u00fb\7j\2\2"+
|
||||
"\u00fb\u00fc\7c\2\2\u00fc\u00fd\7u\2\2\u00fd\u00fe\7j\2\2\u00fe(\3\2\2"+
|
||||
"\2\u00ff\u0100\7d\2\2\u0100\u0101\7n\2\2\u0101\u0102\7q\2\2\u0102\u0103"+
|
||||
"\7e\2\2\u0103\u0104\7m\2\2\u0104\u0105\7\60\2\2\u0105\u0106\7p\2\2\u0106"+
|
||||
"\u0107\7w\2\2\u0107\u0108\7o\2\2\u0108\u0109\7d\2\2\u0109\u010a\7g\2\2"+
|
||||
"\u010a\u010b\7t\2\2\u010b*\3\2\2\2\u010c\u010d\7d\2\2\u010d\u010e\7n\2"+
|
||||
"\2\u010e\u010f\7q\2\2\u010f\u0110\7e\2\2\u0110\u0111\7m\2\2\u0111\u0112"+
|
||||
"\7\60\2\2\u0112\u0113\7f\2\2\u0113\u0114\7k\2\2\u0114\u0115\7h\2\2\u0115"+
|
||||
"\u0116\7h\2\2\u0116\u0117\7k\2\2\u0117\u0118\7e\2\2\u0118\u0119\7w\2\2"+
|
||||
"\u0119\u011a\7n\2\2\u011a\u011b\7v\2\2\u011b\u011c\7{\2\2\u011c,\3\2\2"+
|
||||
"\2\u011d\u011e\7z\2\2\u011e\u011f\7q\2\2\u011f\u0120\7t\2\2\u0120.\3\2"+
|
||||
"\2\2\u0121\u0122\7(\2\2\u0122\u0127\7(\2\2\u0123\u0124\7c\2\2\u0124\u0125"+
|
||||
"\7p\2\2\u0125\u0127\7f\2\2\u0126\u0121\3\2\2\2\u0126\u0123\3\2\2\2\u0127"+
|
||||
"\60\3\2\2\2\u0128\u0129\7~\2\2\u0129\u012d\7~\2\2\u012a\u012b\7q\2\2\u012b"+
|
||||
"\u012d\7t\2\2\u012c\u0128\3\2\2\2\u012c\u012a\3\2\2\2\u012d\62\3\2\2\2"+
|
||||
"\u012e\u0133\7#\2\2\u012f\u0130\7p\2\2\u0130\u0131\7q\2\2\u0131\u0133"+
|
||||
"\7v\2\2\u0132\u012e\3\2\2\2\u0132\u012f\3\2\2\2\u0133\64\3\2\2\2\u0134"+
|
||||
"\u0135\7?\2\2\u0135\66\3\2\2\2\u0136\u0138\7\17\2\2\u0137\u0136\3\2\2"+
|
||||
"\2\u0137\u0138\3\2\2\2\u0138\u0139\3\2\2\2\u0139\u013d\7\f\2\2\u013a\u013c"+
|
||||
"\7\"\2\2\u013b\u013a\3\2\2\2\u013c\u013f\3\2\2\2\u013d\u013b\3\2\2\2\u013d"+
|
||||
"\u013e\3\2\2\2\u013e8\3\2\2\2\u013f\u013d\3\2\2\2\u0140\u0142\t\2\2\2"+
|
||||
"\u0141\u0140\3\2\2\2\u0142\u0143\3\2\2\2\u0143\u0141\3\2\2\2\u0143\u0144"+
|
||||
"\3\2\2\2\u0144\u0145\3\2\2\2\u0145\u0146\b\35\2\2\u0146:\3\2\2\2\u0147"+
|
||||
"\u0148\7\61\2\2\u0148\u0149\7\61\2\2\u0149\u014d\3\2\2\2\u014a\u014c\n"+
|
||||
"\3\2\2\u014b\u014a\3\2\2\2\u014c\u014f\3\2\2\2\u014d\u014b\3\2\2\2\u014d"+
|
||||
"\u014e\3\2\2\2\u014e\u0150\3\2\2\2\u014f\u014d\3\2\2\2\u0150\u0151\b\36"+
|
||||
"\3\2\u0151<\3\2\2\2\u0152\u0154\t\4\2\2\u0153\u0152\3\2\2\2\u0154\u0155"+
|
||||
"\3\2\2\2\u0155\u0153\3\2\2\2\u0155\u0156\3\2\2\2\u0156>\3\2\2\2\u0157"+
|
||||
"\u015b\t\5\2\2\u0158\u015a\t\6\2\2\u0159\u0158\3\2\2\2\u015a\u015d\3\2"+
|
||||
"\2\2\u015b\u0159\3\2\2\2\u015b\u015c\3\2\2\2\u015c@\3\2\2\2\u015d\u015b"+
|
||||
"\3\2\2\2\u015e\u015f\t\7\2\2\u015fB\3\2\2\2\u0160\u0161\t\b\2\2\u0161"+
|
||||
"D\3\2\2\2\u0162\u0168\t\t\2\2\u0163\u0164\7>\2\2\u0164\u0168\7?\2\2\u0165"+
|
||||
"\u0166\7@\2\2\u0166\u0168\7?\2\2\u0167\u0162\3\2\2\2\u0167\u0163\3\2\2"+
|
||||
"\2\u0167\u0165\3\2\2\2\u0168F\3\2\2\2\u0169\u016a\7?\2\2\u016a\u016e\7"+
|
||||
"?\2\2\u016b\u016c\7#\2\2\u016c\u016e\7?\2\2\u016d\u0169\3\2\2\2\u016d"+
|
||||
"\u016b\3\2\2\2\u016eH\3\2\2\2\u016f\u0170\7(\2\2\u0170J\3\2\2\2\u0171"+
|
||||
"\u0172\7~\2\2\u0172L\3\2\2\2\u0173\u0174\t\n\2\2\u0174N\3\2\2\2\u0175"+
|
||||
"\u0176\7\62\2\2\u0176\u017a\7z\2\2\u0177\u0178\7\62\2\2\u0178\u017a\7"+
|
||||
"Z\2\2\u0179\u0175\3\2\2\2\u0179\u0177\3\2\2\2\u017a\u017c\3\2\2\2\u017b"+
|
||||
"\u017d\5M\'\2\u017c\u017b\3\2\2\2\u017d\u017e\3\2\2\2\u017e\u017c\3\2"+
|
||||
"\2\2\u017e\u017f\3\2\2\2\u017fP\3\2\2\2\20\2\u0126\u012c\u0132\u0137\u013d"+
|
||||
"\u0143\u014d\u0155\u015b\u0167\u016d\u0179\u017e";
|
||||
"\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2"+
|
||||
"U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\3[\3\2\2\2\5h\3\2\2\2\7w\3\2\2\2\ty\3"+
|
||||
"\2\2\2\13\u0085\3\2\2\2\r\u008b\3\2\2\2\17\u008d\3\2\2\2\21\u0097\3\2"+
|
||||
"\2\2\23\u009d\3\2\2\2\25\u00a4\3\2\2\2\27\u00a8\3\2\2\2\31\u00aa\3\2\2"+
|
||||
"\2\33\u00ac\3\2\2\2\35\u00af\3\2\2\2\37\u00b4\3\2\2\2!\u00bb\3\2\2\2#"+
|
||||
"\u00c6\3\2\2\2%\u00d6\3\2\2\2\'\u00db\3\2\2\2)\u00e5\3\2\2\2+\u00f6\3"+
|
||||
"\2\2\2-\u00fb\3\2\2\2/\u010a\3\2\2\2\61\u0119\3\2\2\2\63\u0126\3\2\2\2"+
|
||||
"\65\u0138\3\2\2\2\67\u0314\3\2\2\29\u0316\3\2\2\2;\u031f\3\2\2\2=\u0325"+
|
||||
"\3\2\2\2?\u032b\3\2\2\2A\u032d\3\2\2\2C\u0330\3\2\2\2E\u033a\3\2\2\2G"+
|
||||
"\u0340\3\2\2\2I\u034b\3\2\2\2K\u0352\3\2\2\2M\u0354\3\2\2\2O\u035b\3\2"+
|
||||
"\2\2Q\u0361\3\2\2\2S\u0363\3\2\2\2U\u0365\3\2\2\2W\u0367\3\2\2\2Y\u036d"+
|
||||
"\3\2\2\2[\\\7o\2\2\\]\7u\2\2]^\7i\2\2^_\7\60\2\2_`\7f\2\2`a\7c\2\2ab\7"+
|
||||
"v\2\2bc\7c\2\2cd\7u\2\2de\7k\2\2ef\7|\2\2fg\7g\2\2g\4\3\2\2\2hi\7d\2\2"+
|
||||
"ij\7n\2\2jk\7q\2\2kl\7e\2\2lm\7m\2\2mn\7\60\2\2no\7e\2\2op\7q\2\2pq\7"+
|
||||
"k\2\2qr\7p\2\2rs\7d\2\2st\7c\2\2tu\7u\2\2uv\7g\2\2v\6\3\2\2\2wx\7+\2\2"+
|
||||
"x\b\3\2\2\2yz\7v\2\2z{\7z\2\2{|\7\60\2\2|}\7i\2\2}~\7c\2\2~\177\7u\2\2"+
|
||||
"\177\u0080\7r\2\2\u0080\u0081\7t\2\2\u0081\u0082\7k\2\2\u0082\u0083\7"+
|
||||
"e\2\2\u0083\u0084\7g\2\2\u0084\n\3\2\2\2\u0085\u0086\7g\2\2\u0086\u0087"+
|
||||
"\7n\2\2\u0087\u0088\7u\2\2\u0088\u0089\7g\2\2\u0089\u008a\7<\2\2\u008a"+
|
||||
"\f\3\2\2\2\u008b\u008c\7.\2\2\u008c\16\3\2\2\2\u008d\u008e\7v\2\2\u008e"+
|
||||
"\u008f\7z\2\2\u008f\u0090\7\60\2\2\u0090\u0091\7q\2\2\u0091\u0092\7t\2"+
|
||||
"\2\u0092\u0093\7k\2\2\u0093\u0094\7i\2\2\u0094\u0095\7k\2\2\u0095\u0096"+
|
||||
"\7p\2\2\u0096\20\3\2\2\2\u0097\u0098\7y\2\2\u0098\u0099\7j\2\2\u0099\u009a"+
|
||||
"\7k\2\2\u009a\u009b\7n\2\2\u009b\u009c\7g\2\2\u009c\22\3\2\2\2\u009d\u009e"+
|
||||
"\7v\2\2\u009e\u009f\7z\2\2\u009f\u00a0\7\60\2\2\u00a0\u00a1\7i\2\2\u00a1"+
|
||||
"\u00a2\7c\2\2\u00a2\u00a3\7u\2\2\u00a3\24\3\2\2\2\u00a4\u00a5\7o\2\2\u00a5"+
|
||||
"\u00a6\7u\2\2\u00a6\u00a7\7i\2\2\u00a7\26\3\2\2\2\u00a8\u00a9\7<\2\2\u00a9"+
|
||||
"\30\3\2\2\2\u00aa\u00ab\7*\2\2\u00ab\32\3\2\2\2\u00ac\u00ad\7k\2\2\u00ad"+
|
||||
"\u00ae\7h\2\2\u00ae\34\3\2\2\2\u00af\u00b0\7g\2\2\u00b0\u00b1\7n\2\2\u00b1"+
|
||||
"\u00b2\7k\2\2\u00b2\u00b3\7h\2\2\u00b3\36\3\2\2\2\u00b4\u00b5\7t\2\2\u00b5"+
|
||||
"\u00b6\7g\2\2\u00b6\u00b7\7v\2\2\u00b7\u00b8\7w\2\2\u00b8\u00b9\7t\2\2"+
|
||||
"\u00b9\u00ba\7p\2\2\u00ba \3\2\2\2\u00bb\u00bc\7o\2\2\u00bc\u00bd\7u\2"+
|
||||
"\2\u00bd\u00be\7i\2\2\u00be\u00bf\7\60\2\2\u00bf\u00c0\7u\2\2\u00c0\u00c1"+
|
||||
"\7g\2\2\u00c1\u00c2\7p\2\2\u00c2\u00c3\7f\2\2\u00c3\u00c4\7g\2\2\u00c4"+
|
||||
"\u00c5\7t\2\2\u00c5\"\3\2\2\2\u00c6\u00c7\7d\2\2\u00c7\u00c8\7n\2\2\u00c8"+
|
||||
"\u00c9\7q\2\2\u00c9\u00ca\7e\2\2\u00ca\u00cb\7m\2\2\u00cb\u00cc\7\60\2"+
|
||||
"\2\u00cc\u00cd\7v\2\2\u00cd\u00ce\7k\2\2\u00ce\u00cf\7o\2\2\u00cf\u00d0"+
|
||||
"\7g\2\2\u00d0\u00d1\7u\2\2\u00d1\u00d2\7v\2\2\u00d2\u00d3\7c\2\2\u00d3"+
|
||||
"\u00d4\7o\2\2\u00d4\u00d5\7r\2\2\u00d5$\3\2\2\2\u00d6\u00d7\7]\2\2\u00d7"+
|
||||
"\u00d8\7c\2\2\u00d8\u00d9\7u\2\2\u00d9\u00da\7o\2\2\u00da&\3\2\2\2\u00db"+
|
||||
"\u00dc\7o\2\2\u00dc\u00dd\7u\2\2\u00dd\u00de\7i\2\2\u00de\u00df\7\60\2"+
|
||||
"\2\u00df\u00e0\7x\2\2\u00e0\u00e1\7c\2\2\u00e1\u00e2\7n\2\2\u00e2\u00e3"+
|
||||
"\7w\2\2\u00e3\u00e4\7g\2\2\u00e4(\3\2\2\2\u00e5\u00e6\7e\2\2\u00e6\u00e7"+
|
||||
"\7q\2\2\u00e7\u00e8\7p\2\2\u00e8\u00e9\7v\2\2\u00e9\u00ea\7t\2\2\u00ea"+
|
||||
"\u00eb\7c\2\2\u00eb\u00ec\7e\2\2\u00ec\u00ed\7v\2\2\u00ed\u00ee\7\60\2"+
|
||||
"\2\u00ee\u00ef\7d\2\2\u00ef\u00f0\7c\2\2\u00f0\u00f1\7n\2\2\u00f1\u00f2"+
|
||||
"\7c\2\2\u00f2\u00f3\7p\2\2\u00f3\u00f4\7e\2\2\u00f4\u00f5\7g\2\2\u00f5"+
|
||||
"*\3\2\2\2\u00f6\u00f7\7c\2\2\u00f7\u00f8\7u\2\2\u00f8\u00f9\7o\2\2\u00f9"+
|
||||
"\u00fa\7_\2\2\u00fa,\3\2\2\2\u00fb\u00fc\7d\2\2\u00fc\u00fd\7n\2\2\u00fd"+
|
||||
"\u00fe\7q\2\2\u00fe\u00ff\7e\2\2\u00ff\u0100\7m\2\2\u0100\u0101\7\60\2"+
|
||||
"\2\u0101\u0102\7i\2\2\u0102\u0103\7c\2\2\u0103\u0104\7u\2\2\u0104\u0105"+
|
||||
"\7n\2\2\u0105\u0106\7k\2\2\u0106\u0107\7o\2\2\u0107\u0108\7k\2\2\u0108"+
|
||||
"\u0109\7v\2\2\u0109.\3\2\2\2\u010a\u010b\7d\2\2\u010b\u010c\7n\2\2\u010c"+
|
||||
"\u010d\7q\2\2\u010d\u010e\7e\2\2\u010e\u010f\7m\2\2\u010f\u0110\7\60\2"+
|
||||
"\2\u0110\u0111\7r\2\2\u0111\u0112\7t\2\2\u0112\u0113\7g\2\2\u0113\u0114"+
|
||||
"\7x\2\2\u0114\u0115\7j\2\2\u0115\u0116\7c\2\2\u0116\u0117\7u\2\2\u0117"+
|
||||
"\u0118\7j\2\2\u0118\60\3\2\2\2\u0119\u011a\7d\2\2\u011a\u011b\7n\2\2\u011b"+
|
||||
"\u011c\7q\2\2\u011c\u011d\7e\2\2\u011d\u011e\7m\2\2\u011e\u011f\7\60\2"+
|
||||
"\2\u011f\u0120\7p\2\2\u0120\u0121\7w\2\2\u0121\u0122\7o\2\2\u0122\u0123"+
|
||||
"\7d\2\2\u0123\u0124\7g\2\2\u0124\u0125\7t\2\2\u0125\62\3\2\2\2\u0126\u0127"+
|
||||
"\7d\2\2\u0127\u0128\7n\2\2\u0128\u0129\7q\2\2\u0129\u012a\7e\2\2\u012a"+
|
||||
"\u012b\7m\2\2\u012b\u012c\7\60\2\2\u012c\u012d\7f\2\2\u012d\u012e\7k\2"+
|
||||
"\2\u012e\u012f\7h\2\2\u012f\u0130\7h\2\2\u0130\u0131\7k\2\2\u0131\u0132"+
|
||||
"\7e\2\2\u0132\u0133\7w\2\2\u0133\u0134\7n\2\2\u0134\u0135\7v\2\2\u0135"+
|
||||
"\u0136\7{\2\2\u0136\64\3\2\2\2\u0137\u0139\t\2\2\2\u0138\u0137\3\2\2\2"+
|
||||
"\u0139\u013a\3\2\2\2\u013a\u0138\3\2\2\2\u013a\u013b\3\2\2\2\u013b\66"+
|
||||
"\3\2\2\2\u013c\u013d\7U\2\2\u013d\u013e\7V\2\2\u013e\u013f\7Q\2\2\u013f"+
|
||||
"\u0315\7R\2\2\u0140\u0141\7C\2\2\u0141\u0142\7F\2\2\u0142\u0315\7F\2\2"+
|
||||
"\u0143\u0144\7O\2\2\u0144\u0145\7W\2\2\u0145\u0315\7N\2\2\u0146\u0147"+
|
||||
"\7U\2\2\u0147\u0148\7W\2\2\u0148\u0315\7D\2\2\u0149\u014a\7F\2\2\u014a"+
|
||||
"\u014b\7K\2\2\u014b\u0315\7X\2\2\u014c\u014d\7U\2\2\u014d\u014e\7F\2\2"+
|
||||
"\u014e\u014f\7K\2\2\u014f\u0315\7X\2\2\u0150\u0151\7O\2\2\u0151\u0152"+
|
||||
"\7Q\2\2\u0152\u0315\7F\2\2\u0153\u0154\7U\2\2\u0154\u0155\7O\2\2\u0155"+
|
||||
"\u0156\7Q\2\2\u0156\u0315\7F\2\2\u0157\u0158\7G\2\2\u0158\u0159\7Z\2\2"+
|
||||
"\u0159\u0315\7R\2\2\u015a\u015b\7P\2\2\u015b\u015c\7G\2\2\u015c\u0315"+
|
||||
"\7I\2\2\u015d\u015e\7N\2\2\u015e\u0315\7V\2\2\u015f\u0160\7I\2\2\u0160"+
|
||||
"\u0315\7V\2\2\u0161\u0162\7U\2\2\u0162\u0163\7N\2\2\u0163\u0315\7V\2\2"+
|
||||
"\u0164\u0165\7U\2\2\u0165\u0166\7I\2\2\u0166\u0315\7V\2\2\u0167\u0168"+
|
||||
"\7G\2\2\u0168\u0315\7S\2\2\u0169\u016a\7P\2\2\u016a\u016b\7Q\2\2\u016b"+
|
||||
"\u0315\7V\2\2\u016c\u016d\7C\2\2\u016d\u016e\7P\2\2\u016e\u0315\7F\2\2"+
|
||||
"\u016f\u0170\7Q\2\2\u0170\u0315\7T\2\2\u0171\u0172\7Z\2\2\u0172\u0173"+
|
||||
"\7Q\2\2\u0173\u0315\7T\2\2\u0174\u0175\7D\2\2\u0175\u0176\7[\2\2\u0176"+
|
||||
"\u0177\7V\2\2\u0177\u0315\7G\2\2\u0178\u0179\7U\2\2\u0179\u017a\7J\2\2"+
|
||||
"\u017a\u017b\7C\2\2\u017b\u0315\7\65\2\2\u017c\u017d\7C\2\2\u017d\u017e"+
|
||||
"\7F\2\2\u017e\u017f\7F\2\2\u017f\u0180\7T\2\2\u0180\u0181\7G\2\2\u0181"+
|
||||
"\u0182\7U\2\2\u0182\u0315\7U\2\2\u0183\u0184\7D\2\2\u0184\u0185\7C\2\2"+
|
||||
"\u0185\u0186\7N\2\2\u0186\u0187\7C\2\2\u0187\u0188\7P\2\2\u0188\u0189"+
|
||||
"\7E\2\2\u0189\u0315\7G\2\2\u018a\u018b\7Q\2\2\u018b\u018c\7T\2\2\u018c"+
|
||||
"\u018d\7K\2\2\u018d\u018e\7I\2\2\u018e\u018f\7K\2\2\u018f\u0315\7P\2\2"+
|
||||
"\u0190\u0191\7E\2\2\u0191\u0192\7C\2\2\u0192\u0193\7N\2\2\u0193\u0194"+
|
||||
"\7N\2\2\u0194\u0195\7G\2\2\u0195\u0315\7T\2\2\u0196\u0197\7E\2\2\u0197"+
|
||||
"\u0198\7C\2\2\u0198\u0199\7N\2\2\u0199\u019a\7N\2\2\u019a\u019b\7X\2\2"+
|
||||
"\u019b\u019c\7C\2\2\u019c\u019d\7N\2\2\u019d\u019e\7W\2\2\u019e\u0315"+
|
||||
"\7G\2\2\u019f\u01a0\7E\2\2\u01a0\u01a1\7C\2\2\u01a1\u01a2\7N\2\2\u01a2"+
|
||||
"\u01a3\7N\2\2\u01a3\u01a4\7F\2\2\u01a4\u01a5\7C\2\2\u01a5\u01a6\7V\2\2"+
|
||||
"\u01a6\u01a7\7C\2\2\u01a7\u01a8\7N\2\2\u01a8\u01a9\7Q\2\2\u01a9\u01aa"+
|
||||
"\7C\2\2\u01aa\u0315\7F\2\2\u01ab\u01ac\7E\2\2\u01ac\u01ad\7C\2\2\u01ad"+
|
||||
"\u01ae\7N\2\2\u01ae\u01af\7N\2\2\u01af\u01b0\7F\2\2\u01b0\u01b1\7C\2\2"+
|
||||
"\u01b1\u01b2\7V\2\2\u01b2\u01b3\7C\2\2\u01b3\u01b4\7U\2\2\u01b4\u01b5"+
|
||||
"\7K\2\2\u01b5\u01b6\7\\\2\2\u01b6\u0315\7G\2\2\u01b7\u01b8\7E\2\2\u01b8"+
|
||||
"\u01b9\7C\2\2\u01b9\u01ba\7N\2\2\u01ba\u01bb\7N\2\2\u01bb\u01bc\7F\2\2"+
|
||||
"\u01bc\u01bd\7C\2\2\u01bd\u01be\7V\2\2\u01be\u01bf\7C\2\2\u01bf\u01c0"+
|
||||
"\7E\2\2\u01c0\u01c1\7Q\2\2\u01c1\u01c2\7R\2\2\u01c2\u0315\7[\2\2\u01c3"+
|
||||
"\u01c4\7E\2\2\u01c4\u01c5\7Q\2\2\u01c5\u01c6\7F\2\2\u01c6\u01c7\7G\2\2"+
|
||||
"\u01c7\u01c8\7U\2\2\u01c8\u01c9\7K\2\2\u01c9\u01ca\7\\\2\2\u01ca\u0315"+
|
||||
"\7G\2\2\u01cb\u01cc\7E\2\2\u01cc\u01cd\7Q\2\2\u01cd\u01ce\7F\2\2\u01ce"+
|
||||
"\u01cf\7G\2\2\u01cf\u01d0\7E\2\2\u01d0\u01d1\7Q\2\2\u01d1\u01d2\7R\2\2"+
|
||||
"\u01d2\u0315\7[\2\2\u01d3\u01d4\7I\2\2\u01d4\u01d5\7C\2\2\u01d5\u01d6"+
|
||||
"\7U\2\2\u01d6\u01d7\7R\2\2\u01d7\u01d8\7T\2\2\u01d8\u01d9\7K\2\2\u01d9"+
|
||||
"\u01da\7E\2\2\u01da\u0315\7G\2\2\u01db\u01dc\7R\2\2\u01dc\u01dd\7T\2\2"+
|
||||
"\u01dd\u01de\7G\2\2\u01de\u01df\7X\2\2\u01df\u01e0\7J\2\2\u01e0\u01e1"+
|
||||
"\7C\2\2\u01e1\u01e2\7U\2\2\u01e2\u0315\7J\2\2\u01e3\u01e4\7E\2\2\u01e4"+
|
||||
"\u01e5\7Q\2\2\u01e5\u01e6\7K\2\2\u01e6\u01e7\7P\2\2\u01e7\u01e8\7D\2\2"+
|
||||
"\u01e8\u01e9\7C\2\2\u01e9\u01ea\7U\2\2\u01ea\u0315\7G\2\2\u01eb\u01ec"+
|
||||
"\7V\2\2\u01ec\u01ed\7K\2\2\u01ed\u01ee\7O\2\2\u01ee\u01ef\7G\2\2\u01ef"+
|
||||
"\u01f0\7U\2\2\u01f0\u01f1\7V\2\2\u01f1\u01f2\7C\2\2\u01f2\u01f3\7O\2\2"+
|
||||
"\u01f3\u0315\7R\2\2\u01f4\u01f5\7P\2\2\u01f5\u01f6\7W\2\2\u01f6\u01f7"+
|
||||
"\7O\2\2\u01f7\u01f8\7D\2\2\u01f8\u01f9\7G\2\2\u01f9\u0315\7T\2\2\u01fa"+
|
||||
"\u01fb\7F\2\2\u01fb\u01fc\7K\2\2\u01fc\u01fd\7H\2\2\u01fd\u01fe\7H\2\2"+
|
||||
"\u01fe\u01ff\7K\2\2\u01ff\u0200\7E\2\2\u0200\u0201\7W\2\2\u0201\u0202"+
|
||||
"\7N\2\2\u0202\u0203\7V\2\2\u0203\u0315\7[\2\2\u0204\u0205\7I\2\2\u0205"+
|
||||
"\u0206\7C\2\2\u0206\u0207\7U\2\2\u0207\u0208\7N\2\2\u0208\u0209\7K\2\2"+
|
||||
"\u0209\u020a\7O\2\2\u020a\u020b\7K\2\2\u020b\u0315\7V\2\2\u020c\u020d"+
|
||||
"\7R\2\2\u020d\u020e\7Q\2\2\u020e\u0315\7R\2\2\u020f\u0210\7F\2\2\u0210"+
|
||||
"\u0211\7W\2\2\u0211\u0315\7R\2\2\u0212\u0213\7U\2\2\u0213\u0214\7Y\2\2"+
|
||||
"\u0214\u0215\7C\2\2\u0215\u0315\7R\2\2\u0216\u0217\7O\2\2\u0217\u0218"+
|
||||
"\7N\2\2\u0218\u0219\7Q\2\2\u0219\u021a\7C\2\2\u021a\u0315\7F\2\2\u021b"+
|
||||
"\u021c\7O\2\2\u021c\u021d\7U\2\2\u021d\u021e\7V\2\2\u021e\u021f\7Q\2\2"+
|
||||
"\u021f\u0220\7T\2\2\u0220\u0315\7G\2\2\u0221\u0222\7O\2\2\u0222\u0223"+
|
||||
"\7U\2\2\u0223\u0224\7V\2\2\u0224\u0225\7Q\2\2\u0225\u0226\7T\2\2\u0226"+
|
||||
"\u0227\7G\2\2\u0227\u0315\7:\2\2\u0228\u0229\7U\2\2\u0229\u022a\7N\2\2"+
|
||||
"\u022a\u022b\7Q\2\2\u022b\u022c\7C\2\2\u022c\u0315\7F\2\2\u022d\u022e"+
|
||||
"\7U\2\2\u022e\u022f\7U\2\2\u022f\u0230\7V\2\2\u0230\u0231\7Q\2\2\u0231"+
|
||||
"\u0232\7T\2\2\u0232\u0315\7G\2\2\u0233\u0234\7L\2\2\u0234\u0235\7W\2\2"+
|
||||
"\u0235\u0236\7O\2\2\u0236\u0315\7R\2\2\u0237\u0238\7L\2\2\u0238\u0239"+
|
||||
"\7W\2\2\u0239\u023a\7O\2\2\u023a\u023b\7R\2\2\u023b\u0315\7K\2\2\u023c"+
|
||||
"\u023d\7R\2\2\u023d\u0315\7E\2\2\u023e\u023f\7O\2\2\u023f\u0240\7U\2\2"+
|
||||
"\u0240\u0241\7K\2\2\u0241\u0242\7\\\2\2\u0242\u0315\7G\2\2\u0243\u0244"+
|
||||
"\7I\2\2\u0244\u0245\7C\2\2\u0245\u0315\7U\2\2\u0246\u0247\7R\2\2\u0247"+
|
||||
"\u0248\7W\2\2\u0248\u0249\7U\2\2\u0249\u024a\7J\2\2\u024a\u0315\7\63\2"+
|
||||
"\2\u024b\u024c\7R\2\2\u024c\u024d\7W\2\2\u024d\u024e\7U\2\2\u024e\u024f"+
|
||||
"\7J\2\2\u024f\u0315\7\64\2\2\u0250\u0251\7R\2\2\u0251\u0252\7W\2\2\u0252"+
|
||||
"\u0253\7U\2\2\u0253\u0254\7J\2\2\u0254\u0315\7\65\2\2\u0255\u0256\7R\2"+
|
||||
"\2\u0256\u0257\7W\2\2\u0257\u0258\7U\2\2\u0258\u0259\7J\2\2\u0259\u0315"+
|
||||
"\7\66\2\2\u025a\u025b\7R\2\2\u025b\u025c\7W\2\2\u025c\u025d\7U\2\2\u025d"+
|
||||
"\u025e\7J\2\2\u025e\u0315\7\67\2\2\u025f\u0260\7R\2\2\u0260\u0261\7W\2"+
|
||||
"\2\u0261\u0262\7U\2\2\u0262\u0263\7J\2\2\u0263\u0315\78\2\2\u0264\u0265"+
|
||||
"\7R\2\2\u0265\u0266\7W\2\2\u0266\u0267\7U\2\2\u0267\u0268\7J\2\2\u0268"+
|
||||
"\u0315\79\2\2\u0269\u026a\7R\2\2\u026a\u026b\7W\2\2\u026b\u026c\7U\2\2"+
|
||||
"\u026c\u026d\7J\2\2\u026d\u0315\7:\2\2\u026e\u026f\7R\2\2\u026f\u0270"+
|
||||
"\7W\2\2\u0270\u0271\7U\2\2\u0271\u0272\7J\2\2\u0272\u0315\7;\2\2\u0273"+
|
||||
"\u0274\7R\2\2\u0274\u0275\7W\2\2\u0275\u0276\7U\2\2\u0276\u0277\7J\2\2"+
|
||||
"\u0277\u0278\7\63\2\2\u0278\u0315\7\62\2\2\u0279\u027a\7R\2\2\u027a\u027b"+
|
||||
"\7W\2\2\u027b\u027c\7U\2\2\u027c\u027d\7J\2\2\u027d\u027e\7\63\2\2\u027e"+
|
||||
"\u0315\7\63\2\2\u027f\u0280\7R\2\2\u0280\u0281\7W\2\2\u0281\u0282\7U\2"+
|
||||
"\2\u0282\u0283\7J\2\2\u0283\u0284\7\63\2\2\u0284\u0315\7\64\2\2\u0285"+
|
||||
"\u0286\7R\2\2\u0286\u0287\7W\2\2\u0287\u0288\7U\2\2\u0288\u0289\7J\2\2"+
|
||||
"\u0289\u028a\7\63\2\2\u028a\u0315\7\65\2\2\u028b\u028c\7R\2\2\u028c\u028d"+
|
||||
"\7W\2\2\u028d\u028e\7U\2\2\u028e\u028f\7J\2\2\u028f\u0290\7\63\2\2\u0290"+
|
||||
"\u0315\7\66\2\2\u0291\u0292\7R\2\2\u0292\u0293\7W\2\2\u0293\u0294\7U\2"+
|
||||
"\2\u0294\u0295\7J\2\2\u0295\u0296\7\63\2\2\u0296\u0315\7\67\2\2\u0297"+
|
||||
"\u0298\7R\2\2\u0298\u0299\7W\2\2\u0299\u029a\7U\2\2\u029a\u029b\7J\2\2"+
|
||||
"\u029b\u029c\7\63\2\2\u029c\u0315\78\2\2\u029d\u029e\7R\2\2\u029e\u029f"+
|
||||
"\7W\2\2\u029f\u02a0\7U\2\2\u02a0\u02a1\7J\2\2\u02a1\u02a2\7\63\2\2\u02a2"+
|
||||
"\u0315\79\2\2\u02a3\u02a4\7R\2\2\u02a4\u02a5\7W\2\2\u02a5\u02a6\7U\2\2"+
|
||||
"\u02a6\u02a7\7J\2\2\u02a7\u02a8\7\63\2\2\u02a8\u0315\7:\2\2\u02a9\u02aa"+
|
||||
"\7R\2\2\u02aa\u02ab\7W\2\2\u02ab\u02ac\7U\2\2\u02ac\u02ad\7J\2\2\u02ad"+
|
||||
"\u02ae\7\63\2\2\u02ae\u0315\7;\2\2\u02af\u02b0\7R\2\2\u02b0\u02b1\7W\2"+
|
||||
"\2\u02b1\u02b2\7U\2\2\u02b2\u02b3\7J\2\2\u02b3\u02b4\7\64\2\2\u02b4\u0315"+
|
||||
"\7\62\2\2\u02b5\u02b6\7R\2\2\u02b6\u02b7\7W\2\2\u02b7\u02b8\7U\2\2\u02b8"+
|
||||
"\u02b9\7J\2\2\u02b9\u02ba\7\64\2\2\u02ba\u0315\7\63\2\2\u02bb\u02bc\7"+
|
||||
"R\2\2\u02bc\u02bd\7W\2\2\u02bd\u02be\7U\2\2\u02be\u02bf\7J\2\2\u02bf\u02c0"+
|
||||
"\7\64\2\2\u02c0\u0315\7\64\2\2\u02c1\u02c2\7R\2\2\u02c2\u02c3\7W\2\2\u02c3"+
|
||||
"\u02c4\7U\2\2\u02c4\u02c5\7J\2\2\u02c5\u02c6\7\64\2\2\u02c6\u0315\7\65"+
|
||||
"\2\2\u02c7\u02c8\7R\2\2\u02c8\u02c9\7W\2\2\u02c9\u02ca\7U\2\2\u02ca\u02cb"+
|
||||
"\7J\2\2\u02cb\u02cc\7\64\2\2\u02cc\u0315\7\66\2\2\u02cd\u02ce\7R\2\2\u02ce"+
|
||||
"\u02cf\7W\2\2\u02cf\u02d0\7U\2\2\u02d0\u02d1\7J\2\2\u02d1\u02d2\7\64\2"+
|
||||
"\2\u02d2\u0315\7\67\2\2\u02d3\u02d4\7R\2\2\u02d4\u02d5\7W\2\2\u02d5\u02d6"+
|
||||
"\7U\2\2\u02d6\u02d7\7J\2\2\u02d7\u02d8\7\64\2\2\u02d8\u0315\78\2\2\u02d9"+
|
||||
"\u02da\7R\2\2\u02da\u02db\7W\2\2\u02db\u02dc\7U\2\2\u02dc\u02dd\7J\2\2"+
|
||||
"\u02dd\u02de\7\64\2\2\u02de\u0315\79\2\2\u02df\u02e0\7R\2\2\u02e0\u02e1"+
|
||||
"\7W\2\2\u02e1\u02e2\7U\2\2\u02e2\u02e3\7J\2\2\u02e3\u02e4\7\64\2\2\u02e4"+
|
||||
"\u0315\7:\2\2\u02e5\u02e6\7R\2\2\u02e6\u02e7\7W\2\2\u02e7\u02e8\7U\2\2"+
|
||||
"\u02e8\u02e9\7J\2\2\u02e9\u02ea\7\64\2\2\u02ea\u0315\7;\2\2\u02eb\u02ec"+
|
||||
"\7R\2\2\u02ec\u02ed\7W\2\2\u02ed\u02ee\7U\2\2\u02ee\u02ef\7J\2\2\u02ef"+
|
||||
"\u02f0\7\65\2\2\u02f0\u0315\7\62\2\2\u02f1\u02f2\7R\2\2\u02f2\u02f3\7"+
|
||||
"W\2\2\u02f3\u02f4\7U\2\2\u02f4\u02f5\7J\2\2\u02f5\u02f6\7\65\2\2\u02f6"+
|
||||
"\u0315\7\63\2\2\u02f7\u02f8\7R\2\2\u02f8\u02f9\7W\2\2\u02f9\u02fa\7U\2"+
|
||||
"\2\u02fa\u02fb\7J\2\2\u02fb\u02fc\7\65\2\2\u02fc\u0315\7\64\2\2\u02fd"+
|
||||
"\u02fe\7E\2\2\u02fe\u02ff\7T\2\2\u02ff\u0300\7G\2\2\u0300\u0301\7C\2\2"+
|
||||
"\u0301\u0302\7V\2\2\u0302\u0315\7G\2\2\u0303\u0304\7E\2\2\u0304\u0305"+
|
||||
"\7C\2\2\u0305\u0306\7N\2\2\u0306\u0315\7N\2\2\u0307\u0308\7T\2\2\u0308"+
|
||||
"\u0309\7G\2\2\u0309\u030a\7V\2\2\u030a\u030b\7W\2\2\u030b\u030c\7T\2\2"+
|
||||
"\u030c\u0315\7P\2\2\u030d\u030e\7U\2\2\u030e\u030f\7W\2\2\u030f\u0310"+
|
||||
"\7K\2\2\u0310\u0311\7E\2\2\u0311\u0312\7K\2\2\u0312\u0313\7F\2\2\u0313"+
|
||||
"\u0315\7G\2\2\u0314\u013c\3\2\2\2\u0314\u0140\3\2\2\2\u0314\u0143\3\2"+
|
||||
"\2\2\u0314\u0146\3\2\2\2\u0314\u0149\3\2\2\2\u0314\u014c\3\2\2\2\u0314"+
|
||||
"\u0150\3\2\2\2\u0314\u0153\3\2\2\2\u0314\u0157\3\2\2\2\u0314\u015a\3\2"+
|
||||
"\2\2\u0314\u015d\3\2\2\2\u0314\u015f\3\2\2\2\u0314\u0161\3\2\2\2\u0314"+
|
||||
"\u0164\3\2\2\2\u0314\u0167\3\2\2\2\u0314\u0169\3\2\2\2\u0314\u016c\3\2"+
|
||||
"\2\2\u0314\u016f\3\2\2\2\u0314\u0171\3\2\2\2\u0314\u0174\3\2\2\2\u0314"+
|
||||
"\u0178\3\2\2\2\u0314\u017c\3\2\2\2\u0314\u0183\3\2\2\2\u0314\u018a\3\2"+
|
||||
"\2\2\u0314\u0190\3\2\2\2\u0314\u0196\3\2\2\2\u0314\u019f\3\2\2\2\u0314"+
|
||||
"\u01ab\3\2\2\2\u0314\u01b7\3\2\2\2\u0314\u01c3\3\2\2\2\u0314\u01cb\3\2"+
|
||||
"\2\2\u0314\u01d3\3\2\2\2\u0314\u01db\3\2\2\2\u0314\u01e3\3\2\2\2\u0314"+
|
||||
"\u01eb\3\2\2\2\u0314\u01f4\3\2\2\2\u0314\u01fa\3\2\2\2\u0314\u0204\3\2"+
|
||||
"\2\2\u0314\u020c\3\2\2\2\u0314\u020f\3\2\2\2\u0314\u0212\3\2\2\2\u0314"+
|
||||
"\u0216\3\2\2\2\u0314\u021b\3\2\2\2\u0314\u0221\3\2\2\2\u0314\u0228\3\2"+
|
||||
"\2\2\u0314\u022d\3\2\2\2\u0314\u0233\3\2\2\2\u0314\u0237\3\2\2\2\u0314"+
|
||||
"\u023c\3\2\2\2\u0314\u023e\3\2\2\2\u0314\u0243\3\2\2\2\u0314\u0246\3\2"+
|
||||
"\2\2\u0314\u024b\3\2\2\2\u0314\u0250\3\2\2\2\u0314\u0255\3\2\2\2\u0314"+
|
||||
"\u025a\3\2\2\2\u0314\u025f\3\2\2\2\u0314\u0264\3\2\2\2\u0314\u0269\3\2"+
|
||||
"\2\2\u0314\u026e\3\2\2\2\u0314\u0273\3\2\2\2\u0314\u0279\3\2\2\2\u0314"+
|
||||
"\u027f\3\2\2\2\u0314\u0285\3\2\2\2\u0314\u028b\3\2\2\2\u0314\u0291\3\2"+
|
||||
"\2\2\u0314\u0297\3\2\2\2\u0314\u029d\3\2\2\2\u0314\u02a3\3\2\2\2\u0314"+
|
||||
"\u02a9\3\2\2\2\u0314\u02af\3\2\2\2\u0314\u02b5\3\2\2\2\u0314\u02bb\3\2"+
|
||||
"\2\2\u0314\u02c1\3\2\2\2\u0314\u02c7\3\2\2\2\u0314\u02cd\3\2\2\2\u0314"+
|
||||
"\u02d3\3\2\2\2\u0314\u02d9\3\2\2\2\u0314\u02df\3\2\2\2\u0314\u02e5\3\2"+
|
||||
"\2\2\u0314\u02eb\3\2\2\2\u0314\u02f1\3\2\2\2\u0314\u02f7\3\2\2\2\u0314"+
|
||||
"\u02fd\3\2\2\2\u0314\u0303\3\2\2\2\u0314\u0307\3\2\2\2\u0314\u030d\3\2"+
|
||||
"\2\2\u03158\3\2\2\2\u0316\u0317\7z\2\2\u0317\u0318\7q\2\2\u0318\u0319"+
|
||||
"\7t\2\2\u0319:\3\2\2\2\u031a\u031b\7(\2\2\u031b\u0320\7(\2\2\u031c\u031d"+
|
||||
"\7c\2\2\u031d\u031e\7p\2\2\u031e\u0320\7f\2\2\u031f\u031a\3\2\2\2\u031f"+
|
||||
"\u031c\3\2\2\2\u0320<\3\2\2\2\u0321\u0322\7~\2\2\u0322\u0326\7~\2\2\u0323"+
|
||||
"\u0324\7q\2\2\u0324\u0326\7t\2\2\u0325\u0321\3\2\2\2\u0325\u0323\3\2\2"+
|
||||
"\2\u0326>\3\2\2\2\u0327\u032c\7#\2\2\u0328\u0329\7p\2\2\u0329\u032a\7"+
|
||||
"q\2\2\u032a\u032c\7v\2\2\u032b\u0327\3\2\2\2\u032b\u0328\3\2\2\2\u032c"+
|
||||
"@\3\2\2\2\u032d\u032e\7?\2\2\u032eB\3\2\2\2\u032f\u0331\7\17\2\2\u0330"+
|
||||
"\u032f\3\2\2\2\u0330\u0331\3\2\2\2\u0331\u0332\3\2\2\2\u0332\u0336\7\f"+
|
||||
"\2\2\u0333\u0335\7\"\2\2\u0334\u0333\3\2\2\2\u0335\u0338\3\2\2\2\u0336"+
|
||||
"\u0334\3\2\2\2\u0336\u0337\3\2\2\2\u0337D\3\2\2\2\u0338\u0336\3\2\2\2"+
|
||||
"\u0339\u033b\t\3\2\2\u033a\u0339\3\2\2\2\u033b\u033c\3\2\2\2\u033c\u033a"+
|
||||
"\3\2\2\2\u033c\u033d\3\2\2\2\u033d\u033e\3\2\2\2\u033e\u033f\b#\2\2\u033f"+
|
||||
"F\3\2\2\2\u0340\u0341\7\61\2\2\u0341\u0342\7\61\2\2\u0342\u0346\3\2\2"+
|
||||
"\2\u0343\u0345\n\4\2\2\u0344\u0343\3\2\2\2\u0345\u0348\3\2\2\2\u0346\u0344"+
|
||||
"\3\2\2\2\u0346\u0347\3\2\2\2\u0347\u0349\3\2\2\2\u0348\u0346\3\2\2\2\u0349"+
|
||||
"\u034a\b$\3\2\u034aH\3\2\2\2\u034b\u034f\t\5\2\2\u034c\u034e\t\6\2\2\u034d"+
|
||||
"\u034c\3\2\2\2\u034e\u0351\3\2\2\2\u034f\u034d\3\2\2\2\u034f\u0350\3\2"+
|
||||
"\2\2\u0350J\3\2\2\2\u0351\u034f\3\2\2\2\u0352\u0353\t\7\2\2\u0353L\3\2"+
|
||||
"\2\2\u0354\u0355\t\b\2\2\u0355N\3\2\2\2\u0356\u035c\t\t\2\2\u0357\u0358"+
|
||||
"\7>\2\2\u0358\u035c\7?\2\2\u0359\u035a\7@\2\2\u035a\u035c\7?\2\2\u035b"+
|
||||
"\u0356\3\2\2\2\u035b\u0357\3\2\2\2\u035b\u0359\3\2\2\2\u035cP\3\2\2\2"+
|
||||
"\u035d\u035e\7?\2\2\u035e\u0362\7?\2\2\u035f\u0360\7#\2\2\u0360\u0362"+
|
||||
"\7?\2\2\u0361\u035d\3\2\2\2\u0361\u035f\3\2\2\2\u0362R\3\2\2\2\u0363\u0364"+
|
||||
"\7(\2\2\u0364T\3\2\2\2\u0365\u0366\7~\2\2\u0366V\3\2\2\2\u0367\u0368\t"+
|
||||
"\n\2\2\u0368X\3\2\2\2\u0369\u036a\7\62\2\2\u036a\u036e\7z\2\2\u036b\u036c"+
|
||||
"\7\62\2\2\u036c\u036e\7Z\2\2\u036d\u0369\3\2\2\2\u036d\u036b\3\2\2\2\u036e"+
|
||||
"\u0370\3\2\2\2\u036f\u0371\5W,\2\u0370\u036f\3\2\2\2\u0371\u0372\3\2\2"+
|
||||
"\2\u0372\u0370\3\2\2\2\u0372\u0373\3\2\2\2\u0373Z\3\2\2\2\21\2\u013a\u0314"+
|
||||
"\u031f\u0325\u032b\u0330\u0336\u033c\u0346\u034f\u035b\u0361\u036d\u0372";
|
||||
public static final ATN _ATN =
|
||||
ATNSimulator.deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
|
|
|
@ -1,64 +1,73 @@
|
|||
OP_IN_OR=37
|
||||
EQ_OP=26
|
||||
OP_AND=36
|
||||
LINE_COMMENT=29
|
||||
OP_LOG_OR=24
|
||||
OP_ADD=32
|
||||
T__20=1
|
||||
OP_MUL=33
|
||||
HEX_DIGIT=38
|
||||
INT=30
|
||||
T__9=12
|
||||
T__8=13
|
||||
T__7=14
|
||||
T__6=15
|
||||
T__5=16
|
||||
T__4=17
|
||||
T__19=2
|
||||
OP_EQ=35
|
||||
WS=28
|
||||
T__16=5
|
||||
T__15=6
|
||||
T__18=3
|
||||
T__17=4
|
||||
T__12=9
|
||||
T__11=10
|
||||
T__14=7
|
||||
T__13=8
|
||||
T__1=20
|
||||
T__0=21
|
||||
T__10=11
|
||||
T__3=18
|
||||
T__2=19
|
||||
OP_EX_OR=22
|
||||
VAR=31
|
||||
OP_NOT=25
|
||||
NL=27
|
||||
HEX_NUMBER=39
|
||||
OP_REL=34
|
||||
OP_LOG_AND=23
|
||||
'block.difficulty'=21
|
||||
'|'=37
|
||||
'block.number'=20
|
||||
'block.prevhash'=19
|
||||
'block.gaslimit'=18
|
||||
'contract.balance'=17
|
||||
'msg.value'=16
|
||||
'block.timestamp'=15
|
||||
'msg.sender'=14
|
||||
'='=26
|
||||
'return'=13
|
||||
'elif'=12
|
||||
'if'=11
|
||||
':'=9
|
||||
'('=10
|
||||
'tx.gas'=6
|
||||
OP_IN_OR=42
|
||||
EQ_OP=32
|
||||
OP_AND=41
|
||||
LINE_COMMENT=35
|
||||
T__24=1
|
||||
OP_LOG_OR=30
|
||||
T__23=2
|
||||
T__22=3
|
||||
OP_ADD=37
|
||||
T__21=4
|
||||
T__20=5
|
||||
OP_MUL=38
|
||||
HEX_DIGIT=43
|
||||
INT=26
|
||||
T__9=16
|
||||
T__8=17
|
||||
T__7=18
|
||||
T__6=19
|
||||
T__5=20
|
||||
T__4=21
|
||||
T__19=6
|
||||
OP_EQ=40
|
||||
WS=34
|
||||
T__16=9
|
||||
T__15=10
|
||||
T__18=7
|
||||
T__17=8
|
||||
T__12=13
|
||||
T__11=14
|
||||
T__14=11
|
||||
T__13=12
|
||||
T__1=24
|
||||
T__0=25
|
||||
T__10=15
|
||||
T__3=22
|
||||
T__2=23
|
||||
OP_EX_OR=28
|
||||
ASM_SYMBOLS=27
|
||||
VAR=36
|
||||
OP_NOT=31
|
||||
NL=33
|
||||
HEX_NUMBER=44
|
||||
OP_REL=39
|
||||
OP_LOG_AND=29
|
||||
'|'=42
|
||||
'block.number'=24
|
||||
'block.gaslimit'=22
|
||||
'asm]'=21
|
||||
'contract.balance'=20
|
||||
'msg.sender'=16
|
||||
'='=32
|
||||
'return'=15
|
||||
'elif'=14
|
||||
'tx.origin'=7
|
||||
'while'=8
|
||||
'tx.gasprice'=4
|
||||
'else:'=5
|
||||
'tx.gasprice'=4
|
||||
')'=3
|
||||
'xor'=22
|
||||
'xor'=28
|
||||
'msg.datasize'=1
|
||||
'block.difficulty'=25
|
||||
'block.prevhash'=23
|
||||
'msg.value'=19
|
||||
'[asm'=18
|
||||
'block.timestamp'=17
|
||||
'if'=13
|
||||
'('=12
|
||||
':'=11
|
||||
'msg'=10
|
||||
'tx.gas'=9
|
||||
'while'=8
|
||||
','=6
|
||||
'block.coinbase'=2
|
||||
'&'=36
|
||||
'&'=41
|
||||
|
|
|
@ -184,6 +184,17 @@ public interface SerpentListener extends ParseTreeListener {
|
|||
*/
|
||||
void exitBlock_gaslimit(@NotNull SerpentParser.Block_gaslimitContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#msg_func}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterMsg_func(@NotNull SerpentParser.Msg_funcContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link SerpentParser#msg_func}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitMsg_func(@NotNull SerpentParser.Msg_funcContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#rel_exp}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -327,17 +338,6 @@ public interface SerpentListener extends ParseTreeListener {
|
|||
*/
|
||||
void exitLog_or_exp(@NotNull SerpentParser.Log_or_expContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#block_prevhash}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link SerpentParser#block_prevhash}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#and_exp}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -349,6 +349,17 @@ public interface SerpentListener extends ParseTreeListener {
|
|||
*/
|
||||
void exitAnd_exp(@NotNull SerpentParser.And_expContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#block_prevhash}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link SerpentParser#block_prevhash}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#mul_expr}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -381,4 +392,15 @@ public interface SerpentListener extends ParseTreeListener {
|
|||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitMsg_value(@NotNull SerpentParser.Msg_valueContext ctx);
|
||||
|
||||
/**
|
||||
* Enter a parse tree produced by {@link SerpentParser#asm}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterAsm(@NotNull SerpentParser.AsmContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by {@link SerpentParser#asm}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitAsm(@NotNull SerpentParser.AsmContext ctx);
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -5,6 +5,7 @@ import org.spongycastle.util.encoders.Hex;
|
|||
|
||||
import java.math.BigInteger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* www.ethereumJ.com
|
||||
|
@ -187,6 +188,9 @@ public class SerpentToAssemblyCompiler extends SerpentBaseVisitor<String> {
|
|||
if (ctx.special_func() != null)
|
||||
return visitSpecial_func(ctx.special_func());
|
||||
|
||||
if (ctx.msg_func() != null)
|
||||
return visitMsg_func(ctx.msg_func());
|
||||
|
||||
return ctx.INT().toString();
|
||||
}
|
||||
|
||||
|
@ -395,7 +399,50 @@ public class SerpentToAssemblyCompiler extends SerpentBaseVisitor<String> {
|
|||
return " GASLIMIT ";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String visitRet_func(@NotNull SerpentParser.Ret_funcContext ctx) {
|
||||
|
||||
return ctx.INT() + " MSIZE SWAP MSIZE MSTORE 32 SWAP RETURN";
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String visitMsg_func(@NotNull SerpentParser.Msg_funcContext ctx) {
|
||||
|
||||
String operand0 = visit(ctx.int_val(0));
|
||||
String operand1 = visit(ctx.int_val(1));
|
||||
String operand2 = visit(ctx.int_val(2));
|
||||
String operand3 = visit(ctx.int_val(3));
|
||||
String operand4 = visit(ctx.int_val(4));
|
||||
|
||||
return " 32 " + operand4 + " MUL " + operand3 + " " + operand1 + " " + operand0 + " " + operand2 + " CALL";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String visitAsm(@NotNull SerpentParser.AsmContext ctx) {
|
||||
|
||||
int size = ((SerpentParser.AsmContext) ctx).getChildCount();
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
||||
for (int i = 0; i < size ; ++i){
|
||||
|
||||
String symbol = ((SerpentParser.AsmContext) ctx).getChild(i).toString();
|
||||
symbol = symbol.trim();
|
||||
|
||||
if (symbol.equals("[asm") || symbol.equals("asm]") || symbol.equals("\n")) continue;
|
||||
|
||||
boolean match = Pattern.matches("[0-9a-fA-F]+", symbol);
|
||||
if (match){
|
||||
|
||||
int byteVal = Integer.parseInt(symbol);
|
||||
if (byteVal > 255 || byteVal < 0) throw new Error("In the [asm asm] block should be placed only byte range numbers");
|
||||
}
|
||||
|
||||
sb.append(symbol).append(" ");
|
||||
}
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String aggregateResult(String aggregate, String nextResult) {
|
||||
|
|
|
@ -123,6 +123,13 @@ public interface SerpentVisitor<T> extends ParseTreeVisitor<T> {
|
|||
*/
|
||||
T visitBlock_gaslimit(@NotNull SerpentParser.Block_gaslimitContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#msg_func}.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitMsg_func(@NotNull SerpentParser.Msg_funcContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#rel_exp}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -214,13 +221,6 @@ public interface SerpentVisitor<T> extends ParseTreeVisitor<T> {
|
|||
*/
|
||||
T visitLog_or_exp(@NotNull SerpentParser.Log_or_expContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#block_prevhash}.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#and_exp}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -228,6 +228,13 @@ public interface SerpentVisitor<T> extends ParseTreeVisitor<T> {
|
|||
*/
|
||||
T visitAnd_exp(@NotNull SerpentParser.And_expContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#block_prevhash}.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitBlock_prevhash(@NotNull SerpentParser.Block_prevhashContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#mul_expr}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -248,4 +255,11 @@ public interface SerpentVisitor<T> extends ParseTreeVisitor<T> {
|
|||
* @return the visitor result
|
||||
*/
|
||||
T visitMsg_value(@NotNull SerpentParser.Msg_valueContext ctx);
|
||||
|
||||
/**
|
||||
* Visit a parse tree produced by {@link SerpentParser#asm}.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitAsm(@NotNull SerpentParser.AsmContext ctx);
|
||||
}
|
|
@ -1250,6 +1250,8 @@ public class SerpentCompileTest {
|
|||
* todo: return testing
|
||||
* todo: memory_storage testing
|
||||
* todo: message access testing
|
||||
* todo: msg testing
|
||||
* todo: [asm asm] testing
|
||||
*
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue