pyGHDL.libghdl.vhdl.elocations

Python binding for the Ada package Vhdl.Elocations in libghdl.

The extended source locations of a node - the position of each keyword and delimiter - kept separately from the node itself, so an ordinary node does not pay for them.

Functions


Functions

pyGHDL.libghdl.vhdl.elocations.Get_Start_Location(obj)[source]
Parameters:

obj – The node to read the Start_Location location of.

Returns:

The node’s Start_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Start_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Start_Location location of.

  • value – The location to write into the Start_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Right_Paren_Location(obj)[source]
Parameters:

obj – The node to read the Right_Paren_Location location of.

Returns:

The node’s Right_Paren_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Right_Paren_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Right_Paren_Location location of.

  • value – The location to write into the Right_Paren_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_End_Location(obj)[source]
Parameters:

obj – The node to read the End_Location location of.

Returns:

The node’s End_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_End_Location(obj, value)[source]
Parameters:
  • obj – The node to write the End_Location location of.

  • value – The location to write into the End_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Is_Location(obj)[source]
Parameters:

obj – The node to read the Is_Location location of.

Returns:

The node’s Is_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Is_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Is_Location location of.

  • value – The location to write into the Is_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Begin_Location(obj)[source]
Parameters:

obj – The node to read the Begin_Location location of.

Returns:

The node’s Begin_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Begin_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Begin_Location location of.

  • value – The location to write into the Begin_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Then_Location(obj)[source]
Parameters:

obj – The node to read the Then_Location location of.

Returns:

The node’s Then_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Then_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Then_Location location of.

  • value – The location to write into the Then_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Use_Location(obj)[source]
Parameters:

obj – The node to read the Use_Location location of.

Returns:

The node’s Use_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Use_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Use_Location location of.

  • value – The location to write into the Use_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Loop_Location(obj)[source]
Parameters:

obj – The node to read the Loop_Location location of.

Returns:

The node’s Loop_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Loop_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Loop_Location location of.

  • value – The location to write into the Loop_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Generate_Location(obj)[source]
Parameters:

obj – The node to read the Generate_Location location of.

Returns:

The node’s Generate_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Generate_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Generate_Location location of.

  • value – The location to write into the Generate_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Generic_Location(obj)[source]
Parameters:

obj – The node to read the Generic_Location location of.

Returns:

The node’s Generic_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Generic_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Generic_Location location of.

  • value – The location to write into the Generic_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Port_Location(obj)[source]
Parameters:

obj – The node to read the Port_Location location of.

Returns:

The node’s Port_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Port_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Port_Location location of.

  • value – The location to write into the Port_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Generic_Map_Location(obj)[source]
Parameters:

obj – The node to read the Generic_Map_Location location of.

Returns:

The node’s Generic_Map_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Generic_Map_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Generic_Map_Location location of.

  • value – The location to write into the Generic_Map_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Port_Map_Location(obj)[source]
Parameters:

obj – The node to read the Port_Map_Location location of.

Returns:

The node’s Port_Map_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Port_Map_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Port_Map_Location location of.

  • value – The location to write into the Port_Map_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Arrow_Location(obj)[source]
Parameters:

obj – The node to read the Arrow_Location location of.

Returns:

The node’s Arrow_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Arrow_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Arrow_Location location of.

  • value – The location to write into the Arrow_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Colon_Location(obj)[source]
Parameters:

obj – The node to read the Colon_Location location of.

Returns:

The node’s Colon_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Colon_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Colon_Location location of.

  • value – The location to write into the Colon_Location field.

Return type:

None

pyGHDL.libghdl.vhdl.elocations.Get_Assign_Location(obj)[source]
Parameters:

obj – The node to read the Assign_Location location of.

Returns:

The node’s Assign_Location location.

pyGHDL.libghdl.vhdl.elocations.Set_Assign_Location(obj, value)[source]
Parameters:
  • obj – The node to write the Assign_Location location of.

  • value – The location to write into the Assign_Location field.

Return type:

None