Examples of Symbol


Examples of dtool.ast.definitions.Symbol

  public NodeResult<AttribPragma> parseAttribPragma() {
    if(!tryConsume(DeeTokens.KW_PRAGMA))
      return null;
    ParseHelper parse = new ParseHelper();
   
    Symbol pragmaId = null;
    NodeListView<Expression> expList = null;
   
    parsing: {
      if(parse.consumeRequired(DeeTokens.OPEN_PARENS).ruleBroken) break parsing;
      pragmaId = parseIdSymbol();
View Full Code Here

Examples of edu.stanford.nlp.parser.lexparser.ChineseCharacterBasedLexicon.Symbol

          continue;
        }
        wordCounter.incrementCount(taggedWord);
        wordLengthCounter.incrementCount(Integer.valueOf(word.length()));
        for (int j = 0, length = word.length(); j < length; j++) {
          Symbol sym = Symbol.cannonicalSymbol(word.charAt(j));
          charCounter.incrementCount(sym);
        }
        charCounter.incrementCount(Symbol.END_WORD);
      }
    }
View Full Code Here

Examples of eu.hansolo.enzo.common.Symbol


    // ******************** Constructors **************************************
    public IconSwitch() {
        getStyleClass().setAll("icon-switch");
        symbol = new Symbol(SymbolType.NONE, 19, DEFAULT_SYMBOL_COLOR, Symbol.RESIZEABLE);
    }
View Full Code Here

Examples of fitnesse.wikitext.parser.Symbol

  @Override
  public String getHtml() {
    String content = getDecoratedContent();
    ParsingPage parsingPage = new ParsingPage(new WikiSourcePage(sourcePage), variableSource);
    Symbol syntaxTree = Parser.make(parsingPage, content).parse();
    return new HtmlTranslator(parsingPage.getPage(), parsingPage).translateTree(syntaxTree);
  }
View Full Code Here

Examples of instantbach.data.chord.Symbol

        int row = 0;

        //for each available symbol..
        for (int i = 0; i < availableSymbols.size(); i++) {

            Symbol symbol = availableSymbols.get(i);
            SymbolButton button = new SymbolButton(symbol);
            button.addActionListener(this);
            buttonList.add(button);

            c.gridx = col;
View Full Code Here

Examples of io.crate.planner.symbol.Symbol

    @Override
    public Symbol normalizeSymbol(Function function) {
        // ... where id in (1,2,3,4,...)
        // arguments.get(0) ... id
        // arguments.get(1) ... SetLiteral<Literal> (1,2,3,4,...)
        Symbol left = function.arguments().get(0);
        if (!left.symbolType().isValueSymbol()) {
            return function;
        }
        Object inValue = ((Literal) left).value();
        Literal inList = (Literal) function.arguments().get(1);
        assert inList.valueType().id() == SetType.ID;
View Full Code Here

Examples of it.halfone.regex.symbol.Symbol

   */
  public Regex boost(int likeness) {
    Regex retVal = new Regex();

    retVal.isSelf = this.isSelf;
    retVal.addSymbol(new Symbol("", Type.START));
    retVal.addSymbol(this.symbolList.toArray(new Symbol[] {}));

    for (Integer key : this.connections.keySet()) {
      for (Integer successor : this.connections.get(key)) {
        retVal.addConnection(key + 1, successor + 1);
      }
    }
    retVal.addSymbol(new Symbol("", Type.END));

    retVal.addConnection(0, 1);
    retVal.addConnection(retVal.symbolList.size() - 2, retVal.symbolList.size() - 1);

    retVal.symbolList.set(1, this.symbolList.get(0).setLikeness(likeness));
View Full Code Here

Examples of java_cup_11a.runtime.Symbol

      }
    }

    /** Reads one or more tokens from the underlying lexer, transform them if necessarly. */
    public Symbol next_token() throws Err {
       Symbol a = myread(), b;
       int c;
       if (last==null || last.sym!=COLON) {
          if (a.sym==NO) c=NO2;
             else if (a.sym==ALL) c=ALL2;
             else if (a.sym==SUM) c=SUM2;
View Full Code Here

Examples of javassist.compiler.ast.Symbol

/*      */         catch (NoFieldException nfe) {
/* 1070 */           if (nfe.getExpr() != e.oprand1()) {
/* 1071 */             throw nfe;
/*      */           }
/*      */
/* 1077 */           Symbol fname = (Symbol)e.oprand2();
/* 1078 */           String cname = nfe.getField();
/* 1079 */           f = this.resolver.lookupFieldByJvmName2(cname, fname, expr);
/* 1080 */           this.resolver.recordPackage(cname);
/* 1081 */           this.resultStatic = true;
/* 1082 */           return f;
View Full Code Here

Examples of net.bytten.metazelda.Symbol

                constraints.initialRooms());
        assert possibleEntries.size() > 0;
        id = possibleEntries.get(random.nextInt(possibleEntries.size()));
       
        Room entry = new Room(id, constraints.getCoords(id), null,
                new Symbol(Symbol.START), new Condition());
        dungeon.add(entry);
       
        levels.addRoom(0, entry);
    }
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.