sets a definition and returns true if it is already defined in the scope or its parents . otherwise returns false . concode_field_sep Scope parent concode_elem_sep DefinitionScope<Variable> variables concode_elem_sep DefinitionScope<MixinDefNode> mixins concode_elem_sep DefinitionScope<FunctionDefNode> functions concode_elem_sep Iterable<T> cache concode_elem_sep HashMap<String,T> definitions concode_field_sep void add concode_elem_sep Scope getParent concode_elem_sep void defineMixin concode_elem_sep void set concode_elem_sep void addVariablesToMap concode_elem_sep Iterable<Variable> getVariables concode_elem_sep FunctionDefNode getFunctionDefinition concode_elem_sep void setVariable concode_elem_sep Variable getVariable concode_elem_sep void addVariable concode_elem_sep void defineFunction concode_elem_sep MixinDefNode getMixinDefinition concode_elem_sep T get concode_elem_sep Map<String,T> getDefinitions concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Iterable<T> getIterable
boolean function ( T arg0 ) { if ( parent != null && parent . setIfPresent ( arg0 ) ) { cache = null ; return true ; } if ( getDefinitions ( false ) . containsKey ( arg0 . getName ( ) ) ) { getDefinitions ( true ) . put ( arg0 . getName ( ) , arg0 ) ; cache = null ; return true ; } return false ; }