Package org.erlide.engine.new_model

Examples of org.erlide.engine.new_model.IErlAttribute


      final Iterable<IErlAttribute> attrs = this.erlFile.getAttributes();
      int _length_3 = ((Object[])Conversions.unwrapArray(attrs, Object.class)).length;
      Matcher<Integer> _is_3 = Matchers.<Integer>is(Integer.valueOf(2));
      MatcherAssert.<Integer>assertThat(Integer.valueOf(_length_3), _is_3);
      Iterable<IErlAttribute> _attributesWithTag = this.erlFile.getAttributesWithTag("module");
      IErlAttribute _head = IterableExtensions.<IErlAttribute>head(attrs);
      Matcher<Iterable<? extends IErlAttribute>> _contains = Matchers.<IErlAttribute>contains(_head);
      MatcherAssert.<Iterable<IErlAttribute>>assertThat(_attributesWithTag, _contains);
      Iterable<IErlAttribute> _attributesWithTag_1 = this.erlFile.getAttributesWithTag("export");
      Iterable<IErlAttribute> _tail = IterableExtensions.<IErlAttribute>tail(attrs);
      IErlAttribute _head_1 = IterableExtensions.<IErlAttribute>head(_tail);
      Matcher<Iterable<? extends IErlAttribute>> _contains_1 = Matchers.<IErlAttribute>contains(_head_1);
      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));
View Full Code Here

TOP

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

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.