Adds a def universally.
761805
def add_def(self, def_item):
        """"""
        self.defs.append(def_item)
        for other in self.others:
            other.add_def(def_item)
887145
def bind(self, func: Callable[[Any], Maybe]) -> Maybe:
        """"""

        value = self._value
        return func(value)
1063430
public void addLessThan(Object attribute, Object value)
    {
		// PAW
		// addSelectionCriteria(ValueCriteria.buildLessCriteria(attribute, value, getAlias()));
		addSelectionCriteria(ValueCriteria.buildLessCriteria(attribute, value, getUserAlias(attribute)));
    }
495676
public String getOrElse(String name, String def)
    {
        String val = get(name);
        if (val == null)
        {
            return def;
        }
        return val;
    }
1286725
function add(f)  {
    if (handlers.every(isnt(f)))  handlers.push(f)
    return notify }
648896
def add_definition(option, name, type, block, **opts)
      opts = {
        parent: extended_class,
        option: option,
        null:   null,
        source: name,
        type:   type,
        block:  block,
        **opts,
      }

      options = Dispatchers.call(opts)
      definition = Definition.new(options)
      definitions[definition.source] = definition
      finalize
      mixin.class_eval definition.code
    end
492272
def visit_FunctionDef(self, node):
        
        self.result.add(node.name)
        self.generic_visit(node)
590137
def add(self, name, value):
        ''''''
        normalized_name = normalize_name(name, self._normalize_overrides)
        self._map[normalized_name].append(value)
1310916
def add_attribute(self, name, value):
        

        self.attributes.append(Attribute(name, value))
409054
function declareRootElement( def, code ) {
    const rootElementName = buildElement( def, code );

    code.section.elements.define.push( "//-----------------------" );
    code.section.elements.define.push( "// Declare root element." );
    code.section.elements.define.push(
        "Object.defineProperty( this, '$', {",
        [
            `value: ${rootElementName}.$,`,
            "writable: false, ",
            "enumerable: false, ",
            "configurable: false"
        ],
        "});"
    );
}
608608
void addAttribute( String name, Function<V, Object> get ) {
        reads.put( name, get );
    }
977618
def add_method(info, target_cls, virtual=False, dont_replace=False):
    """"""

    # escape before prefixing, like pygobject
    name = escape_identifier(info.name)
    if virtual:
        name = "do_" + name
        attr = VirtualMethodAttribute(info, target_cls, name)
    else:
        attr = MethodAttribute(info, target_cls, name)

    if dont_replace and hasattr(target_cls, name):
        return

    setattr(target_cls, name, attr)
1112104
function (def, err) {
    def.errors = def.errors || []
    err.message = err.message.cyan
    def.errors.push(err)
  }
657717
public void setClassDefinition(String name, byte[] def) {
    classDefs.put(name, ByteBuffer.wrap(def));
  }
321567
public void addDeref(ValueNumber vn, Location location) {
        if (UnconditionalValueDerefAnalysis.DEBUG) {
            System.out.println("Adding dereference of " + vn + " to # " + System.identityHashCode(this) + " @ " + location);
        }
        valueNumbersUnconditionallyDereferenced.set(vn.getNumber());

        Set<Location> derefLocationSet = getDerefLocationSet(vn);
        derefLocationSet.add(location);
    }
456733
def add(self, value):
        """"""
        # Raise TypeError if value is not hashable
        hash(value)

        self.redis.sadd(self.key, self._pickle(value))
1152769
def generic_add(a, b):
    print
    """"""
    logger.info('Called generic_add({}, {})'.format(a, b))
    return a + b