Examples of Const


Examples of IRTree2.CONST

    }

   
     public Stm unCx(Label t, Label f)
    {
        return new CJUMP(CJUMP.EQ, exp, new CONST(0), f, t);
    }
View Full Code Here

Examples of com.facebook.swift.parser.model.Const

    }

    @Override
    public void visit(final Visitable visitable) throws IOException
    {
        final Const constant = Const.class.cast(visitable);
        constants.add(constant);
    }
View Full Code Here

Examples of net.sf.kpex.prolog.Const

      String s = IO.promptln(">:");
      if (null == s || s.length() == 0)
      {
        return null;
      }
      return new Const(s);
    }

    if (null == reader)
    {
      return null;
View Full Code Here

Examples of net.sf.kpex.prolog.Const

      return 0;
    }
    String s = null;
    if (t instanceof Fun && "$string".equals(((Fun) t).getName()))
    {
      Const Xs = (Const) ((Fun) t).getArg(0);
      s = Term.charsToString(Xs);
    }
    else
    {
      s = t.prettyPrint();
View Full Code Here

Examples of net.sf.kpex.prolog.Const

   *
   * @see Clause
   */
  static public void processClause(Clause C, Map ktable)
  {
    if (C.getHead().matches(new Const("init")))
    {
      Prog.firstSolution(C.getHead(), C.getBody());
    }
    else
    {
View Full Code Here

Examples of net.sf.kpex.prolog.Const

class IffToken extends Fun
{
  public IffToken(String s)
  {
    super("iffToken", new Const(s));
  }
View Full Code Here

Examples of net.sf.kpex.prolog.Const

class EocToken extends Fun
{
  public EocToken()
  {
    super("eocToken", new Const("end_of_clause"));
  }
View Full Code Here

Examples of net.sf.kpex.prolog.Const

    return yes;
  }

  protected final Term makeConst(String s)
  {
    return new ConstToken(builtins.toBuiltin(new Const(s)));
  }
View Full Code Here

Examples of net.sf.kpex.prolog.Const

      }
    }
    Int I = new Int(occ);
    dict.put(X, I);
    dict.put(s, X);
    return new VarToken(X, new Const(s), I);
  }
View Full Code Here

Examples of net.sf.kpex.prolog.Const

  public Const newBuiltin(Const S)
  {
    String name = S.getName();
    int arity = S.getArity();
    String key = name + "/" + arity;
    Const b = (Const) get(key);
    return b;
  }
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.