pyds.Object¶
- class pyds.Object(identifier, object_statements, validate_identifier=True)¶
Bases: pyds.Statement
Represents a PDS object statement.
- Parameters
identifier (str)
Identifier of the object.
object_statements (ObjectStatements)
Nested statements of the object.
validate_identifier (True or False)
Whether identifier should be checked to see if it’s a valid identifer for a PDS object statement. Default is True.
- Raises
-
If object_statements is not a instance of ObjectStatements.
-
If validate_identifier is True and identifier is not a valid identifier for an object statement.
-
- Attributes
-
- statements¶
Nested statements of the object statement. A ObjectStatements instance. Read-only.
- value¶
Same as statements.
Special Methods