示例#1
0
 def function(p):
     return Function(p[1].getstr(), p[5], Basket([]), Basket([]))
示例#2
0
 def struct(p):
     return Struct(p[1].getstr(), Basket([]))
示例#3
0
 def fields(p):
     return Basket(p)
示例#4
0
 def pointer(p):
     return Basket(p)
示例#5
0
 def function(p):
     return Etch(Basket([]), p[0])
示例#6
0
 def modifier(p):
     return Modifier(p[1].getstr(), Basket([]))
示例#7
0
 def kind(p):
     return Kind(p[0].getstr(), Basket([]))
示例#8
0
 def call(p):
     return Call(p[0].getstr(), Basket([]))
示例#9
0
 def parameters(p):
     return Basket([p[0], p[2]])
示例#10
0
 def definitions(p):
     return Basket(p)
示例#11
0
 def mcall(p):
     return MethodCall(p[0], p[2].getstr(), Basket([]))
示例#12
0
 def statements(p):
     return Basket(p)
示例#13
0
 def arguments(p):
     return Basket([p[0], p[2]])
示例#14
0
 def modparams(p):
     return Basket([p[0], p[2]])
示例#15
0
 def function(p):
     return Declaration(p[1].getstr(), p[5], Basket([]))
示例#16
0
 def target(p):
     return Basket([p[0], Variable(p[0].combo.name)])
示例#17
0
 def function(p):
     return Method(p[4].getstr(), p[8], Basket([]), p[10], p[2])
示例#18
0
 def function(p):
     return MethodDeclaration(p[4].getstr(), p[8], Basket([]), p[2])