runeliteplus: checkstyle fixes, add support for gradle in travis
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -1,5 +1,6 @@
|
|||||||
allprojects {
|
allprojects {
|
||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
|
apply plugin: 'checkstyle'
|
||||||
|
|
||||||
group = 'net.runelite'
|
group = 'net.runelite'
|
||||||
version = '1.5.30-SNAPSHOT'
|
version = '1.5.30-SNAPSHOT'
|
||||||
@@ -23,7 +24,11 @@ subprojects {
|
|||||||
maven { url "https://raw.githubusercontent.com/runelite-extended/maven-repo/master" }
|
maven { url "https://raw.githubusercontent.com/runelite-extended/maven-repo/master" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkstyle {
|
||||||
|
toolVersion = '6.4.1'
|
||||||
|
sourceSets = [sourceSets.main]
|
||||||
|
configFile = rootProject.file("/checkstyle/checkstyle.xml");
|
||||||
|
showViolations = true
|
||||||
|
ignoreFailures = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,330 +10,545 @@ import org.antlr.v4.runtime.tree.TerminalNode;
|
|||||||
* which can be extended to create a listener which only needs to handle a subset
|
* which can be extended to create a listener which only needs to handle a subset
|
||||||
* of the available methods.
|
* of the available methods.
|
||||||
*/
|
*/
|
||||||
public class rs2asmBaseListener implements rs2asmListener {
|
public class rs2asmBaseListener implements rs2asmListener
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterProg(rs2asmParser.ProgContext ctx) { }
|
@Override
|
||||||
/**
|
public void enterProg(rs2asmParser.ProgContext ctx)
|
||||||
* {@inheritDoc}
|
{
|
||||||
*
|
}
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitProg(rs2asmParser.ProgContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterHeader(rs2asmParser.HeaderContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitHeader(rs2asmParser.HeaderContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterId(rs2asmParser.IdContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitId(rs2asmParser.IdContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInt_stack_count(rs2asmParser.Int_stack_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInt_stack_count(rs2asmParser.Int_stack_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterString_stack_count(rs2asmParser.String_stack_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitString_stack_count(rs2asmParser.String_stack_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInt_var_count(rs2asmParser.Int_var_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInt_var_count(rs2asmParser.Int_var_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterString_var_count(rs2asmParser.String_var_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitString_var_count(rs2asmParser.String_var_countContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterId_value(rs2asmParser.Id_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitId_value(rs2asmParser.Id_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInt_stack_value(rs2asmParser.Int_stack_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInt_stack_value(rs2asmParser.Int_stack_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterString_stack_value(rs2asmParser.String_stack_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitString_stack_value(rs2asmParser.String_stack_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInt_var_value(rs2asmParser.Int_var_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInt_var_value(rs2asmParser.Int_var_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterString_var_value(rs2asmParser.String_var_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitString_var_value(rs2asmParser.String_var_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterLine(rs2asmParser.LineContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitLine(rs2asmParser.LineContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInstruction(rs2asmParser.InstructionContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInstruction(rs2asmParser.InstructionContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterLabel(rs2asmParser.LabelContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitLabel(rs2asmParser.LabelContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInstruction_name(rs2asmParser.Instruction_nameContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInstruction_name(rs2asmParser.Instruction_nameContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterName_string(rs2asmParser.Name_stringContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitName_string(rs2asmParser.Name_stringContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterName_opcode(rs2asmParser.Name_opcodeContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitName_opcode(rs2asmParser.Name_opcodeContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterInstruction_operand(rs2asmParser.Instruction_operandContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitInstruction_operand(rs2asmParser.Instruction_operandContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterOperand_int(rs2asmParser.Operand_intContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitOperand_int(rs2asmParser.Operand_intContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterOperand_qstring(rs2asmParser.Operand_qstringContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitOperand_qstring(rs2asmParser.Operand_qstringContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterOperand_label(rs2asmParser.Operand_labelContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitOperand_label(rs2asmParser.Operand_labelContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterSwitch_lookup(rs2asmParser.Switch_lookupContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitSwitch_lookup(rs2asmParser.Switch_lookupContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterSwitch_key(rs2asmParser.Switch_keyContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitSwitch_key(rs2asmParser.Switch_keyContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void enterSwitch_value(rs2asmParser.Switch_valueContext ctx) { }
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
|
||||||
@Override public void exitSwitch_value(rs2asmParser.Switch_valueContext ctx) { }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*
|
*
|
||||||
* <p>The default implementation does nothing.</p>
|
* <p>The default implementation does nothing.</p>
|
||||||
*/
|
*/
|
||||||
@Override public void enterEveryRule(ParserRuleContext ctx) { }
|
@Override
|
||||||
/**
|
public void exitProg(rs2asmParser.ProgContext ctx)
|
||||||
* {@inheritDoc}
|
{
|
||||||
*
|
}
|
||||||
* <p>The default implementation does nothing.</p>
|
|
||||||
*/
|
/**
|
||||||
@Override public void exitEveryRule(ParserRuleContext ctx) { }
|
* {@inheritDoc}
|
||||||
/**
|
*
|
||||||
* {@inheritDoc}
|
* <p>The default implementation does nothing.</p>
|
||||||
*
|
*/
|
||||||
* <p>The default implementation does nothing.</p>
|
@Override
|
||||||
*/
|
public void enterHeader(rs2asmParser.HeaderContext ctx)
|
||||||
@Override public void visitTerminal(TerminalNode node) { }
|
{
|
||||||
/**
|
}
|
||||||
* {@inheritDoc}
|
|
||||||
*
|
/**
|
||||||
* <p>The default implementation does nothing.</p>
|
* {@inheritDoc}
|
||||||
*/
|
*
|
||||||
@Override public void visitErrorNode(ErrorNode node) { }
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitHeader(rs2asmParser.HeaderContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterId(rs2asmParser.IdContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitId(rs2asmParser.IdContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInt_stack_count(rs2asmParser.Int_stack_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInt_stack_count(rs2asmParser.Int_stack_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterString_stack_count(rs2asmParser.String_stack_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitString_stack_count(rs2asmParser.String_stack_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInt_var_count(rs2asmParser.Int_var_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInt_var_count(rs2asmParser.Int_var_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterString_var_count(rs2asmParser.String_var_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitString_var_count(rs2asmParser.String_var_countContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterId_value(rs2asmParser.Id_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitId_value(rs2asmParser.Id_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInt_stack_value(rs2asmParser.Int_stack_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInt_stack_value(rs2asmParser.Int_stack_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterString_stack_value(rs2asmParser.String_stack_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitString_stack_value(rs2asmParser.String_stack_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInt_var_value(rs2asmParser.Int_var_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInt_var_value(rs2asmParser.Int_var_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterString_var_value(rs2asmParser.String_var_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitString_var_value(rs2asmParser.String_var_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterLine(rs2asmParser.LineContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitLine(rs2asmParser.LineContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInstruction(rs2asmParser.InstructionContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInstruction(rs2asmParser.InstructionContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterLabel(rs2asmParser.LabelContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitLabel(rs2asmParser.LabelContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInstruction_name(rs2asmParser.Instruction_nameContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInstruction_name(rs2asmParser.Instruction_nameContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterName_string(rs2asmParser.Name_stringContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitName_string(rs2asmParser.Name_stringContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterName_opcode(rs2asmParser.Name_opcodeContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitName_opcode(rs2asmParser.Name_opcodeContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterInstruction_operand(rs2asmParser.Instruction_operandContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitInstruction_operand(rs2asmParser.Instruction_operandContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterOperand_int(rs2asmParser.Operand_intContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitOperand_int(rs2asmParser.Operand_intContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterOperand_qstring(rs2asmParser.Operand_qstringContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitOperand_qstring(rs2asmParser.Operand_qstringContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterOperand_label(rs2asmParser.Operand_labelContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitOperand_label(rs2asmParser.Operand_labelContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterSwitch_lookup(rs2asmParser.Switch_lookupContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitSwitch_lookup(rs2asmParser.Switch_lookupContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterSwitch_key(rs2asmParser.Switch_keyContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitSwitch_key(rs2asmParser.Switch_keyContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterSwitch_value(rs2asmParser.Switch_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitSwitch_value(rs2asmParser.Switch_valueContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void visitTerminal(TerminalNode node)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void visitErrorNode(ErrorNode node)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void enterEveryRule(ParserRuleContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*
|
||||||
|
* <p>The default implementation does nothing.</p>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void exitEveryRule(ParserRuleContext ctx)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -13,86 +13,20 @@ import org.antlr.v4.runtime.atn.PredictionContextCache;
|
|||||||
import org.antlr.v4.runtime.dfa.DFA;
|
import org.antlr.v4.runtime.dfa.DFA;
|
||||||
|
|
||||||
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
|
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
|
||||||
public class rs2asmLexer extends Lexer {
|
public class rs2asmLexer extends Lexer
|
||||||
static { RuntimeMetaData.checkVersion("4.6", RuntimeMetaData.VERSION); }
|
{
|
||||||
|
|
||||||
protected static final DFA[] _decisionToDFA;
|
|
||||||
protected static final PredictionContextCache _sharedContextCache =
|
|
||||||
new PredictionContextCache();
|
|
||||||
public static final int
|
public static final int
|
||||||
T__0 = 1, T__1 = 2, T__2 = 3, T__3 = 4, T__4 = 5, T__5 = 6, NEWLINE = 7, INT = 8, QSTRING = 9,
|
T__0 = 1, T__1 = 2, T__2 = 3, T__3 = 4, T__4 = 5, T__5 = 6, NEWLINE = 7, INT = 8, QSTRING = 9,
|
||||||
IDENTIFIER = 10, COMMENT = 11, WS = 12;
|
IDENTIFIER = 10, COMMENT = 11, WS = 12;
|
||||||
public static String[] modeNames = {
|
|
||||||
"DEFAULT_MODE"
|
|
||||||
};
|
|
||||||
|
|
||||||
public static final String[] ruleNames = {
|
public static final String[] ruleNames = {
|
||||||
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "NEWLINE", "INT", "QSTRING",
|
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "NEWLINE", "INT", "QSTRING",
|
||||||
"IDENTIFIER", "COMMENT", "WS"
|
"IDENTIFIER", "COMMENT", "WS"
|
||||||
};
|
};
|
||||||
|
|
||||||
private static final String[] _LITERAL_NAMES = {
|
|
||||||
null, "'.id '", "'.int_stack_count '", "'.string_stack_count '", "'.int_var_count '",
|
|
||||||
"'.string_var_count '", "':'"
|
|
||||||
};
|
|
||||||
private static final String[] _SYMBOLIC_NAMES = {
|
|
||||||
null, null, null, null, null, null, null, "NEWLINE", "INT", "QSTRING",
|
|
||||||
"IDENTIFIER", "COMMENT", "WS"
|
|
||||||
};
|
|
||||||
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link #VOCABULARY} instead.
|
* @deprecated Use {@link #VOCABULARY} instead.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final String[] tokenNames;
|
public static final String[] tokenNames;
|
||||||
static {
|
|
||||||
tokenNames = new String[_SYMBOLIC_NAMES.length];
|
|
||||||
for (int i = 0; i < tokenNames.length; i++) {
|
|
||||||
tokenNames[i] = VOCABULARY.getLiteralName(i);
|
|
||||||
if (tokenNames[i] == null) {
|
|
||||||
tokenNames[i] = VOCABULARY.getSymbolicName(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tokenNames[i] == null) {
|
|
||||||
tokenNames[i] = "<INVALID>";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
@Deprecated
|
|
||||||
public String[] getTokenNames() {
|
|
||||||
return tokenNames;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
|
|
||||||
public Vocabulary getVocabulary() {
|
|
||||||
return VOCABULARY;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public rs2asmLexer(CharStream input) {
|
|
||||||
super(input);
|
|
||||||
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getGrammarFileName() { return "rs2asm.g4"; }
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String[] getRuleNames() { return ruleNames; }
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getSerializedATN() { return _serializedATN; }
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String[] getModeNames() { return modeNames; }
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public ATN getATN() { return _ATN; }
|
|
||||||
|
|
||||||
public static final String _serializedATN =
|
public static final String _serializedATN =
|
||||||
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\16\u0099\b\1\4\2" +
|
"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\16\u0099\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" +
|
"\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" +
|
||||||
@@ -137,10 +71,101 @@ public class rs2asmLexer extends Lexer {
|
|||||||
"\32\3\2\2\2\13\2orw}\177\u0087\u008d\u0095\3\2\3\2";
|
"\32\3\2\2\2\13\2orw}\177\u0087\u008d\u0095\3\2\3\2";
|
||||||
public static final ATN _ATN =
|
public static final ATN _ATN =
|
||||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||||
static {
|
protected static final DFA[] _decisionToDFA;
|
||||||
|
protected static final PredictionContextCache _sharedContextCache =
|
||||||
|
new PredictionContextCache();
|
||||||
|
private static final String[] _LITERAL_NAMES = {
|
||||||
|
null, "'.id '", "'.int_stack_count '", "'.string_stack_count '", "'.int_var_count '",
|
||||||
|
"'.string_var_count '", "':'"
|
||||||
|
};
|
||||||
|
private static final String[] _SYMBOLIC_NAMES = {
|
||||||
|
null, null, null, null, null, null, null, "NEWLINE", "INT", "QSTRING",
|
||||||
|
"IDENTIFIER", "COMMENT", "WS"
|
||||||
|
};
|
||||||
|
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
|
||||||
|
public static String[] modeNames = {
|
||||||
|
"DEFAULT_MODE"
|
||||||
|
};
|
||||||
|
|
||||||
|
static
|
||||||
|
{
|
||||||
|
RuntimeMetaData.checkVersion("4.6", RuntimeMetaData.VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
|
static
|
||||||
|
{
|
||||||
|
tokenNames = new String[_SYMBOLIC_NAMES.length];
|
||||||
|
for (int i = 0; i < tokenNames.length; i++)
|
||||||
|
{
|
||||||
|
tokenNames[i] = VOCABULARY.getLiteralName(i);
|
||||||
|
if (tokenNames[i] == null)
|
||||||
|
{
|
||||||
|
tokenNames[i] = VOCABULARY.getSymbolicName(i);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tokenNames[i] == null)
|
||||||
|
{
|
||||||
|
tokenNames[i] = "<INVALID>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static
|
||||||
|
{
|
||||||
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
|
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
|
||||||
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
|
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++)
|
||||||
|
{
|
||||||
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public rs2asmLexer(CharStream input)
|
||||||
|
{
|
||||||
|
super(input);
|
||||||
|
_interp = new LexerATNSimulator(this, _ATN, _decisionToDFA, _sharedContextCache);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String[] getRuleNames()
|
||||||
|
{
|
||||||
|
return ruleNames;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
|
||||||
|
public Vocabulary getVocabulary()
|
||||||
|
{
|
||||||
|
return VOCABULARY;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getSerializedATN()
|
||||||
|
{
|
||||||
|
return _serializedATN;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getGrammarFileName()
|
||||||
|
{
|
||||||
|
return "rs2asm.g4";
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ATN getATN()
|
||||||
|
{
|
||||||
|
return _ATN;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String[] getModeNames()
|
||||||
|
{
|
||||||
|
return modeNames;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Deprecated
|
||||||
|
public String[] getTokenNames()
|
||||||
|
{
|
||||||
|
return tokenNames;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,259 +1,360 @@
|
|||||||
// Generated from net\runelite\cache\script\assembler\rs2asm.g4 by ANTLR 4.6
|
// Generated from net\runelite\cache\script\assembler\rs2asm.g4 by ANTLR 4.6
|
||||||
package net.runelite.cache.script.assembler;
|
package net.runelite.cache.script.assembler;
|
||||||
|
|
||||||
import org.antlr.v4.runtime.tree.ParseTreeListener;
|
import org.antlr.v4.runtime.tree.ParseTreeListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This interface defines a complete listener for a parse tree produced by
|
* This interface defines a complete listener for a parse tree produced by
|
||||||
* {@link rs2asmParser}.
|
* {@link rs2asmParser}.
|
||||||
*/
|
*/
|
||||||
public interface rs2asmListener extends ParseTreeListener {
|
public interface rs2asmListener extends ParseTreeListener
|
||||||
|
{
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#prog}.
|
* Enter a parse tree produced by {@link rs2asmParser#prog}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterProg(rs2asmParser.ProgContext ctx);
|
void enterProg(rs2asmParser.ProgContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#prog}.
|
* Exit a parse tree produced by {@link rs2asmParser#prog}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitProg(rs2asmParser.ProgContext ctx);
|
void exitProg(rs2asmParser.ProgContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#header}.
|
* Enter a parse tree produced by {@link rs2asmParser#header}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterHeader(rs2asmParser.HeaderContext ctx);
|
void enterHeader(rs2asmParser.HeaderContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#header}.
|
* Exit a parse tree produced by {@link rs2asmParser#header}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitHeader(rs2asmParser.HeaderContext ctx);
|
void exitHeader(rs2asmParser.HeaderContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#id}.
|
* Enter a parse tree produced by {@link rs2asmParser#id}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterId(rs2asmParser.IdContext ctx);
|
void enterId(rs2asmParser.IdContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#id}.
|
* Exit a parse tree produced by {@link rs2asmParser#id}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitId(rs2asmParser.IdContext ctx);
|
void exitId(rs2asmParser.IdContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#int_stack_count}.
|
* Enter a parse tree produced by {@link rs2asmParser#int_stack_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInt_stack_count(rs2asmParser.Int_stack_countContext ctx);
|
void enterInt_stack_count(rs2asmParser.Int_stack_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#int_stack_count}.
|
* Exit a parse tree produced by {@link rs2asmParser#int_stack_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInt_stack_count(rs2asmParser.Int_stack_countContext ctx);
|
void exitInt_stack_count(rs2asmParser.Int_stack_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#string_stack_count}.
|
* Enter a parse tree produced by {@link rs2asmParser#string_stack_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterString_stack_count(rs2asmParser.String_stack_countContext ctx);
|
void enterString_stack_count(rs2asmParser.String_stack_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#string_stack_count}.
|
* Exit a parse tree produced by {@link rs2asmParser#string_stack_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitString_stack_count(rs2asmParser.String_stack_countContext ctx);
|
void exitString_stack_count(rs2asmParser.String_stack_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#int_var_count}.
|
* Enter a parse tree produced by {@link rs2asmParser#int_var_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInt_var_count(rs2asmParser.Int_var_countContext ctx);
|
void enterInt_var_count(rs2asmParser.Int_var_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#int_var_count}.
|
* Exit a parse tree produced by {@link rs2asmParser#int_var_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInt_var_count(rs2asmParser.Int_var_countContext ctx);
|
void exitInt_var_count(rs2asmParser.Int_var_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#string_var_count}.
|
* Enter a parse tree produced by {@link rs2asmParser#string_var_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterString_var_count(rs2asmParser.String_var_countContext ctx);
|
void enterString_var_count(rs2asmParser.String_var_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#string_var_count}.
|
* Exit a parse tree produced by {@link rs2asmParser#string_var_count}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitString_var_count(rs2asmParser.String_var_countContext ctx);
|
void exitString_var_count(rs2asmParser.String_var_countContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#id_value}.
|
* Enter a parse tree produced by {@link rs2asmParser#id_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterId_value(rs2asmParser.Id_valueContext ctx);
|
void enterId_value(rs2asmParser.Id_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#id_value}.
|
* Exit a parse tree produced by {@link rs2asmParser#id_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitId_value(rs2asmParser.Id_valueContext ctx);
|
void exitId_value(rs2asmParser.Id_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#int_stack_value}.
|
* Enter a parse tree produced by {@link rs2asmParser#int_stack_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInt_stack_value(rs2asmParser.Int_stack_valueContext ctx);
|
void enterInt_stack_value(rs2asmParser.Int_stack_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#int_stack_value}.
|
* Exit a parse tree produced by {@link rs2asmParser#int_stack_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInt_stack_value(rs2asmParser.Int_stack_valueContext ctx);
|
void exitInt_stack_value(rs2asmParser.Int_stack_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#string_stack_value}.
|
* Enter a parse tree produced by {@link rs2asmParser#string_stack_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterString_stack_value(rs2asmParser.String_stack_valueContext ctx);
|
void enterString_stack_value(rs2asmParser.String_stack_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#string_stack_value}.
|
* Exit a parse tree produced by {@link rs2asmParser#string_stack_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitString_stack_value(rs2asmParser.String_stack_valueContext ctx);
|
void exitString_stack_value(rs2asmParser.String_stack_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#int_var_value}.
|
* Enter a parse tree produced by {@link rs2asmParser#int_var_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInt_var_value(rs2asmParser.Int_var_valueContext ctx);
|
void enterInt_var_value(rs2asmParser.Int_var_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#int_var_value}.
|
* Exit a parse tree produced by {@link rs2asmParser#int_var_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInt_var_value(rs2asmParser.Int_var_valueContext ctx);
|
void exitInt_var_value(rs2asmParser.Int_var_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#string_var_value}.
|
* Enter a parse tree produced by {@link rs2asmParser#string_var_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterString_var_value(rs2asmParser.String_var_valueContext ctx);
|
void enterString_var_value(rs2asmParser.String_var_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#string_var_value}.
|
* Exit a parse tree produced by {@link rs2asmParser#string_var_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitString_var_value(rs2asmParser.String_var_valueContext ctx);
|
void exitString_var_value(rs2asmParser.String_var_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#line}.
|
* Enter a parse tree produced by {@link rs2asmParser#line}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterLine(rs2asmParser.LineContext ctx);
|
void enterLine(rs2asmParser.LineContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#line}.
|
* Exit a parse tree produced by {@link rs2asmParser#line}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitLine(rs2asmParser.LineContext ctx);
|
void exitLine(rs2asmParser.LineContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#instruction}.
|
* Enter a parse tree produced by {@link rs2asmParser#instruction}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInstruction(rs2asmParser.InstructionContext ctx);
|
void enterInstruction(rs2asmParser.InstructionContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#instruction}.
|
* Exit a parse tree produced by {@link rs2asmParser#instruction}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInstruction(rs2asmParser.InstructionContext ctx);
|
void exitInstruction(rs2asmParser.InstructionContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#label}.
|
* Enter a parse tree produced by {@link rs2asmParser#label}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterLabel(rs2asmParser.LabelContext ctx);
|
void enterLabel(rs2asmParser.LabelContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#label}.
|
* Exit a parse tree produced by {@link rs2asmParser#label}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitLabel(rs2asmParser.LabelContext ctx);
|
void exitLabel(rs2asmParser.LabelContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#instruction_name}.
|
* Enter a parse tree produced by {@link rs2asmParser#instruction_name}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInstruction_name(rs2asmParser.Instruction_nameContext ctx);
|
void enterInstruction_name(rs2asmParser.Instruction_nameContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#instruction_name}.
|
* Exit a parse tree produced by {@link rs2asmParser#instruction_name}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInstruction_name(rs2asmParser.Instruction_nameContext ctx);
|
void exitInstruction_name(rs2asmParser.Instruction_nameContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#name_string}.
|
* Enter a parse tree produced by {@link rs2asmParser#name_string}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterName_string(rs2asmParser.Name_stringContext ctx);
|
void enterName_string(rs2asmParser.Name_stringContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#name_string}.
|
* Exit a parse tree produced by {@link rs2asmParser#name_string}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitName_string(rs2asmParser.Name_stringContext ctx);
|
void exitName_string(rs2asmParser.Name_stringContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#name_opcode}.
|
* Enter a parse tree produced by {@link rs2asmParser#name_opcode}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterName_opcode(rs2asmParser.Name_opcodeContext ctx);
|
void enterName_opcode(rs2asmParser.Name_opcodeContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#name_opcode}.
|
* Exit a parse tree produced by {@link rs2asmParser#name_opcode}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitName_opcode(rs2asmParser.Name_opcodeContext ctx);
|
void exitName_opcode(rs2asmParser.Name_opcodeContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#instruction_operand}.
|
* Enter a parse tree produced by {@link rs2asmParser#instruction_operand}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterInstruction_operand(rs2asmParser.Instruction_operandContext ctx);
|
void enterInstruction_operand(rs2asmParser.Instruction_operandContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#instruction_operand}.
|
* Exit a parse tree produced by {@link rs2asmParser#instruction_operand}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitInstruction_operand(rs2asmParser.Instruction_operandContext ctx);
|
void exitInstruction_operand(rs2asmParser.Instruction_operandContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#operand_int}.
|
* Enter a parse tree produced by {@link rs2asmParser#operand_int}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterOperand_int(rs2asmParser.Operand_intContext ctx);
|
void enterOperand_int(rs2asmParser.Operand_intContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#operand_int}.
|
* Exit a parse tree produced by {@link rs2asmParser#operand_int}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitOperand_int(rs2asmParser.Operand_intContext ctx);
|
void exitOperand_int(rs2asmParser.Operand_intContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#operand_qstring}.
|
* Enter a parse tree produced by {@link rs2asmParser#operand_qstring}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterOperand_qstring(rs2asmParser.Operand_qstringContext ctx);
|
void enterOperand_qstring(rs2asmParser.Operand_qstringContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#operand_qstring}.
|
* Exit a parse tree produced by {@link rs2asmParser#operand_qstring}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitOperand_qstring(rs2asmParser.Operand_qstringContext ctx);
|
void exitOperand_qstring(rs2asmParser.Operand_qstringContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#operand_label}.
|
* Enter a parse tree produced by {@link rs2asmParser#operand_label}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterOperand_label(rs2asmParser.Operand_labelContext ctx);
|
void enterOperand_label(rs2asmParser.Operand_labelContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#operand_label}.
|
* Exit a parse tree produced by {@link rs2asmParser#operand_label}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitOperand_label(rs2asmParser.Operand_labelContext ctx);
|
void exitOperand_label(rs2asmParser.Operand_labelContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#switch_lookup}.
|
* Enter a parse tree produced by {@link rs2asmParser#switch_lookup}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterSwitch_lookup(rs2asmParser.Switch_lookupContext ctx);
|
void enterSwitch_lookup(rs2asmParser.Switch_lookupContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#switch_lookup}.
|
* Exit a parse tree produced by {@link rs2asmParser#switch_lookup}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitSwitch_lookup(rs2asmParser.Switch_lookupContext ctx);
|
void exitSwitch_lookup(rs2asmParser.Switch_lookupContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#switch_key}.
|
* Enter a parse tree produced by {@link rs2asmParser#switch_key}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterSwitch_key(rs2asmParser.Switch_keyContext ctx);
|
void enterSwitch_key(rs2asmParser.Switch_keyContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#switch_key}.
|
* Exit a parse tree produced by {@link rs2asmParser#switch_key}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitSwitch_key(rs2asmParser.Switch_keyContext ctx);
|
void exitSwitch_key(rs2asmParser.Switch_keyContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter a parse tree produced by {@link rs2asmParser#switch_value}.
|
* Enter a parse tree produced by {@link rs2asmParser#switch_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void enterSwitch_value(rs2asmParser.Switch_valueContext ctx);
|
void enterSwitch_value(rs2asmParser.Switch_valueContext ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exit a parse tree produced by {@link rs2asmParser#switch_value}.
|
* Exit a parse tree produced by {@link rs2asmParser#switch_value}.
|
||||||
|
*
|
||||||
* @param ctx the parse tree
|
* @param ctx the parse tree
|
||||||
*/
|
*/
|
||||||
void exitSwitch_value(rs2asmParser.Switch_valueContext ctx);
|
void exitSwitch_value(rs2asmParser.Switch_valueContext ctx);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -82,19 +82,18 @@ public enum ScriptVarType
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ScriptVarType forCharKey(char key)
|
|
||||||
{
|
|
||||||
return keyToTypeMap.get(key);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The character used when encoding or decoding types.
|
* The character used when encoding or decoding types.
|
||||||
*/
|
*/
|
||||||
private final char keyChar;
|
private final char keyChar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The full name of the var type.
|
* The full name of the var type.
|
||||||
*/
|
*/
|
||||||
private final String fullName;
|
private final String fullName;
|
||||||
|
|
||||||
|
public static ScriptVarType forCharKey(char key)
|
||||||
|
{
|
||||||
|
return keyToTypeMap.get(key);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
63
checkstyle/checkstyle.xml
Normal file
63
checkstyle/checkstyle.xml
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2017, Adam <Adam@sigterm.info>
|
||||||
|
Copyright (c) 2019, ThatGamerBlue <thatgamerblue@gmail.com>
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
<!DOCTYPE module PUBLIC
|
||||||
|
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
|
||||||
|
"https://checkstyle.org/dtds/configuration_1_3.dtd">
|
||||||
|
<module name="Checker">
|
||||||
|
<module name="SuppressionCommentFilter"/>
|
||||||
|
<module name="TreeWalker">
|
||||||
|
<module name="LeftCurly">
|
||||||
|
<property name="option" value="nl"/>
|
||||||
|
</module>
|
||||||
|
<module name="RightCurly">
|
||||||
|
<property name="option" value="alone"/>
|
||||||
|
</module>
|
||||||
|
<!-- require tabs for indenting - https://stackoverflow.com/a/28550141 -->
|
||||||
|
<module name="RegexpSinglelineJava">
|
||||||
|
<property name="format" value="^\t* "/>
|
||||||
|
<property name="message" value="Indent must use tab characters"/>
|
||||||
|
<property name="ignoreComments" value="true"/>
|
||||||
|
</module>
|
||||||
|
<module name="RegexpSinglelineJava">
|
||||||
|
<property name="format" value="import (?!static|java\.awt).*\*"/>
|
||||||
|
<property name="message" value="Multiline imports are disallowed if they are not static"/>
|
||||||
|
<property name="ignoreComments" value="true"/>
|
||||||
|
</module>
|
||||||
|
<module name="WhitespaceAround"/>
|
||||||
|
<module name="WhitespaceAfter">
|
||||||
|
<property name="tokens" value="COMMA"/>
|
||||||
|
</module>
|
||||||
|
<module name="UnusedImports"/>
|
||||||
|
</module>
|
||||||
|
<module name="RegexpMultiline">
|
||||||
|
<property name="format" value="else[ \t]*[\r\n]+[ \t]*if"/>
|
||||||
|
<property name="message" value="Newline should not be between else and if"/>
|
||||||
|
</module>
|
||||||
|
<module name="SuppressionFilter">
|
||||||
|
<property name="file" value="suppressions.xml"/>
|
||||||
|
</module>
|
||||||
|
</module>
|
||||||
@@ -29,4 +29,5 @@
|
|||||||
<suppressions>
|
<suppressions>
|
||||||
<suppress files="RuntimeTypeAdapterFactory\.java" checks="[a-zA-Z0-9]*"/>
|
<suppress files="RuntimeTypeAdapterFactory\.java" checks="[a-zA-Z0-9]*"/>
|
||||||
<suppress files="[\\/]runescape-client[\\/]" checks="[a-zA-Z0-9]*"/>
|
<suppress files="[\\/]runescape-client[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
|
<suppress files="[\\/]cache[\\/]" checks="[a-zA-Z0-9]*"/>
|
||||||
</suppressions>
|
</suppressions>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mvn clean install --settings travis/settings.xml
|
./gradlew build
|
||||||
|
|||||||
Reference in New Issue
Block a user