Intermediate commit for BNF and generated Parser and Lexer.

This commit is contained in:
Chris Hodges 2021-07-14 13:07:54 +02:00
parent 6d6e411532
commit 9047c53a0e
136 changed files with 6853 additions and 2 deletions

View File

@ -53,6 +53,8 @@ patchPluginXml {
"""
}
sourceSets.main.java.srcDirs 'src/main/gen'
test {
useJUnitPlatform()
testLogging {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kAbsoluteAddressAddressingMode extends M68kAddressingMode {
@Nullable
M68kAddressSize getAddressSize();
@NotNull
M68kExpr getExpr();
}

View File

@ -0,0 +1,12 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegister extends M68kRegister {
@NotNull
PsiElement getAreg();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegisterDirectAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegisterIndirectAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegisterIndirectPostIncAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegisterIndirectPreDecAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
}

View File

@ -0,0 +1,14 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegisterIndirectWithDisplacementNewAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
@NotNull
M68kExpr getExpr();
}

View File

@ -0,0 +1,14 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressRegisterIndirectWithDisplacementOldAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
@NotNull
M68kExpr getExpr();
}

View File

@ -0,0 +1,21 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kAddressRegisterIndirectWithIndexNewAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
@Nullable
M68kDataWidth getDataWidth();
@NotNull
M68kRegister getRegister();
@NotNull
M68kExpr getExpr();
}

View File

@ -0,0 +1,21 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kAddressRegisterIndirectWithIndexOldAddressingMode extends M68kAddressingMode {
@NotNull
M68kAddressRegister getAddressRegister();
@Nullable
M68kDataWidth getDataWidth();
@NotNull
M68kRegister getRegister();
@NotNull
M68kExpr getExpr();
}

View File

@ -0,0 +1,12 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kAddressSize extends PsiElement {
@NotNull
PsiElement getOpsizeWl();
}

View File

@ -0,0 +1,8 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
public interface M68kAddressingMode extends PsiElement {
}

View File

@ -0,0 +1,19 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kAsmInstruction extends PsiElement {
@NotNull
M68kAsmOp getAsmOp();
@Nullable
M68kAsmOperands getAsmOperands();
@Nullable
PsiElement getWhiteSpace();
}

View File

@ -0,0 +1,16 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kAsmOp extends PsiElement {
@Nullable
M68kOperandSize getOperandSize();
@NotNull
PsiElement getSymbol();
}

View File

@ -0,0 +1,14 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kAsmOperands extends PsiElement {
@NotNull
List<M68kAddressingMode> getAddressingModeList();
}

View File

@ -0,0 +1,19 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kAssignment extends PsiElement {
@NotNull
M68kExpr getExpr();
@Nullable
PsiElement getEqu();
@NotNull
PsiElement getSymbol();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryAddExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryBitwiseAndExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryBitwiseOrExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryBitwiseXorExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryCmpEqExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryCmpGeExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryCmpGtExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryCmpLeExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryCmpLtExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryCmpNeExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryDivExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryLogicalAndExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryLogicalOrExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryModExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryMulExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryShiftLExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinaryShiftRExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,13 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kBinarySubExpr extends M68kExpr {
@NotNull
List<M68kExpr> getExprList();
}

View File

@ -0,0 +1,12 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kDataRegister extends M68kRegister {
@NotNull
PsiElement getDreg();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kDataRegisterDirectAddressingMode extends M68kAddressingMode {
@NotNull
M68kDataRegister getDataRegister();
}

View File

@ -0,0 +1,12 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kDataWidth extends PsiElement {
@NotNull
PsiElement getOpsizeWl();
}

View File

@ -0,0 +1,8 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
public interface M68kExpr extends PsiElement {
}

View File

@ -0,0 +1,16 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kGlobalLabel extends PsiElement {
@NotNull
PsiElement getSymbol();
@Nullable
PsiElement getWhiteSpace();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kImmediateData extends M68kAddressingMode {
@NotNull
M68kExpr getExpr();
}

View File

@ -0,0 +1,15 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
public interface M68kLabel extends PsiElement {
@Nullable
M68kGlobalLabel getGlobalLabel();
@Nullable
M68kLocalLabel getLocalLabel();
}

View File

@ -0,0 +1,24 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
public interface M68kLiteralExpr extends M68kExpr {
@Nullable
PsiElement getBinary();
@Nullable
PsiElement getDecimal();
@Nullable
PsiElement getHexadecimal();
@Nullable
PsiElement getOctal();
@Nullable
PsiElement getStringlit();
}

View File

@ -0,0 +1,16 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kLocalLabel extends PsiElement {
@NotNull
PsiElement getSymbol();
@Nullable
PsiElement getWhiteSpace();
}

View File

@ -0,0 +1,17 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public interface M68kMacroCall extends PsiElement {
@NotNull
List<M68kExpr> getExprList();
@NotNull
PsiElement getSymbol();
}

View File

@ -0,0 +1,15 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
public interface M68kOperandSize extends PsiElement {
@Nullable
PsiElement getOpsizeBs();
@Nullable
PsiElement getOpsizeWl();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.Nullable;
public interface M68kParenExpr extends M68kExpr {
@Nullable
M68kExpr getExpr();
}

View File

@ -0,0 +1,63 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
public interface M68kPreprocessorDirective extends PsiElement {
@NotNull
List<M68kExpr> getExprList();
@Nullable
PsiElement getCnopTag();
@Nullable
PsiElement getElseTag();
@Nullable
PsiElement getEndcTag();
@Nullable
PsiElement getEndTag();
@Nullable
PsiElement getEvenTag();
@Nullable
PsiElement getFailTag();
@Nullable
PsiElement getIfTag();
@Nullable
PsiElement getIncbinTag();
@Nullable
PsiElement getIncludeTag();
@Nullable
PsiElement getMacroEndTag();
@Nullable
PsiElement getMacroTag();
@Nullable
PsiElement getReptEndTag();
@Nullable
PsiElement getReptTag();
@Nullable
PsiElement getSectionTag();
@Nullable
PsiElement getSymbol();
@Nullable
PsiElement getWhiteSpace();
}

View File

@ -0,0 +1,15 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kProgramCounterIndirectWithDisplacementNewAddressingMode extends M68kAddressingMode {
@NotNull
M68kExpr getExpr();
@NotNull
PsiElement getPc();
}

View File

@ -0,0 +1,15 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kProgramCounterIndirectWithDisplacementOldAddressingMode extends M68kAddressingMode {
@NotNull
M68kExpr getExpr();
@NotNull
PsiElement getPc();
}

View File

@ -0,0 +1,22 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kProgramCounterIndirectWithIndexNewAddressingMode extends M68kAddressingMode {
@Nullable
M68kDataWidth getDataWidth();
@NotNull
M68kRegister getRegister();
@NotNull
M68kExpr getExpr();
@NotNull
PsiElement getPc();
}

View File

@ -0,0 +1,22 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public interface M68kProgramCounterIndirectWithIndexOldAddressingMode extends M68kAddressingMode {
@Nullable
M68kDataWidth getDataWidth();
@NotNull
M68kRegister getRegister();
@NotNull
M68kExpr getExpr();
@NotNull
PsiElement getPc();
}

View File

@ -0,0 +1,12 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
public interface M68kRefExpr extends M68kExpr {
@NotNull
PsiElement getSymbol();
}

View File

@ -0,0 +1,8 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
public interface M68kRegister extends PsiElement {
}

View File

@ -0,0 +1,21 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
public interface M68kSpecialRegister extends M68kRegister {
@Nullable
PsiElement getRegCcr();
@Nullable
PsiElement getRegSr();
@Nullable
PsiElement getRegUsp();
@Nullable
PsiElement getRegVbr();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.NotNull;
public interface M68kSpecialRegisterDirectAddressingMode extends M68kAddressingMode {
@NotNull
M68kSpecialRegister getSpecialRegister();
}

View File

@ -0,0 +1,21 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.Nullable;
public interface M68kStatement extends PsiElement {
@Nullable
M68kAssignment getAssignment();
@Nullable
M68kLabel getLabel();
@Nullable
M68kPreprocessorDirective getPreprocessorDirective();
@Nullable
PsiElement getWhiteSpace();
}

View File

@ -0,0 +1,215 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.tree.IElementType;
import de.platon42.intellij.plugins.m68k.psi.impl.*;
public interface M68kTypes {
IElementType ABSOLUTE_ADDRESS_ADDRESSING_MODE = new M68kElementType("ABSOLUTE_ADDRESS_ADDRESSING_MODE");
IElementType ADDRESSING_MODE = new M68kElementType("ADDRESSING_MODE");
IElementType ADDRESS_REGISTER = new M68kElementType("ADDRESS_REGISTER");
IElementType ADDRESS_REGISTER_DIRECT_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_DIRECT_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_POST_INC_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_POST_INC_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_PRE_DEC_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_PRE_DEC_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_WITH_DISPLACEMENT_NEW_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_WITH_DISPLACEMENT_NEW_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_WITH_DISPLACEMENT_OLD_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_WITH_DISPLACEMENT_OLD_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_WITH_INDEX_NEW_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_WITH_INDEX_NEW_ADDRESSING_MODE");
IElementType ADDRESS_REGISTER_INDIRECT_WITH_INDEX_OLD_ADDRESSING_MODE = new M68kElementType("ADDRESS_REGISTER_INDIRECT_WITH_INDEX_OLD_ADDRESSING_MODE");
IElementType ADDRESS_SIZE = new M68kElementType("ADDRESS_SIZE");
IElementType ASM_INSTRUCTION = new M68kElementType("ASM_INSTRUCTION");
IElementType ASM_OP = new M68kElementType("ASM_OP");
IElementType ASM_OPERANDS = new M68kElementType("ASM_OPERANDS");
IElementType ASSIGNMENT = new M68kElementType("ASSIGNMENT");
IElementType BINARY_ADD_EXPR = new M68kElementType("BINARY_ADD_EXPR");
IElementType BINARY_BITWISE_AND_EXPR = new M68kElementType("BINARY_BITWISE_AND_EXPR");
IElementType BINARY_BITWISE_OR_EXPR = new M68kElementType("BINARY_BITWISE_OR_EXPR");
IElementType BINARY_BITWISE_XOR_EXPR = new M68kElementType("BINARY_BITWISE_XOR_EXPR");
IElementType BINARY_CMP_EQ_EXPR = new M68kElementType("BINARY_CMP_EQ_EXPR");
IElementType BINARY_CMP_GE_EXPR = new M68kElementType("BINARY_CMP_GE_EXPR");
IElementType BINARY_CMP_GT_EXPR = new M68kElementType("BINARY_CMP_GT_EXPR");
IElementType BINARY_CMP_LE_EXPR = new M68kElementType("BINARY_CMP_LE_EXPR");
IElementType BINARY_CMP_LT_EXPR = new M68kElementType("BINARY_CMP_LT_EXPR");
IElementType BINARY_CMP_NE_EXPR = new M68kElementType("BINARY_CMP_NE_EXPR");
IElementType BINARY_DIV_EXPR = new M68kElementType("BINARY_DIV_EXPR");
IElementType BINARY_LOGICAL_AND_EXPR = new M68kElementType("BINARY_LOGICAL_AND_EXPR");
IElementType BINARY_LOGICAL_OR_EXPR = new M68kElementType("BINARY_LOGICAL_OR_EXPR");
IElementType BINARY_MOD_EXPR = new M68kElementType("BINARY_MOD_EXPR");
IElementType BINARY_MUL_EXPR = new M68kElementType("BINARY_MUL_EXPR");
IElementType BINARY_SHIFT_L_EXPR = new M68kElementType("BINARY_SHIFT_L_EXPR");
IElementType BINARY_SHIFT_R_EXPR = new M68kElementType("BINARY_SHIFT_R_EXPR");
IElementType BINARY_SUB_EXPR = new M68kElementType("BINARY_SUB_EXPR");
IElementType DATA_REGISTER = new M68kElementType("DATA_REGISTER");
IElementType DATA_REGISTER_DIRECT_ADDRESSING_MODE = new M68kElementType("DATA_REGISTER_DIRECT_ADDRESSING_MODE");
IElementType DATA_WIDTH = new M68kElementType("DATA_WIDTH");
IElementType EXPR = new M68kElementType("EXPR");
IElementType GLOBAL_LABEL = new M68kElementType("GLOBAL_LABEL");
IElementType IMMEDIATE_DATA = new M68kElementType("IMMEDIATE_DATA");
IElementType LABEL = new M68kElementType("LABEL");
IElementType LITERAL_EXPR = new M68kElementType("LITERAL_EXPR");
IElementType LOCAL_LABEL = new M68kElementType("LOCAL_LABEL");
IElementType MACRO_CALL = new M68kElementType("MACRO_CALL");
IElementType OPERAND_SIZE = new M68kElementType("OPERAND_SIZE");
IElementType PAREN_EXPR = new M68kElementType("PAREN_EXPR");
IElementType PREPROCESSOR_DIRECTIVE = new M68kElementType("PREPROCESSOR_DIRECTIVE");
IElementType PROGRAM_COUNTER_INDIRECT_WITH_DISPLACEMENT_NEW_ADDRESSING_MODE = new M68kElementType("PROGRAM_COUNTER_INDIRECT_WITH_DISPLACEMENT_NEW_ADDRESSING_MODE");
IElementType PROGRAM_COUNTER_INDIRECT_WITH_DISPLACEMENT_OLD_ADDRESSING_MODE = new M68kElementType("PROGRAM_COUNTER_INDIRECT_WITH_DISPLACEMENT_OLD_ADDRESSING_MODE");
IElementType PROGRAM_COUNTER_INDIRECT_WITH_INDEX_NEW_ADDRESSING_MODE = new M68kElementType("PROGRAM_COUNTER_INDIRECT_WITH_INDEX_NEW_ADDRESSING_MODE");
IElementType PROGRAM_COUNTER_INDIRECT_WITH_INDEX_OLD_ADDRESSING_MODE = new M68kElementType("PROGRAM_COUNTER_INDIRECT_WITH_INDEX_OLD_ADDRESSING_MODE");
IElementType REF_EXPR = new M68kElementType("REF_EXPR");
IElementType REGISTER = new M68kElementType("REGISTER");
IElementType SPECIAL_REGISTER = new M68kElementType("SPECIAL_REGISTER");
IElementType SPECIAL_REGISTER_DIRECT_ADDRESSING_MODE = new M68kElementType("SPECIAL_REGISTER_DIRECT_ADDRESSING_MODE");
IElementType STATEMENT = new M68kElementType("STATEMENT");
IElementType UNARY_COMPL_EXPR = new M68kElementType("UNARY_COMPL_EXPR");
IElementType UNARY_MINUS_EXPR = new M68kElementType("UNARY_MINUS_EXPR");
IElementType UNARY_NOT_EXPR = new M68kElementType("UNARY_NOT_EXPR");
IElementType UNARY_PLUS_EXPR = new M68kElementType("UNARY_PLUS_EXPR");
IElementType AREG = new M68kTokenType("AREG");
IElementType BINARY = new M68kTokenType("BINARY");
IElementType CNOP_TAG = new M68kTokenType("CNOP_TAG");
IElementType COLON = new M68kTokenType(":");
IElementType COMMENT = new M68kTokenType("COMMENT");
IElementType DECIMAL = new M68kTokenType("DECIMAL");
IElementType DOLLAR = new M68kTokenType("$");
IElementType DOT = new M68kTokenType(".");
IElementType DREG = new M68kTokenType("DREG");
IElementType ELSE_TAG = new M68kTokenType("ELSE_TAG");
IElementType ENDC_TAG = new M68kTokenType("ENDC_TAG");
IElementType END_TAG = new M68kTokenType("END_TAG");
IElementType EOL = new M68kTokenType("EOL");
IElementType EQU = new M68kTokenType("EQU");
IElementType EVEN_TAG = new M68kTokenType("EVEN_TAG");
IElementType FAIL_TAG = new M68kTokenType("FAIL_TAG");
IElementType HASH = new M68kTokenType("#");
IElementType HEXADECIMAL = new M68kTokenType("HEXADECIMAL");
IElementType IF_TAG = new M68kTokenType("IF_TAG");
IElementType INCBIN_TAG = new M68kTokenType("INCBIN_TAG");
IElementType INCLUDE_TAG = new M68kTokenType("INCLUDE_TAG");
IElementType MACRO_END_TAG = new M68kTokenType("MACRO_END_TAG");
IElementType MACRO_TAG = new M68kTokenType("MACRO_TAG");
IElementType OCTAL = new M68kTokenType("OCTAL");
IElementType OPSIZE_BS = new M68kTokenType("OPSIZE_BS");
IElementType OPSIZE_WL = new M68kTokenType("OPSIZE_WL");
IElementType OP_AR_DIV = new M68kTokenType("/");
IElementType OP_AR_MOD = new M68kTokenType("%");
IElementType OP_AR_MUL = new M68kTokenType("*");
IElementType OP_AR_SHIFT_L = new M68kTokenType("<<");
IElementType OP_AR_SHIFT_R = new M68kTokenType(">>");
IElementType OP_ASSIGN = new M68kTokenType("=");
IElementType OP_BITWISE_AND = new M68kTokenType("&");
IElementType OP_BITWISE_OR = new M68kTokenType("|");
IElementType OP_BITWISE_XOR = new M68kTokenType("^");
IElementType OP_CMP_EQ = new M68kTokenType("==");
IElementType OP_CMP_GT = new M68kTokenType(">");
IElementType OP_CMP_GT_EQ = new M68kTokenType(">=");
IElementType OP_CMP_LT = new M68kTokenType("<");
IElementType OP_CMP_LT_EQ = new M68kTokenType("<=");
IElementType OP_CMP_NOT_EQ = new M68kTokenType("!=");
IElementType OP_CMP_NOT_EQ2 = new M68kTokenType("<>");
IElementType OP_LOGICAL_AND = new M68kTokenType("&&");
IElementType OP_LOGICAL_OR = new M68kTokenType("||");
IElementType OP_MINUS = new M68kTokenType("-");
IElementType OP_PLUS = new M68kTokenType("+");
IElementType OP_UNARY_COMPL = new M68kTokenType("~");
IElementType OP_UNARY_NOT = new M68kTokenType("!");
IElementType PC = new M68kTokenType("PC");
IElementType REG_CCR = new M68kTokenType("REG_CCR");
IElementType REG_SR = new M68kTokenType("REG_SR");
IElementType REG_USP = new M68kTokenType("REG_USP");
IElementType REG_VBR = new M68kTokenType("REG_VBR");
IElementType REPT_END_TAG = new M68kTokenType("REPT_END_TAG");
IElementType REPT_TAG = new M68kTokenType("REPT_TAG");
IElementType ROUND_L = new M68kTokenType("(");
IElementType ROUND_R = new M68kTokenType(")");
IElementType SECTION_TAG = new M68kTokenType("SECTION_TAG");
IElementType SEMICOLON = new M68kTokenType(";");
IElementType SEPARATOR = new M68kTokenType(",");
IElementType SQUARE_L = new M68kTokenType("[");
IElementType SQUARE_R = new M68kTokenType("]");
IElementType STRINGLIT = new M68kTokenType("STRINGLIT");
IElementType SYMBOL = new M68kTokenType("SYMBOL");
IElementType WHITE_SPACE = new M68kTokenType("WHITE_SPACE");
class Factory {
public static PsiElement createElement(ASTNode node) {
IElementType type = node.getElementType();
if (type == ABSOLUTE_ADDRESS_ADDRESSING_MODE) return new M68kAbsoluteAddressAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER) return new M68kAddressRegisterImpl(node);
else if (type == ADDRESS_REGISTER_DIRECT_ADDRESSING_MODE)
return new M68kAddressRegisterDirectAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_POST_INC_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectPostIncAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_PRE_DEC_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectPreDecAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_WITH_DISPLACEMENT_NEW_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectWithDisplacementNewAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_WITH_DISPLACEMENT_OLD_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectWithDisplacementOldAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_WITH_INDEX_NEW_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectWithIndexNewAddressingModeImpl(node);
else if (type == ADDRESS_REGISTER_INDIRECT_WITH_INDEX_OLD_ADDRESSING_MODE)
return new M68kAddressRegisterIndirectWithIndexOldAddressingModeImpl(node);
else if (type == ADDRESS_SIZE) return new M68kAddressSizeImpl(node);
else if (type == ASM_INSTRUCTION) return new M68kAsmInstructionImpl(node);
else if (type == ASM_OP) return new M68kAsmOpImpl(node);
else if (type == ASM_OPERANDS) return new M68kAsmOperandsImpl(node);
else if (type == ASSIGNMENT) return new M68kAssignmentImpl(node);
else if (type == BINARY_ADD_EXPR) return new M68kBinaryAddExprImpl(node);
else if (type == BINARY_BITWISE_AND_EXPR) return new M68kBinaryBitwiseAndExprImpl(node);
else if (type == BINARY_BITWISE_OR_EXPR) return new M68kBinaryBitwiseOrExprImpl(node);
else if (type == BINARY_BITWISE_XOR_EXPR) return new M68kBinaryBitwiseXorExprImpl(node);
else if (type == BINARY_CMP_EQ_EXPR) return new M68kBinaryCmpEqExprImpl(node);
else if (type == BINARY_CMP_GE_EXPR) return new M68kBinaryCmpGeExprImpl(node);
else if (type == BINARY_CMP_GT_EXPR) return new M68kBinaryCmpGtExprImpl(node);
else if (type == BINARY_CMP_LE_EXPR) return new M68kBinaryCmpLeExprImpl(node);
else if (type == BINARY_CMP_LT_EXPR) return new M68kBinaryCmpLtExprImpl(node);
else if (type == BINARY_CMP_NE_EXPR) return new M68kBinaryCmpNeExprImpl(node);
else if (type == BINARY_DIV_EXPR) return new M68kBinaryDivExprImpl(node);
else if (type == BINARY_LOGICAL_AND_EXPR) return new M68kBinaryLogicalAndExprImpl(node);
else if (type == BINARY_LOGICAL_OR_EXPR) return new M68kBinaryLogicalOrExprImpl(node);
else if (type == BINARY_MOD_EXPR) return new M68kBinaryModExprImpl(node);
else if (type == BINARY_MUL_EXPR) return new M68kBinaryMulExprImpl(node);
else if (type == BINARY_SHIFT_L_EXPR) return new M68kBinaryShiftLExprImpl(node);
else if (type == BINARY_SHIFT_R_EXPR) return new M68kBinaryShiftRExprImpl(node);
else if (type == BINARY_SUB_EXPR) return new M68kBinarySubExprImpl(node);
else if (type == DATA_REGISTER) return new M68kDataRegisterImpl(node);
else if (type == DATA_REGISTER_DIRECT_ADDRESSING_MODE)
return new M68kDataRegisterDirectAddressingModeImpl(node);
else if (type == DATA_WIDTH) return new M68kDataWidthImpl(node);
else if (type == GLOBAL_LABEL) return new M68kGlobalLabelImpl(node);
else if (type == IMMEDIATE_DATA) return new M68kImmediateDataImpl(node);
else if (type == LABEL) return new M68kLabelImpl(node);
else if (type == LITERAL_EXPR) return new M68kLiteralExprImpl(node);
else if (type == LOCAL_LABEL) return new M68kLocalLabelImpl(node);
else if (type == MACRO_CALL) return new M68kMacroCallImpl(node);
else if (type == OPERAND_SIZE) return new M68kOperandSizeImpl(node);
else if (type == PAREN_EXPR) return new M68kParenExprImpl(node);
else if (type == PREPROCESSOR_DIRECTIVE) return new M68kPreprocessorDirectiveImpl(node);
else if (type == PROGRAM_COUNTER_INDIRECT_WITH_DISPLACEMENT_NEW_ADDRESSING_MODE)
return new M68kProgramCounterIndirectWithDisplacementNewAddressingModeImpl(node);
else if (type == PROGRAM_COUNTER_INDIRECT_WITH_DISPLACEMENT_OLD_ADDRESSING_MODE)
return new M68kProgramCounterIndirectWithDisplacementOldAddressingModeImpl(node);
else if (type == PROGRAM_COUNTER_INDIRECT_WITH_INDEX_NEW_ADDRESSING_MODE)
return new M68kProgramCounterIndirectWithIndexNewAddressingModeImpl(node);
else if (type == PROGRAM_COUNTER_INDIRECT_WITH_INDEX_OLD_ADDRESSING_MODE)
return new M68kProgramCounterIndirectWithIndexOldAddressingModeImpl(node);
else if (type == REF_EXPR) return new M68kRefExprImpl(node);
else if (type == SPECIAL_REGISTER) return new M68kSpecialRegisterImpl(node);
else if (type == SPECIAL_REGISTER_DIRECT_ADDRESSING_MODE)
return new M68kSpecialRegisterDirectAddressingModeImpl(node);
else if (type == STATEMENT) return new M68kStatementImpl(node);
else if (type == UNARY_COMPL_EXPR) return new M68kUnaryComplExprImpl(node);
else if (type == UNARY_MINUS_EXPR) return new M68kUnaryMinusExprImpl(node);
else if (type == UNARY_NOT_EXPR) return new M68kUnaryNotExprImpl(node);
else if (type == UNARY_PLUS_EXPR) return new M68kUnaryPlusExprImpl(node);
throw new AssertionError("Unknown element type: " + type);
}
}
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.Nullable;
public interface M68kUnaryComplExpr extends M68kExpr {
@Nullable
M68kExpr getExpr();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.Nullable;
public interface M68kUnaryMinusExpr extends M68kExpr {
@Nullable
M68kExpr getExpr();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.Nullable;
public interface M68kUnaryNotExpr extends M68kExpr {
@Nullable
M68kExpr getExpr();
}

View File

@ -0,0 +1,11 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import org.jetbrains.annotations.Nullable;
public interface M68kUnaryPlusExpr extends M68kExpr {
@Nullable
M68kExpr getExpr();
}

View File

@ -0,0 +1,254 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kVisitor extends PsiElementVisitor {
public void visitAbsoluteAddressAddressingMode(@NotNull M68kAbsoluteAddressAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegister(@NotNull M68kAddressRegister o) {
visitRegister(o);
}
public void visitAddressRegisterDirectAddressingMode(@NotNull M68kAddressRegisterDirectAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectAddressingMode(@NotNull M68kAddressRegisterIndirectAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectPostIncAddressingMode(@NotNull M68kAddressRegisterIndirectPostIncAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectPreDecAddressingMode(@NotNull M68kAddressRegisterIndirectPreDecAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectWithDisplacementNewAddressingMode(@NotNull M68kAddressRegisterIndirectWithDisplacementNewAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectWithDisplacementOldAddressingMode(@NotNull M68kAddressRegisterIndirectWithDisplacementOldAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectWithIndexNewAddressingMode(@NotNull M68kAddressRegisterIndirectWithIndexNewAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressRegisterIndirectWithIndexOldAddressingMode(@NotNull M68kAddressRegisterIndirectWithIndexOldAddressingMode o) {
visitAddressingMode(o);
}
public void visitAddressSize(@NotNull M68kAddressSize o) {
visitPsiElement(o);
}
public void visitAddressingMode(@NotNull M68kAddressingMode o) {
visitPsiElement(o);
}
public void visitAsmInstruction(@NotNull M68kAsmInstruction o) {
visitPsiElement(o);
}
public void visitAsmOp(@NotNull M68kAsmOp o) {
visitPsiElement(o);
}
public void visitAsmOperands(@NotNull M68kAsmOperands o) {
visitPsiElement(o);
}
public void visitAssignment(@NotNull M68kAssignment o) {
visitPsiElement(o);
}
public void visitDataRegister(@NotNull M68kDataRegister o) {
visitRegister(o);
}
public void visitDataRegisterDirectAddressingMode(@NotNull M68kDataRegisterDirectAddressingMode o) {
visitAddressingMode(o);
}
public void visitDataWidth(@NotNull M68kDataWidth o) {
visitPsiElement(o);
}
public void visitGlobalLabel(@NotNull M68kGlobalLabel o) {
visitPsiElement(o);
}
public void visitImmediateData(@NotNull M68kImmediateData o) {
visitAddressingMode(o);
}
public void visitLabel(@NotNull M68kLabel o) {
visitPsiElement(o);
}
public void visitLocalLabel(@NotNull M68kLocalLabel o) {
visitPsiElement(o);
}
public void visitMacroCall(@NotNull M68kMacroCall o) {
visitPsiElement(o);
}
public void visitOperandSize(@NotNull M68kOperandSize o) {
visitPsiElement(o);
}
public void visitPreprocessorDirective(@NotNull M68kPreprocessorDirective o) {
visitPsiElement(o);
}
public void visitProgramCounterIndirectWithDisplacementNewAddressingMode(@NotNull M68kProgramCounterIndirectWithDisplacementNewAddressingMode o) {
visitAddressingMode(o);
}
public void visitProgramCounterIndirectWithDisplacementOldAddressingMode(@NotNull M68kProgramCounterIndirectWithDisplacementOldAddressingMode o) {
visitAddressingMode(o);
}
public void visitProgramCounterIndirectWithIndexNewAddressingMode(@NotNull M68kProgramCounterIndirectWithIndexNewAddressingMode o) {
visitAddressingMode(o);
}
public void visitProgramCounterIndirectWithIndexOldAddressingMode(@NotNull M68kProgramCounterIndirectWithIndexOldAddressingMode o) {
visitAddressingMode(o);
}
public void visitRegister(@NotNull M68kRegister o) {
visitPsiElement(o);
}
public void visitSpecialRegister(@NotNull M68kSpecialRegister o) {
visitRegister(o);
}
public void visitSpecialRegisterDirectAddressingMode(@NotNull M68kSpecialRegisterDirectAddressingMode o) {
visitAddressingMode(o);
}
public void visitBinaryAddExpr(@NotNull M68kBinaryAddExpr o) {
visitExpr(o);
}
public void visitBinaryBitwiseAndExpr(@NotNull M68kBinaryBitwiseAndExpr o) {
visitExpr(o);
}
public void visitBinaryBitwiseOrExpr(@NotNull M68kBinaryBitwiseOrExpr o) {
visitExpr(o);
}
public void visitBinaryBitwiseXorExpr(@NotNull M68kBinaryBitwiseXorExpr o) {
visitExpr(o);
}
public void visitBinaryCmpEqExpr(@NotNull M68kBinaryCmpEqExpr o) {
visitExpr(o);
}
public void visitBinaryCmpGeExpr(@NotNull M68kBinaryCmpGeExpr o) {
visitExpr(o);
}
public void visitBinaryCmpGtExpr(@NotNull M68kBinaryCmpGtExpr o) {
visitExpr(o);
}
public void visitBinaryCmpLeExpr(@NotNull M68kBinaryCmpLeExpr o) {
visitExpr(o);
}
public void visitBinaryCmpLtExpr(@NotNull M68kBinaryCmpLtExpr o) {
visitExpr(o);
}
public void visitBinaryCmpNeExpr(@NotNull M68kBinaryCmpNeExpr o) {
visitExpr(o);
}
public void visitBinaryDivExpr(@NotNull M68kBinaryDivExpr o) {
visitExpr(o);
}
public void visitBinaryLogicalAndExpr(@NotNull M68kBinaryLogicalAndExpr o) {
visitExpr(o);
}
public void visitBinaryLogicalOrExpr(@NotNull M68kBinaryLogicalOrExpr o) {
visitExpr(o);
}
public void visitBinaryModExpr(@NotNull M68kBinaryModExpr o) {
visitExpr(o);
}
public void visitBinaryMulExpr(@NotNull M68kBinaryMulExpr o) {
visitExpr(o);
}
public void visitBinaryShiftLExpr(@NotNull M68kBinaryShiftLExpr o) {
visitExpr(o);
}
public void visitBinaryShiftRExpr(@NotNull M68kBinaryShiftRExpr o) {
visitExpr(o);
}
public void visitBinarySubExpr(@NotNull M68kBinarySubExpr o) {
visitExpr(o);
}
public void visitExpr(@NotNull M68kExpr o) {
visitPsiElement(o);
}
public void visitLiteralExpr(@NotNull M68kLiteralExpr o) {
visitExpr(o);
}
public void visitParenExpr(@NotNull M68kParenExpr o) {
visitExpr(o);
}
public void visitRefExpr(@NotNull M68kRefExpr o) {
visitExpr(o);
}
public void visitStatement(@NotNull M68kStatement o) {
visitPsiElement(o);
}
public void visitUnaryComplExpr(@NotNull M68kUnaryComplExpr o) {
visitExpr(o);
}
public void visitUnaryMinusExpr(@NotNull M68kUnaryMinusExpr o) {
visitExpr(o);
}
public void visitUnaryNotExpr(@NotNull M68kUnaryNotExpr o) {
visitExpr(o);
}
public void visitUnaryPlusExpr(@NotNull M68kUnaryPlusExpr o) {
visitExpr(o);
}
public void visitPsiElement(@NotNull PsiElement o) {
visitElement(o);
}
}

View File

@ -0,0 +1,42 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAbsoluteAddressAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressSize;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class M68kAbsoluteAddressAddressingModeImpl extends M68kAddressingModeImpl implements M68kAbsoluteAddressAddressingMode {
public M68kAbsoluteAddressAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAbsoluteAddressAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@Nullable
public M68kAddressSize getAddressSize() {
return findChildByClass(M68kAddressSize.class);
}
@Override
@NotNull
public M68kExpr getExpr() {
return findNotNullChildByClass(M68kExpr.class);
}
}

View File

@ -0,0 +1,34 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegisterDirectAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kAddressRegisterDirectAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterDirectAddressingMode {
public M68kAddressRegisterDirectAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterDirectAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
}

View File

@ -0,0 +1,36 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import static de.platon42.intellij.plugins.m68k.psi.M68kTypes.AREG;
public class M68kAddressRegisterImpl extends M68kRegisterImpl implements M68kAddressRegister {
public M68kAddressRegisterImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegister(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public PsiElement getAreg() {
return findNotNullChildByType(AREG);
}
}

View File

@ -0,0 +1,34 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegisterIndirectAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kAddressRegisterIndirectAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectAddressingMode {
public M68kAddressRegisterIndirectAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
}

View File

@ -0,0 +1,34 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegisterIndirectPostIncAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kAddressRegisterIndirectPostIncAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectPostIncAddressingMode {
public M68kAddressRegisterIndirectPostIncAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectPostIncAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
}

View File

@ -0,0 +1,34 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegisterIndirectPreDecAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kAddressRegisterIndirectPreDecAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectPreDecAddressingMode {
public M68kAddressRegisterIndirectPreDecAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectPreDecAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
}

View File

@ -0,0 +1,41 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegisterIndirectWithDisplacementNewAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kAddressRegisterIndirectWithDisplacementNewAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectWithDisplacementNewAddressingMode {
public M68kAddressRegisterIndirectWithDisplacementNewAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectWithDisplacementNewAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
@Override
@NotNull
public M68kExpr getExpr() {
return findNotNullChildByClass(M68kExpr.class);
}
}

View File

@ -0,0 +1,41 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressRegisterIndirectWithDisplacementOldAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kAddressRegisterIndirectWithDisplacementOldAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectWithDisplacementOldAddressingMode {
public M68kAddressRegisterIndirectWithDisplacementOldAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectWithDisplacementOldAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
@Override
@NotNull
public M68kExpr getExpr() {
return findNotNullChildByClass(M68kExpr.class);
}
}

View File

@ -0,0 +1,51 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.*;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class M68kAddressRegisterIndirectWithIndexNewAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectWithIndexNewAddressingMode {
public M68kAddressRegisterIndirectWithIndexNewAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectWithIndexNewAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
@Override
@Nullable
public M68kDataWidth getDataWidth() {
return findChildByClass(M68kDataWidth.class);
}
@Override
@NotNull
public M68kRegister getRegister() {
return findNotNullChildByClass(M68kRegister.class);
}
@Override
@NotNull
public M68kExpr getExpr() {
return findNotNullChildByClass(M68kExpr.class);
}
}

View File

@ -0,0 +1,51 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.*;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class M68kAddressRegisterIndirectWithIndexOldAddressingModeImpl extends M68kAddressingModeImpl implements M68kAddressRegisterIndirectWithIndexOldAddressingMode {
public M68kAddressRegisterIndirectWithIndexOldAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressRegisterIndirectWithIndexOldAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAddressRegister getAddressRegister() {
return findNotNullChildByClass(M68kAddressRegister.class);
}
@Override
@Nullable
public M68kDataWidth getDataWidth() {
return findChildByClass(M68kDataWidth.class);
}
@Override
@NotNull
public M68kRegister getRegister() {
return findNotNullChildByClass(M68kRegister.class);
}
@Override
@NotNull
public M68kExpr getExpr() {
return findNotNullChildByClass(M68kExpr.class);
}
}

View File

@ -0,0 +1,36 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressSize;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import static de.platon42.intellij.plugins.m68k.psi.M68kTypes.OPSIZE_WL;
public class M68kAddressSizeImpl extends ASTWrapperPsiElement implements M68kAddressSize {
public M68kAddressSizeImpl(@NotNull ASTNode node) {
super(node);
}
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressSize(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public PsiElement getOpsizeWl() {
return findNotNullChildByType(OPSIZE_WL);
}
}

View File

@ -0,0 +1,27 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public abstract class M68kAddressingModeImpl extends ASTWrapperPsiElement implements M68kAddressingMode {
public M68kAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
}

View File

@ -0,0 +1,51 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAsmInstruction;
import de.platon42.intellij.plugins.m68k.psi.M68kAsmOp;
import de.platon42.intellij.plugins.m68k.psi.M68kAsmOperands;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import static de.platon42.intellij.plugins.m68k.psi.M68kTypes.WHITE_SPACE;
public class M68kAsmInstructionImpl extends ASTWrapperPsiElement implements M68kAsmInstruction {
public M68kAsmInstructionImpl(@NotNull ASTNode node) {
super(node);
}
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAsmInstruction(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kAsmOp getAsmOp() {
return findNotNullChildByClass(M68kAsmOp.class);
}
@Override
@Nullable
public M68kAsmOperands getAsmOperands() {
return findChildByClass(M68kAsmOperands.class);
}
@Override
@Nullable
public PsiElement getWhiteSpace() {
return findChildByType(WHITE_SPACE);
}
}

View File

@ -0,0 +1,44 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAsmOp;
import de.platon42.intellij.plugins.m68k.psi.M68kOperandSize;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import static de.platon42.intellij.plugins.m68k.psi.M68kTypes.SYMBOL;
public class M68kAsmOpImpl extends ASTWrapperPsiElement implements M68kAsmOp {
public M68kAsmOpImpl(@NotNull ASTNode node) {
super(node);
}
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAsmOp(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@Nullable
public M68kOperandSize getOperandSize() {
return findChildByClass(M68kOperandSize.class);
}
@Override
@NotNull
public PsiElement getSymbol() {
return findNotNullChildByType(SYMBOL);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kAsmOperands;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kAsmOperandsImpl extends ASTWrapperPsiElement implements M68kAsmOperands {
public M68kAsmOperandsImpl(@NotNull ASTNode node) {
super(node);
}
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAsmOperands(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kAddressingMode> getAddressingModeList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kAddressingMode.class);
}
}

View File

@ -0,0 +1,51 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.extapi.psi.ASTWrapperPsiElement;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kAssignment;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import static de.platon42.intellij.plugins.m68k.psi.M68kTypes.EQU;
import static de.platon42.intellij.plugins.m68k.psi.M68kTypes.SYMBOL;
public class M68kAssignmentImpl extends ASTWrapperPsiElement implements M68kAssignment {
public M68kAssignmentImpl(@NotNull ASTNode node) {
super(node);
}
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitAssignment(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kExpr getExpr() {
return findNotNullChildByClass(M68kExpr.class);
}
@Override
@Nullable
public PsiElement getEqu() {
return findChildByType(EQU);
}
@Override
@NotNull
public PsiElement getSymbol() {
return findNotNullChildByType(SYMBOL);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryAddExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryAddExprImpl extends M68kExprImpl implements M68kBinaryAddExpr {
public M68kBinaryAddExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryAddExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryBitwiseAndExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryBitwiseAndExprImpl extends M68kExprImpl implements M68kBinaryBitwiseAndExpr {
public M68kBinaryBitwiseAndExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryBitwiseAndExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryBitwiseOrExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryBitwiseOrExprImpl extends M68kExprImpl implements M68kBinaryBitwiseOrExpr {
public M68kBinaryBitwiseOrExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryBitwiseOrExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryBitwiseXorExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryBitwiseXorExprImpl extends M68kExprImpl implements M68kBinaryBitwiseXorExpr {
public M68kBinaryBitwiseXorExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryBitwiseXorExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryCmpEqExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryCmpEqExprImpl extends M68kExprImpl implements M68kBinaryCmpEqExpr {
public M68kBinaryCmpEqExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryCmpEqExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryCmpGeExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryCmpGeExprImpl extends M68kExprImpl implements M68kBinaryCmpGeExpr {
public M68kBinaryCmpGeExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryCmpGeExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryCmpGtExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryCmpGtExprImpl extends M68kExprImpl implements M68kBinaryCmpGtExpr {
public M68kBinaryCmpGtExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryCmpGtExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryCmpLeExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryCmpLeExprImpl extends M68kExprImpl implements M68kBinaryCmpLeExpr {
public M68kBinaryCmpLeExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryCmpLeExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryCmpLtExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryCmpLtExprImpl extends M68kExprImpl implements M68kBinaryCmpLtExpr {
public M68kBinaryCmpLtExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryCmpLtExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryCmpNeExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryCmpNeExprImpl extends M68kExprImpl implements M68kBinaryCmpNeExpr {
public M68kBinaryCmpNeExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryCmpNeExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryDivExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryDivExprImpl extends M68kExprImpl implements M68kBinaryDivExpr {
public M68kBinaryDivExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryDivExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryLogicalAndExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryLogicalAndExprImpl extends M68kExprImpl implements M68kBinaryLogicalAndExpr {
public M68kBinaryLogicalAndExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryLogicalAndExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryLogicalOrExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryLogicalOrExprImpl extends M68kExprImpl implements M68kBinaryLogicalOrExpr {
public M68kBinaryLogicalOrExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryLogicalOrExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryModExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryModExprImpl extends M68kExprImpl implements M68kBinaryModExpr {
public M68kBinaryModExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryModExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryMulExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryMulExprImpl extends M68kExprImpl implements M68kBinaryMulExpr {
public M68kBinaryMulExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryMulExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryShiftLExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryShiftLExprImpl extends M68kExprImpl implements M68kBinaryShiftLExpr {
public M68kBinaryShiftLExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryShiftLExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinaryShiftRExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinaryShiftRExprImpl extends M68kExprImpl implements M68kBinaryShiftRExpr {
public M68kBinaryShiftRExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinaryShiftRExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,37 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import de.platon42.intellij.plugins.m68k.psi.M68kBinarySubExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kExpr;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
import java.util.List;
public class M68kBinarySubExprImpl extends M68kExprImpl implements M68kBinarySubExpr {
public M68kBinarySubExprImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitBinarySubExpr(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public List<M68kExpr> getExprList() {
return PsiTreeUtil.getChildrenOfTypeAsList(this, M68kExpr.class);
}
}

View File

@ -0,0 +1,34 @@
// This is a generated file. Not intended for manual editing.
package de.platon42.intellij.plugins.m68k.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElementVisitor;
import de.platon42.intellij.plugins.m68k.psi.M68kDataRegister;
import de.platon42.intellij.plugins.m68k.psi.M68kDataRegisterDirectAddressingMode;
import de.platon42.intellij.plugins.m68k.psi.M68kVisitor;
import org.jetbrains.annotations.NotNull;
public class M68kDataRegisterDirectAddressingModeImpl extends M68kAddressingModeImpl implements M68kDataRegisterDirectAddressingMode {
public M68kDataRegisterDirectAddressingModeImpl(@NotNull ASTNode node) {
super(node);
}
@Override
public void accept(@NotNull M68kVisitor visitor) {
visitor.visitDataRegisterDirectAddressingMode(this);
}
@Override
public void accept(@NotNull PsiElementVisitor visitor) {
if (visitor instanceof M68kVisitor) accept((M68kVisitor) visitor);
else super.accept(visitor);
}
@Override
@NotNull
public M68kDataRegister getDataRegister() {
return findNotNullChildByClass(M68kDataRegister.class);
}
}

Some files were not shown because too many files have changed in this diff Show More