Skip to content

Commit

Permalink
Interface Identification
Browse files Browse the repository at this point in the history
  • Loading branch information
TheShermanTanker committed Dec 20, 2022
1 parent 920c552 commit 5b5f2c9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.eclipse.cdt.core.parser.ParserLanguage;
import org.eclipse.cdt.core.parser.ParserMode;

public class CLanguage extends AbstractCLikeLanguage {
public class CLanguage extends AbstractCLikeLanguage implements IActualCLanguage {

@Override
public String getId() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.eclipse.cdt.core.dom.ast.c;

/**
* This interface is used by Eclipse to mark the corresponding language implementation
* that comes as one of the built-in languages as the true C Language.
*
* This should not be implemented by any dialects!
*/
public interface IActualCLanguage {

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.eclipse.cdt.core.parser.ParserLanguage;
import org.eclipse.cdt.core.parser.ParserMode;

public class CPPLanguage extends AbstractCLikeLanguage {
public class CPPLanguage extends AbstractCLikeLanguage implements IActualCPPLanguage {

@Override
public String getId() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.eclipse.cdt.core.dom.ast.cpp;

/**
* This interface is used by Eclipse to mark the corresponding language implementation
* that comes as one of the built-in languages as the true C++ Language.
*
* This should not be implemented by any dialects!
*/
public interface IActualCPPLanguage {

}

0 comments on commit 5b5f2c9

Please sign in to comment.