Package avrora.core.isdl.parser

Examples of avrora.core.isdl.parser.Token


     * variable.
     *
     * @param v the string name of the variable as a token
     */
    public VarExpr(String v) {
        Token t = new Token();
        t.image = v;
        variable = t;
    }
View Full Code Here


     *
     * @param m the name of the subroutine as a string
     * @param a list of expressions representing the arguments to the subroutine
     */
    public CallExpr(String m, List a) {
        method = new Token();
        method.image = m;
        args = a;
    }
View Full Code Here

     *
     * @param s the string name of the map as a token
     * @param i an expression representing the expr into the map
     */
    public MapExpr(String s, Expr i) {
        mapname = new Token();
        mapname.image = s;
        index = i;
    }
View Full Code Here

     * @param h the high bit of the range as an integer
     * @param e the expression representing the right hand side of the assignment
     */
    public MapBitRangeAssignStmt(String m, Expr i, int l, int h, Expr e) {
        super(e);
        mapname = new Token();
        mapname.image = m;
        index = i;

        low_bit = l < h ? l : h;
        high_bit = l > h ? l : h;
View Full Code Here

    protected String varName(Token n) {
        return varName(n.image);
    }

    protected Token newToken(String t) {
        Token tk = new Token();
        tk.image = t;
        tk.kind = ISDLParserConstants.IDENTIFIER;
        return tk;
    }
View Full Code Here

     *
     * @param m the name of the subroutine as a string
     * @param a list of expressions representing the arguments to the subroutine
     */
    public CallStmt(String m, List a) {
        method = new Token();
        method.image = m;
        args = a;
    }
View Full Code Here

     * @param i the expression representing the expr into the map
     * @param e the expression representing the right hand side of the assignment
     */
    public MapAssignStmt(String m, Expr i, Expr e) {
        super(e);
        mapname = new Token();
        mapname.image = m;
        index = i;
    }
View Full Code Here

     *
     * @param s the string name of the map as a token
     * @param i an expression representing the expr into the map
     */
    public ConversionExpr(Expr i, String s) {
        typename = new Token();
        typename.image = s;
        expr = i;
    }
View Full Code Here

TOP

Related Classes of avrora.core.isdl.parser.Token

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.