Class: Vertigo::Visitor
- Inherits:
-
Object
- Object
- Vertigo::Visitor
- Defined in:
- lib/vertigo/visitor_vertigo_rkgen.rb
Instance Method Summary collapse
- #visit(ast) ⇒ Object
- #visitAfter(after_, args = nil) ⇒ Object
- #visitAggregate(aggregate_, args = nil) ⇒ Object
- #visitAlias(alias_, args = nil) ⇒ Object
- #visitAlternative(alternative_, args = nil) ⇒ Object
- #visitArchitecture(architecture_, args = nil) ⇒ Object
- #visitArrayDecl(arraydecl_, args = nil) ⇒ Object
- #visitArrayDimDecl(arraydimdecl_, args = nil) ⇒ Object
- #visitArrayType(arraytype_, args = nil) ⇒ Object
- #visitAssert(assert_, args = nil) ⇒ Object
- #visitAssoc(assoc_, args = nil) ⇒ Object
- #visitAttributed(attributed_, args = nil) ⇒ Object
- #visitAttributeDecl(attributedecl_, args = nil) ⇒ Object
- #visitAttributeSpec(attributespec_, args = nil) ⇒ Object
- #visitBinary(binary_, args = nil) ⇒ Object
- #visitBody(body_, args = nil) ⇒ Object
- #visitBoolLit(boollit_, args = nil) ⇒ Object
- #visitCase(case_, args = nil) ⇒ Object
- #visitCaseWhen(casewhen_, args = nil) ⇒ Object
- #visitCharLit(charlit_, args = nil) ⇒ Object
- #visitComment(comment_, args = nil) ⇒ Object
- #visitComponentDecl(componentdecl_, args = nil) ⇒ Object
- #visitComponentInstance(componentinstance_, args = nil) ⇒ Object
- #visitConcat(concat_, args = nil) ⇒ Object
- #visitCondExpr(condexpr_, args = nil) ⇒ Object
- #visitConstant(constant_, args = nil) ⇒ Object
- #visitDiscreteRange(discreterange_, args = nil) ⇒ Object
- #visitElse(else_, args = nil) ⇒ Object
- #visitElsif(elsif_, args = nil) ⇒ Object
- #visitEntity(entity_, args = nil) ⇒ Object
- #visitEntityInstance(entityinstance_, args = nil) ⇒ Object
- #visitEntitySpec(entityspec_, args = nil) ⇒ Object
- #visitEnumDecl(enumdecl_, args = nil) ⇒ Object
- #visitForGenerate(forgenerate_, args = nil) ⇒ Object
- #visitFormalArg(formalarg_, args = nil) ⇒ Object
- #visitFuncCall(funccall_, args = nil) ⇒ Object
- #visitFuncDecl(funcdecl_, args = nil) ⇒ Object
- #visitFuncProtoDecl(funcprotodecl_, args = nil) ⇒ Object
- #visitGeneric(generic_, args = nil) ⇒ Object
- #visitGenericMap(genericmap_, args = nil) ⇒ Object
- #visitIdent(ident_, args = nil) ⇒ Object
- #visitIf(if_, args = nil) ⇒ Object
- #visitIfGenerate(ifgenerate_, args = nil) ⇒ Object
- #visitInOut(inout_, args = nil) ⇒ Object
- #visitInput(input_, args = nil) ⇒ Object
- #visitIntLit(intlit_, args = nil) ⇒ Object
- #visitIsolatedRange(isolatedrange_, args = nil) ⇒ Object
- #visitLabel(label_, args = nil) ⇒ Object
- #visitLibrary(library_, args = nil) ⇒ Object
- #visitMap(map_, args = nil) ⇒ Object
- #visitNamedType(namedtype_, args = nil) ⇒ Object
- #visitNullStmt(nullstmt_, args = nil) ⇒ Object
- #visitOutput(output_, args = nil) ⇒ Object
- #visitPackage(package_, args = nil) ⇒ Object
- #visitPackageBody(packagebody_, args = nil) ⇒ Object
- #visitParenth(parenth_, args = nil) ⇒ Object
- #visitPortMap(portmap_, args = nil) ⇒ Object
- #visitProcedureCall(procedurecall_, args = nil) ⇒ Object
- #visitProcedureDecl(proceduredecl_, args = nil) ⇒ Object
- #visitProcess(process_, args = nil) ⇒ Object
- #visitQualified(qualified_, args = nil) ⇒ Object
- #visitRangedType(rangedtype_, args = nil) ⇒ Object
- #visitRecordDecl(recorddecl_, args = nil) ⇒ Object
- #visitRecordItem(recorditem_, args = nil) ⇒ Object
- #visitReport(report_, args = nil) ⇒ Object
- #visitReturn(return_, args = nil) ⇒ Object
- #visitRoot(root_, args = nil) ⇒ Object
- #visitSelectedName(selectedname_, args = nil) ⇒ Object
- #visitSelectedWhen(selectedwhen_, args = nil) ⇒ Object
- #visitSensitivity(sensitivity_, args = nil) ⇒ Object
- #visitSeverity(severity_, args = nil) ⇒ Object
- #visitSigAssign(sigassign_, args = nil) ⇒ Object
- #visitSignal(signal_, args = nil) ⇒ Object
- #visitSliced(sliced_, args = nil) ⇒ Object
- #visitStdType(stdtype_, args = nil) ⇒ Object
- #visitSubTypeDecl(subtypedecl_, args = nil) ⇒ Object
- #visitTimed(timed_, args = nil) ⇒ Object
- #visitTypeDecl(typedecl_, args = nil) ⇒ Object
- #visitUse(use_, args = nil) ⇒ Object
- #visitVarAssign(varassign_, args = nil) ⇒ Object
- #visitVariable(variable_, args = nil) ⇒ Object
- #visitWait(wait_, args = nil) ⇒ Object
- #visitWaveform(waveform_, args = nil) ⇒ Object
- #visitWhen(when_, args = nil) ⇒ Object
- #visitWithSelect(withselect_, args = nil) ⇒ Object
Instance Method Details
#visit(ast) ⇒ Object
9 10 11 12 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 9 def visit ast puts "visiting ast #{ast}" ast.accept(self) end |
#visitAfter(after_, args = nil) ⇒ Object
362 363 364 365 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 362 def visitAfter(after_,args=nil) after_.lhs.accept(self,args) after_.rhs.accept(self,args) end |
#visitAggregate(aggregate_, args = nil) ⇒ Object
434 435 436 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 434 def visitAggregate(aggregate_,args=nil) aggregate_.elements.each{|element_| element_.accept(self,args)} end |
#visitAlias(alias_, args = nil) ⇒ Object
307 308 309 310 311 312 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 307 def visitAlias(alias_,args=nil) alias_.designator.accept(self,args) alias_.type.accept(self,args) alias_.name.accept(self,args) alias_.signature.accept(self,args) end |
#visitAlternative(alternative_, args = nil) ⇒ Object
201 202 203 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 201 def visitAlternative(alternative_,args=nil) alternative_.elements.each{|element_| element_.accept(self,args)} end |
#visitArchitecture(architecture_, args = nil) ⇒ Object
91 92 93 94 95 96 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 91 def visitArchitecture(architecture_,args=nil) architecture_.name.accept(self,args) architecture_.entity_name.accept(self,args) architecture_.decls.each{|decl_| decl_.accept(self,args)} architecture_.body.accept(self,args) end |
#visitArrayDecl(arraydecl_, args = nil) ⇒ Object
279 280 281 282 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 279 def visitArrayDecl(arraydecl_,args=nil) arraydecl_.dim_decls.each{|dim_decl_| dim_decl_.accept(self,args)} arraydecl_.type.accept(self,args) end |
#visitArrayDimDecl(arraydimdecl_, args = nil) ⇒ Object
284 285 286 287 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 284 def visitArrayDimDecl(arraydimdecl_,args=nil) arraydimdecl_.type_mark.accept(self,args) arraydimdecl_.range.accept(self,args) end |
#visitArrayType(arraytype_, args = nil) ⇒ Object
327 328 329 330 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 327 def visitArrayType(arraytype_,args=nil) arraytype_.name.accept(self,args) arraytype_.discrete_ranges.each{|discrete_range_| discrete_range_.accept(self,args)} end |
#visitAssert(assert_, args = nil) ⇒ Object
209 210 211 212 213 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 209 def visitAssert(assert_,args=nil) assert_.cond.accept(self,args) assert_.report.accept(self,args) assert_.severity.accept(self,args) end |
#visitAssoc(assoc_, args = nil) ⇒ Object
442 443 444 445 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 442 def visitAssoc(assoc_,args=nil) assoc_.lhs.accept(self,args) assoc_.rhs.accept(self,args) end |
#visitAttributed(attributed_, args = nil) ⇒ Object
372 373 374 375 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 372 def visitAttributed(attributed_,args=nil) attributed_.lhs.accept(self,args) attributed_.rhs.accept(self,args) end |
#visitAttributeDecl(attributedecl_, args = nil) ⇒ Object
144 145 146 147 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 144 def visitAttributeDecl(attributedecl_,args=nil) attributedecl_.name.accept(self,args) attributedecl_.type.accept(self,args) end |
#visitAttributeSpec(attributespec_, args = nil) ⇒ Object
149 150 151 152 153 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 149 def visitAttributeSpec(attributespec_,args=nil) attributespec_.name.accept(self,args) attributespec_.entity_spec.accept(self,args) attributespec_.expr.accept(self,args) end |
#visitBinary(binary_, args = nil) ⇒ Object
356 357 358 359 360 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 356 def visitBinary(binary_,args=nil) binary_.lhs.accept(self,args) binary_.op.accept(self,args) binary_.rhs.accept(self,args) end |
#visitBody(body_, args = nil) ⇒ Object
98 99 100 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 98 def visitBody(body_,args=nil) body_.elements.each{|element_| element_.accept(self,args)} end |
#visitBoolLit(boollit_, args = nil) ⇒ Object
406 407 408 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 406 def visitBoolLit(boollit_,args=nil) boollit_.tok.accept(self,args) end |
#visitCase(case_, args = nil) ⇒ Object
191 192 193 194 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 191 def visitCase(case_,args=nil) case_.expr.accept(self,args) case_.whens.each{|when_| when_.accept(self,args)} end |
#visitCaseWhen(casewhen_, args = nil) ⇒ Object
196 197 198 199 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 196 def visitCaseWhen(casewhen_,args=nil) casewhen_.expr.accept(self,args) casewhen_.body.accept(self,args) end |
#visitCharLit(charlit_, args = nil) ⇒ Object
402 403 404 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 402 def visitCharLit(charlit_,args=nil) charlit_.tok.accept(self,args) end |
#visitComment(comment_, args = nil) ⇒ Object
18 19 20 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 18 def visitComment(comment_,args=nil) comment_.str.accept(self,args) end |
#visitComponentDecl(componentdecl_, args = nil) ⇒ Object
119 120 121 122 123 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 119 def visitComponentDecl(componentdecl_,args=nil) componentdecl_.name.accept(self,args) componentdecl_.generics.each{|generic_| generic_.accept(self,args)} componentdecl_.ports.each{|port_| port_.accept(self,args)} end |
#visitComponentInstance(componentinstance_, args = nil) ⇒ Object
125 126 127 128 129 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 125 def visitComponentInstance(componentinstance_,args=nil) componentinstance_.name.accept(self,args) componentinstance_.generic_map.accept(self,args) componentinstance_.port_map.accept(self,args) end |
#visitConcat(concat_, args = nil) ⇒ Object
377 378 379 380 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 377 def visitConcat(concat_,args=nil) concat_.lhs.accept(self,args) concat_.rhs.accept(self,args) end |
#visitCondExpr(condexpr_, args = nil) ⇒ Object
346 347 348 349 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 346 def visitCondExpr(condexpr_,args=nil) condexpr_.whens.each{|when_| when_.accept(self,args)} condexpr_.else_.accept(self,args) end |
#visitConstant(constant_, args = nil) ⇒ Object
289 290 291 292 293 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 289 def visitConstant(constant_,args=nil) constant_.name.accept(self,args) constant_.type.accept(self,args) constant_.expr.accept(self,args) end |
#visitDiscreteRange(discreterange_, args = nil) ⇒ Object
332 333 334 335 336 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 332 def visitDiscreteRange(discreterange_,args=nil) discreterange_.lhs.accept(self,args) discreterange_.dir.accept(self,args) discreterange_.rhs.accept(self,args) end |
#visitElse(else_, args = nil) ⇒ Object
187 188 189 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 187 def visitElse(else_,args=nil) else_.body.accept(self,args) end |
#visitElsif(elsif_, args = nil) ⇒ Object
182 183 184 185 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 182 def visitElsif(elsif_,args=nil) elsif_.cond.accept(self,args) elsif_.body.accept(self,args) end |
#visitEntity(entity_, args = nil) ⇒ Object
32 33 34 35 36 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 32 def visitEntity(entity_,args=nil) entity_.name.accept(self,args) entity_.generics.each{|generic_| generic_.accept(self,args)} entity_.ports.each{|port_| port_.accept(self,args)} end |
#visitEntityInstance(entityinstance_, args = nil) ⇒ Object
112 113 114 115 116 117 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 112 def visitEntityInstance(,args=nil) .full_name.accept(self,args) .arch_name.accept(self,args) .generic_map.accept(self,args) .port_map.accept(self,args) end |
#visitEntitySpec(entityspec_, args = nil) ⇒ Object
155 156 157 158 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 155 def visitEntitySpec(entityspec_,args=nil) entityspec_.elements.each{|element_| element_.accept(self,args)} entityspec_.entity_class.accept(self,args) end |
#visitEnumDecl(enumdecl_, args = nil) ⇒ Object
266 267 268 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 266 def visitEnumDecl(enumdecl_,args=nil) enumdecl_.elements.each{|element_| element_.accept(self,args)} end |
#visitForGenerate(forgenerate_, args = nil) ⇒ Object
244 245 246 247 248 249 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 244 def visitForGenerate(forgenerate_,args=nil) forgenerate_.index.accept(self,args) forgenerate_.range.accept(self,args) forgenerate_.decls.each{|decl_| decl_.accept(self,args)} forgenerate_.body.accept(self,args) end |
#visitFormalArg(formalarg_, args = nil) ⇒ Object
79 80 81 82 83 84 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 79 def visitFormalArg(formalarg_,args=nil) formalarg_.signal.accept(self,args) formalarg_.direction.accept(self,args) formalarg_.name.accept(self,args) formalarg_.type.accept(self,args) end |
#visitFuncCall(funccall_, args = nil) ⇒ Object
429 430 431 432 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 429 def visitFuncCall(funccall_,args=nil) funccall_.name.accept(self,args) funccall_.actual_args.each{|actual_arg_| actual_arg_.accept(self,args)} end |
#visitFuncDecl(funcdecl_, args = nil) ⇒ Object
421 422 423 424 425 426 427 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 421 def visitFuncDecl(funcdecl_,args=nil) funcdecl_.name.accept(self,args) funcdecl_.formal_args.each{|formal_arg_| formal_arg_.accept(self,args)} funcdecl_.return_type.accept(self,args) funcdecl_.decls.accept(self,args) funcdecl_.body.accept(self,args) end |
#visitFuncProtoDecl(funcprotodecl_, args = nil) ⇒ Object
415 416 417 418 419 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 415 def visitFuncProtoDecl(funcprotodecl_,args=nil) funcprotodecl_.name.accept(self,args) funcprotodecl_.formal_args.each{|formal_arg_| formal_arg_.accept(self,args)} funcprotodecl_.return_type.accept(self,args) end |
#visitGeneric(generic_, args = nil) ⇒ Object
38 39 40 41 42 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 38 def visitGeneric(generic_,args=nil) generic_.name.accept(self,args) generic_.type.accept(self,args) generic_.init.accept(self,args) end |
#visitGenericMap(genericmap_, args = nil) ⇒ Object
135 136 137 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 135 def visitGenericMap(genericmap_,args=nil) genericmap_.elements.each{|element_| element_.accept(self,args)} end |
#visitIdent(ident_, args = nil) ⇒ Object
394 395 396 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 394 def visitIdent(ident_,args=nil) ident_.tok.accept(self,args) end |
#visitIf(if_, args = nil) ⇒ Object
175 176 177 178 179 180 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 175 def visitIf(if_,args=nil) if_.cond.accept(self,args) if_.body.accept(self,args) if_.elsifs.each{|elsif_| elsif_.accept(self,args)} if_.else_.accept(self,args) end |
#visitIfGenerate(ifgenerate_, args = nil) ⇒ Object
239 240 241 242 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 239 def visitIfGenerate(ifgenerate_,args=nil) ifgenerate_.cond.accept(self,args) ifgenerate_.body.accept(self,args) end |
#visitInOut(inout_, args = nil) ⇒ Object
56 57 58 59 60 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 56 def visitInOut(inout_,args=nil) inout_.name.accept(self,args) inout_.type.accept(self,args) inout_.init.accept(self,args) end |
#visitInput(input_, args = nil) ⇒ Object
44 45 46 47 48 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 44 def visitInput(input_,args=nil) input_.name.accept(self,args) input_.type.accept(self,args) input_.init.accept(self,args) end |
#visitIntLit(intlit_, args = nil) ⇒ Object
398 399 400 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 398 def visitIntLit(intlit_,args=nil) intlit_.tok.accept(self,args) end |
#visitIsolatedRange(isolatedrange_, args = nil) ⇒ Object
251 252 253 254 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 251 def visitIsolatedRange(isolatedrange_,args=nil) isolatedrange_.lhs.accept(self,args) isolatedrange_.rhs.accept(self,args) end |
#visitLabel(label_, args = nil) ⇒ Object
438 439 440 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 438 def visitLabel(label_,args=nil) label_.ident.accept(self,args) end |
#visitLibrary(library_, args = nil) ⇒ Object
22 23 24 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 22 def visitLibrary(library_,args=nil) library_.name.accept(self,args) end |
#visitMap(map_, args = nil) ⇒ Object
139 140 141 142 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 139 def visitMap(map_,args=nil) map_.lhs.accept(self,args) map_.rhs.accept(self,args) end |
#visitNamedType(namedtype_, args = nil) ⇒ Object
323 324 325 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 323 def visitNamedType(namedtype_,args=nil) namedtype_.ident.accept(self,args) end |
#visitNullStmt(nullstmt_, args = nil) ⇒ Object
205 206 207 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 205 def visitNullStmt(nullstmt_,args=nil) nullstmt_.dummy.accept(self,args) end |
#visitOutput(output_, args = nil) ⇒ Object
50 51 52 53 54 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 50 def visitOutput(output_,args=nil) output_.name.accept(self,args) output_.type.accept(self,args) output_.init.accept(self,args) end |
#visitPackage(package_, args = nil) ⇒ Object
62 63 64 65 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 62 def visitPackage(package_,args=nil) package_.name.accept(self,args) package_.decls.each{|decl_| decl_.accept(self,args)} end |
#visitPackageBody(packagebody_, args = nil) ⇒ Object
67 68 69 70 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 67 def visitPackageBody(packagebody_,args=nil) packagebody_.name.accept(self,args) packagebody_.decls.each{|decl_| decl_.accept(self,args)} end |
#visitParenth(parenth_, args = nil) ⇒ Object
338 339 340 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 338 def visitParenth(parenth_,args=nil) parenth_.expr.accept(self,args) end |
#visitPortMap(portmap_, args = nil) ⇒ Object
131 132 133 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 131 def visitPortMap(portmap_,args=nil) portmap_.elements.each{|element_| element_.accept(self,args)} end |
#visitProcedureCall(procedurecall_, args = nil) ⇒ Object
86 87 88 89 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 86 def visitProcedureCall(procedurecall_,args=nil) procedurecall_.name.accept(self,args) procedurecall_.actual_args.each{|actual_arg_| actual_arg_.accept(self,args)} end |
#visitProcedureDecl(proceduredecl_, args = nil) ⇒ Object
72 73 74 75 76 77 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 72 def visitProcedureDecl(proceduredecl_,args=nil) proceduredecl_.name.accept(self,args) proceduredecl_.formal_args.each{|formal_arg_| formal_arg_.accept(self,args)} proceduredecl_.decls.each{|decl_| decl_.accept(self,args)} proceduredecl_.body.accept(self,args) end |
#visitProcess(process_, args = nil) ⇒ Object
102 103 104 105 106 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 102 def visitProcess(process_,args=nil) process_.sensitivity.accept(self,args) process_.decls.each{|decl_| decl_.accept(self,args)} process_.body.accept(self,args) end |
#visitQualified(qualified_, args = nil) ⇒ Object
382 383 384 385 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 382 def visitQualified(qualified_,args=nil) qualified_.lhs.accept(self,args) qualified_.rhs.accept(self,args) end |
#visitRangedType(rangedtype_, args = nil) ⇒ Object
318 319 320 321 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 318 def visitRangedType(rangedtype_,args=nil) rangedtype_.type.accept(self,args) rangedtype_.range.accept(self,args) end |
#visitRecordDecl(recorddecl_, args = nil) ⇒ Object
270 271 272 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 270 def visitRecordDecl(recorddecl_,args=nil) recorddecl_.elements.each{|element_| element_.accept(self,args)} end |
#visitRecordItem(recorditem_, args = nil) ⇒ Object
274 275 276 277 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 274 def visitRecordItem(recorditem_,args=nil) recorditem_.name.accept(self,args) recorditem_.type.accept(self,args) end |
#visitReport(report_, args = nil) ⇒ Object
215 216 217 218 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 215 def visitReport(report_,args=nil) report_.expr.accept(self,args) report_.severity.accept(self,args) end |
#visitReturn(return_, args = nil) ⇒ Object
224 225 226 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 224 def visitReturn(return_,args=nil) return_.expr.accept(self,args) end |
#visitRoot(root_, args = nil) ⇒ Object
14 15 16 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 14 def visitRoot(root_,args=nil) root_.design_units.each{|design_unit_| design_unit_.accept(self,args)} end |
#visitSelectedName(selectedname_, args = nil) ⇒ Object
410 411 412 413 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 410 def visitSelectedName(selectedname_,args=nil) selectedname_.lhs.accept(self,args) selectedname_.rhs.accept(self,args) end |
#visitSelectedWhen(selectedwhen_, args = nil) ⇒ Object
234 235 236 237 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 234 def visitSelectedWhen(selectedwhen_,args=nil) selectedwhen_.lhs.accept(self,args) selectedwhen_.rhs.accept(self,args) end |
#visitSensitivity(sensitivity_, args = nil) ⇒ Object
108 109 110 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 108 def visitSensitivity(sensitivity_,args=nil) sensitivity_.elements.each{|element_| element_.accept(self,args)} end |
#visitSeverity(severity_, args = nil) ⇒ Object
220 221 222 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 220 def visitSeverity(severity_,args=nil) severity_.type.accept(self,args) end |
#visitSigAssign(sigassign_, args = nil) ⇒ Object
160 161 162 163 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 160 def visitSigAssign(sigassign_,args=nil) sigassign_.lhs.accept(self,args) sigassign_.rhs.accept(self,args) end |
#visitSignal(signal_, args = nil) ⇒ Object
295 296 297 298 299 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 295 def visitSignal(signal_,args=nil) signal_.name.accept(self,args) signal_.type.accept(self,args) signal_.init.accept(self,args) end |
#visitSliced(sliced_, args = nil) ⇒ Object
387 388 389 390 391 392 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 387 def visitSliced(sliced_,args=nil) sliced_.expr.accept(self,args) sliced_.lhs.accept(self,args) sliced_.dir.accept(self,args) sliced_.rhs.accept(self,args) end |
#visitStdType(stdtype_, args = nil) ⇒ Object
314 315 316 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 314 def visitStdType(stdtype_,args=nil) stdtype_.ident.accept(self,args) end |
#visitSubTypeDecl(subtypedecl_, args = nil) ⇒ Object
261 262 263 264 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 261 def visitSubTypeDecl(subtypedecl_,args=nil) subtypedecl_.name.accept(self,args) subtypedecl_.spec.accept(self,args) end |
#visitTimed(timed_, args = nil) ⇒ Object
367 368 369 370 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 367 def visitTimed(timed_,args=nil) timed_.lhs.accept(self,args) timed_.rhs.accept(self,args) end |
#visitTypeDecl(typedecl_, args = nil) ⇒ Object
256 257 258 259 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 256 def visitTypeDecl(typedecl_,args=nil) typedecl_.name.accept(self,args) typedecl_.spec.accept(self,args) end |
#visitUse(use_, args = nil) ⇒ Object
26 27 28 29 30 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 26 def visitUse(use_,args=nil) use_.library.accept(self,args) use_.package.accept(self,args) use_.element.accept(self,args) end |
#visitVarAssign(varassign_, args = nil) ⇒ Object
165 166 167 168 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 165 def visitVarAssign(varassign_,args=nil) varassign_.lhs.accept(self,args) varassign_.rhs.accept(self,args) end |
#visitVariable(variable_, args = nil) ⇒ Object
301 302 303 304 305 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 301 def visitVariable(variable_,args=nil) variable_.name.accept(self,args) variable_.type.accept(self,args) variable_.init.accept(self,args) end |
#visitWait(wait_, args = nil) ⇒ Object
170 171 172 173 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 170 def visitWait(wait_,args=nil) wait_.until_.accept(self,args) wait_.for_.accept(self,args) end |
#visitWaveform(waveform_, args = nil) ⇒ Object
342 343 344 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 342 def visitWaveform(waveform_,args=nil) waveform_.elements.each{|element_| element_.accept(self,args)} end |
#visitWhen(when_, args = nil) ⇒ Object
351 352 353 354 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 351 def visitWhen(when_,args=nil) when_.expr.accept(self,args) when_.cond.accept(self,args) end |
#visitWithSelect(withselect_, args = nil) ⇒ Object
228 229 230 231 232 |
# File 'lib/vertigo/visitor_vertigo_rkgen.rb', line 228 def visitWithSelect(withselect_,args=nil) withselect_.with_expr.accept(self,args) withselect_.assigned.accept(self,args) withselect_.selected_whens.each{|selected_when_| selected_when_.accept(self,args)} end |