Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(6)  |  Derive(0)  |  Import(3)

src/a/n/anapsid-HEAD/ANAPSID/Decomposer/parseQuery1_1.py   anapsid(Download)
from ply import lex, yacc
 
from services import Query, Argument, Triple, UnionBlock, JoinBlock, Optional, Filter, Expression, Service
 
# Lexer
def p_bgp_service_2(p):
    """
    bgp_service : FILTER LPAR expression RPAR
    """
    p[0] = Filter(p[3])
def p_bgp_service_3(p):
    """
    bgp_service : FILTER express_rel 
    """
    p[0] = Filter(p[2])
def p_bgp_2(p):
    """
    bgp : FILTER LPAR expression RPAR
    """
    p[0] = ([],[Filter(p[3])])
def p_bgp_3(p):
    """
    bgp : FILTER express_rel 
    """
    p[0] = ([],[Filter(p[2])])

src/a/n/anapsid-HEAD/ANAPSID/Decomposer/parseQuery.py   anapsid(Download)
from ply import lex, yacc
 
from services import Query, Argument, Triple, UnionBlock, JoinBlock, Optional, Filter, Expression
 
# Lexer
def p_bgp_2(p):
    """
    bgp : FILTER LPAR expression RPAR
    """
    p[0] = Filter(p[3])
def p_bgp_3(p):
    """
    bgp : FILTER express_rel 
    """
    p[0] = Filter(p[2])

src/a/n/anapsid-HEAD/ANAPSID/Decomposer/decomposer.py   anapsid(Download)
from Tree import Node, Leaf
from utils import *
from services import Service, Argument, Triple, Filter, Optional, UnionBlock, JoinBlock, Query
 
logger = logging.getLogger(__name__)