Package com.bradyrussell.uiscoin.script
Class ScriptParser
java.lang.Object
com.bradyrussell.uiscoin.script.ScriptParser
public class ScriptParser
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ScriptParser()
-
Method Summary
Modifier and Type Method Description static byte[]
CleanupStackSpaceForVariables(int NumberOfVariables)
static byte[]
CompileScriptTokensToBytecode(java.util.ArrayList<java.lang.String> Tokens)
static byte[]
CompileScriptTokensToBytecode_2(java.util.ArrayList<java.lang.String> Tokens)
static int
GetClosingCharacterIndex(java.lang.String Search, char Opening, char Closing, int OpeningBraceIndex)
static java.util.ArrayList<java.lang.String>
GetTokensFromString(java.lang.String scriptText, boolean bGroupBracketsAndParentheses)
static byte[]
InitializeStackSpaceForVariables(int NumberOfVariables)
-
Constructor Details
-
ScriptParser
public ScriptParser()
-
-
Method Details
-
GetClosingCharacterIndex
public static int GetClosingCharacterIndex(java.lang.String Search, char Opening, char Closing, int OpeningBraceIndex) -
CompileScriptTokensToBytecode_2
public static byte[] CompileScriptTokensToBytecode_2(java.util.ArrayList<java.lang.String> Tokens) -
CompileScriptTokensToBytecode
public static byte[] CompileScriptTokensToBytecode(java.util.ArrayList<java.lang.String> Tokens) -
InitializeStackSpaceForVariables
public static byte[] InitializeStackSpaceForVariables(int NumberOfVariables) -
CleanupStackSpaceForVariables
public static byte[] CleanupStackSpaceForVariables(int NumberOfVariables) -
GetTokensFromString
public static java.util.ArrayList<java.lang.String> GetTokensFromString(java.lang.String scriptText, boolean bGroupBracketsAndParentheses)
-