(self, policy_name, variable, value)
return super(CSharpLanguageModel, self).ApplyPolicy(policy_name, variable,
                                                        value)
Override the default policy applier so we can do special things.
Override the default policy applier so we can do special things.
Override the default policy applier so we can do special things .
def ApplyPolicy(self, policy_name, variable, value):
    """Override the default policy applier so we can do special things."""

    # We need to look for class members clashing with the name of the container.
    # TODO(user): This begs for having a more extensible conflict policy
    # mechanism in LanguageModel.
    if policy_name == 'member':
      return self.ToClassMemberName(variable, value)
    return super(CSharpLanguageModel, self).ApplyPolicy(policy_name, variable,
                                                        value)
def ApplyPolicy ( self , policy_name , variable , value ) : # We need to look for class members clashing with the name of the container. # TODO(user): This begs for having a more extensible conflict policy # mechanism in LanguageModel. if policy_name == 'member' : return self . ToClassMemberName ( variable , value ) return super ( CSharpLanguageModel , self ) . ApplyPolicy ( policy_name , variable , value )