Class MarlinControllingCExpressionVisitor

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<org.prop4j.Node>
org.variantsync.diffdetective.feature.cpp.ControllingCExpressionVisitor
org.variantsync.diffdetective.datasets.predefined.MarlinControllingCExpressionVisitor
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<org.prop4j.Node>, CExpressionVisitor<org.prop4j.Node>

public class MarlinControllingCExpressionVisitor extends ControllingCExpressionVisitor
Parses C preprocessor annotations in the marlin firmware.

In contrast to ControllingCExpressionVisitor, this class resolves the ENABLED and DISABLED macros that are used in Marlin to check for features being (de-)selected.

Author:
Paul Bittner, Benjamin Moosherr