Foundry.SymbolLocator¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w/co |
|||
r/w/co |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.SymbolLocator(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new_for_file_and_line(file, line)¶
- Parameters:
- Return type:
- classmethod new_for_file_and_line_offset(file, line, line_offset)¶
- Parameters:
- Return type:
- classmethod new_for_file_and_pattern(file, pattern)¶
- Parameters:
- Return type:
- locate(contents)¶
- Parameters:
contents (
GLib.Bytes) –- Return type:
Attempt to resolve locator into a fixed position.
If the locator uses a pattern, this will try to locate the pattern within contents.
New in version 1.1.
Property Details¶
- Foundry.SymbolLocator.props.file¶
- Name:
file- Type:
- Default Value:
- Flags:
- Foundry.SymbolLocator.props.line¶
- Name:
line- Type:
- Default Value:
0- Flags:
- Foundry.SymbolLocator.props.line_offset¶
- Name:
line-offset- Type:
- Default Value:
0- Flags: