struct ConstraintStorageBase

Defined at line 42 of file ../../tools/fidl/fidlc/src/constraints.h

Base class for all ConstraintStorage overrides.

Public Methods

bool ReportMergeFailure (Reporter * reporter, const Name & layout_name, const Constant * param)

Called when a merge conflict occurs. This allows ConstraintKind specific error reporting.

bool ResolveConstraint (TypeResolver * resolver, Constant * param, Resource * resource)

Try to resolve a particular constant param into this constraint value.