Changeset 4120 for devel-tools/trunk


Ignore:
Timestamp:
Dec 15, 2009, 1:33:56 PM (11 years ago)
Author:
yura
Message:
  • Refal 5 tags.
Location:
devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/parser
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/parser/TkFollowers.java

    r3619 r4120  
    2727import static org.refal.rfpdt.parser.TkTags.WITH;
    2828import static org.refal.rfpdt.parser.TkTags.WORD;
     29import static org.refal.rfpdt.parser.TkTags.ENTRY;
     30import static org.refal.rfpdt.parser.TkTags.EXTERNAL;
    2931
    3032/**
     
    5961            | RANGU | RPAR | SC | TRAP | WITH;
    6062    public static final long f_names = SC;
     63    public static final long f_rf5_program = EOP;
     64    public static final long f_rf5_maybe_sc = EOP | ENTRY | EXTERNAL | WORD;
     65    public static final long f_rf5_extern_defs = SC;
     66    public static final long f_rf5_sentences = RCURL;
     67    public static final long f_rf5_sentences2 = RCURL;
     68    public static final long f_rf5_exp = COL | COMMA | EQL | RANGU | RCURL | RPAR | SC;
    6169}
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/parser/TkImages.java

    r3566 r4120  
    3636import static org.refal.rfpdt.parser.TkTags.WITH;
    3737import static org.refal.rfpdt.parser.TkTags.WORD;
     38import static org.refal.rfpdt.parser.TkTags.ENTRY;
     39import static org.refal.rfpdt.parser.TkTags.EXTERNAL;
    3840
    3941import java.util.HashMap;
     
    7880        tk(WITH, "$with");
    7981        tk(WORD, "[word]");
     82        tk(ENTRY, "$ENTRY");
     83        tk(EXTERNAL, "$EXTERNAL");
    8084    }
    8185
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/parser/TkStarters.java

    r3619 r4120  
    3131import static org.refal.rfpdt.parser.TkTags.VAR;
    3232import static org.refal.rfpdt.parser.TkTags.WORD;
     33import static org.refal.rfpdt.parser.TkTags.ENTRY;
     34import static org.refal.rfpdt.parser.TkTags.EXTERNAL;
    3335
    3436/**
     
    8183    public static final long s_names = WORD;
    8284    public static final long s_name = WORD;
     85    public static final long s_rf5_program = ENTRY | EXTERNAL | WORD;
     86    public static final long s_rf5_maybe_sc = SC;
     87    public static final long s_rf5_extern_defs = WORD;
     88    public static final long s_rf5_func_def = ENTRY | WORD;
     89    public static final long s_rf5_block = LCURL;
     90    public static final long s_rf5_sentences = CHAR | COMMA | EQL | LANGU | LPAR | NUMB | VAR | WORD;
     91    public static final long s_rf5_sentences2 = SC;
     92    public static final long s_rf5_sentence = CHAR | COMMA | EQL | LANGU | LPAR | NUMB | VAR | WORD;
     93    public static final long s_rf5_conditions = COMMA | EQL;
     94    public static final long s_rf5_conditions2 = CHAR | COMMA | EQL | LANGU | LCURL | LPAR | NUMB | VAR | WORD;
     95    public static final long s_rf5_exp = CHAR | LANGU | LPAR | NUMB | VAR | WORD;
     96    public static final long s_rf5_exp_head = CHAR | LANGU | LPAR | NUMB | VAR | WORD;
     97    public static final long s_rf5_static_symbol = CHAR | NUMB | WORD;
     98    public static final long s_rf5_name = WORD;
    8399}
  • devel-tools/trunk/eclipse/org.refal.rfpdt.core/src/org/refal/rfpdt/parser/TkTags.java

    r3566 r4120  
    4141    public static final long WITH = (1L << 33);
    4242    public static final long WORD = (1L << 34);
     43    public static final long ENTRY = (1L << 35); // For Refal 5
     44    public static final long EXTERNAL = (1L << 36); // For Refal 5
    4345}
Note: See TracChangeset for help on using the changeset viewer.