mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Cosmetics.
This commit is contained in:
parent
ff49775235
commit
aa9dd95996
2 changed files with 5 additions and 6 deletions
|
@ -13,6 +13,5 @@ package org.eclipse.cdt.internal.core.dom.parser;
|
||||||
import org.eclipse.cdt.core.dom.ast.IASTNode;
|
import org.eclipse.cdt.core.dom.ast.IASTNode;
|
||||||
|
|
||||||
public interface IASTAmbiguityParent {
|
public interface IASTAmbiguityParent {
|
||||||
|
|
||||||
public void replace(IASTNode child, IASTNode other);
|
public void replace(IASTNode child, IASTNode other);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,9 +6,8 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Markus Schorn - initial API and implementation
|
* Markus Schorn - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -40,14 +39,15 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.NameOrTemplateIDVariants.Var
|
||||||
/**
|
/**
|
||||||
* Models expression variants for the ambiguity of a template id.
|
* Models expression variants for the ambiguity of a template id.
|
||||||
*/
|
*/
|
||||||
public class CPPASTTemplateIDAmbiguity extends ASTAmbiguousNode implements IASTAmbiguousExpression,
|
public class CPPASTTemplateIDAmbiguity extends ASTAmbiguousNode
|
||||||
ICPPASTExpression {
|
implements IASTAmbiguousExpression, ICPPASTExpression {
|
||||||
private final BinaryOperator fEndOperator;
|
private final BinaryOperator fEndOperator;
|
||||||
private final BranchPoint fVariants;
|
private final BranchPoint fVariants;
|
||||||
private IASTNode[] fNodes;
|
private IASTNode[] fNodes;
|
||||||
private final AbstractGNUSourceCodeParser fParser;
|
private final AbstractGNUSourceCodeParser fParser;
|
||||||
|
|
||||||
public CPPASTTemplateIDAmbiguity(AbstractGNUSourceCodeParser parser, BinaryOperator endOperator, BranchPoint variants) {
|
public CPPASTTemplateIDAmbiguity(AbstractGNUSourceCodeParser parser, BinaryOperator endOperator,
|
||||||
|
BranchPoint variants) {
|
||||||
fParser= parser;
|
fParser= parser;
|
||||||
fEndOperator= endOperator;
|
fEndOperator= endOperator;
|
||||||
fVariants= variants;
|
fVariants= variants;
|
||||||
|
|
Loading…
Add table
Reference in a new issue