Package org.erlide.engine.new_model

Examples of org.erlide.engine.new_model.IErlFunction


      MatcherAssert.<Iterable<IErlAttribute>>assertThat(_attributesWithTag_1, _contains_1);
      final Iterable<IErlFunction> funs = this.erlFile.getFunctions();
      int _length_4 = ((Object[])Conversions.unwrapArray(funs, Object.class)).length;
      Matcher<Integer> _is_4 = Matchers.<Integer>is(Integer.valueOf(3));
      MatcherAssert.<Integer>assertThat(Integer.valueOf(_length_4), _is_4);
      IErlFunction _head_2 = IterableExtensions.<IErlFunction>head(funs);
      IErlFunction _function = this.erlFile.getFunction("a", 1);
      Matcher<IErlFunction> _is_5 = Matchers.<IErlFunction>is(_function);
      MatcherAssert.<IErlFunction>assertThat(_head_2, _is_5);
      Iterable<IErlFunction> _tail_1 = IterableExtensions.<IErlFunction>tail(funs);
      IErlFunction _head_3 = IterableExtensions.<IErlFunction>head(_tail_1);
      IErlFunction _function_1 = this.erlFile.getFunction("b", 0);
      Matcher<IErlFunction> _is_6 = Matchers.<IErlFunction>is(_function_1);
      MatcherAssert.<IErlFunction>assertThat(_head_3, _is_6);
      Iterable<IErlFunction> _tail_2 = IterableExtensions.<IErlFunction>tail(funs);
      Iterable<IErlFunction> _tail_3 = IterableExtensions.<IErlFunction>tail(_tail_2);
      IErlFunction _head_4 = IterableExtensions.<IErlFunction>head(_tail_3);
      IErlFunction _function_2 = this.erlFile.getFunction("c", 3);
      Matcher<IErlFunction> _is_7 = Matchers.<IErlFunction>is(_function_2);
      MatcherAssert.<IErlFunction>assertThat(_head_4, _is_7);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
View Full Code Here

TOP

Related Classes of org.erlide.engine.new_model.IErlFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.