matches


Description:

[ Version ( since = "1.10.0" ) ]
public bool matches (Tree reference)

Determines whether the metadata for the unidentified this is a match for the reference tree.

The metadata in the unidentified this must be literal strings, while the metadata in the reference tree must be regular expressions.

Parameters:

this

an unidentified Tree instance

reference

a reference Tree instance

Returns:

TRUE if this is a match for reference. FALSE otherwise




2022 vala-language.org