mirror of
https://github.com/corda/corda.git
synced 2025-01-24 05:18:24 +00:00
63b06ebde8
Instead of having an opcode 'CHAR', let's have the opcodes that fall within the range of a char *be* the opcode 'match this character'. While at it, break the ranges of the different types of opcodes apart into ranges so that related operations are clustered. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
30 lines
667 B
Java
30 lines
667 B
Java
/* Copyright (c) 2008-2013, Avian Contributors
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
for any purpose with or without fee is hereby granted, provided
|
|
that the above copyright notice and this permission notice appear
|
|
in all copies.
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
details. */
|
|
|
|
package regex;
|
|
|
|
/**
|
|
* Opcodes for the Pike VM.
|
|
* <p>
|
|
* See {@link PikeVM}.
|
|
* </p>
|
|
*
|
|
* @author Johannes Schindelin
|
|
*/
|
|
interface PikeVMOpcodes {
|
|
final static int DOT = -1;
|
|
final static int DOTALL = -2;
|
|
|
|
final static int SAVE_OFFSET = -40;
|
|
|
|
final static int SPLIT = -50;
|
|
final static int JMP = -51;
|
|
}
|