FormalPropertySyntaxTreeToAstTranslaterTest.java 文件源码

java
阅读 17 收藏 0 点赞 0 评论 0

项目:BEAST 作者:
@Test
public void testCreateAST() {
   String exp = "FOR_ALL_VOTERS(v) : EXISTS_ONE_CANDIDATE(c) : VOTES1(v) == c && VOTES1(v) == c;";
   FormalPropertyDescriptionLexer lexer = new FormalPropertyDescriptionLexer(new ANTLRInputStream(exp));
   CommonTokenStream tokenS = new CommonTokenStream(lexer);
   FormalPropertyDescriptionParser parser = new FormalPropertyDescriptionParser(tokenS);
   FormalPropertySyntaxTreeToAstTranslator translater = new FormalPropertySyntaxTreeToAstTranslator();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号