17 from .
import variablematcher
21 if not value
or not content:
23 selection = utils.normalize(value, ignore=[
'_'])
26 target = utils.normalize(content, ignore=[
'_'])
29 if selection == target:
35 variable = variablematcher.get_variable_basename(selection)
38 variables = variablematcher.find_variable_basenames(target)
39 if variable
in variables:
45 return '$%s' % variable[1:]
in variables
def _list_variable_used_as_scalar(variable, variables)
def highlight_matcher(value, content)
def _variable_matches(selection, target)