Examples of TSymbolT


Examples of frege.compiler.types.Symbols.TSymbolT

       
        // go through the list of symbols and do the ones that equal the current category
        TList.DCons elem = syms._Cons();
        boolean found = false;
        while (elem != null) {
          final TSymbolT sym = Delayed.<TSymbolT>forced( elem.mem1 );
          elem = (elem.mem2.<TList>forced())._Cons();
          if (sym._constructor() != cat) continue;
          if (sym._constructor() == link && TGlobal.our(g, TSymbolT.M.alias(sym))) continue;
          if (top) {            // category labels at the top only before first item
            if (!found) {
              pushSubItem(new CategoryItem(categories[cat], TSymbolT.M.pos(sym)));
              found = true;
            }
View Full Code Here

Examples of frege.compiler.types.Symbols.TSymbolT

      // System.err.println("visiting: " + g.toString() + ", " + expr.toString());
      TList symbols = (TList) FregeParseController.funSTG(
          Utilities.exprSymbols(expr), g);
      TList.DCons node = symbols._Cons();
      while (node != null) {
        TSymbolT sym = Delayed.<TSymbolT>forced( node.mem1);
        visit(g, sym);
        node = (node.mem2.<TList>forced())._Cons();
      }
      return true;
    }
View Full Code Here

Examples of frege.compiler.types.Symbols.TSymbolT

        // this is a QName
        TQName q = Delayed.<TQName>forced( right.mem1 );
        final TMaybe mbsym = TGlobal.findit(g, q).<TMaybe>forced();
        final DJust  jsym  = mbsym._Just();
        if (jsym == nullreturn null;   // not found?
        final TSymbolT sym = Delayed.<TSymbolT>forced( jsym.mem1 );
        System.err.println("getLinkTarget: " + QNames.IShow_QName.show(q));
        return new Symbol(g, sym);
      }
      final DLeft  left = lr._Left();
      if (left != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.