Figarative device- Simile.
Metaphor.
Personification.
Onomatopoeia.
Oxymoron.
Hyperbole.
Allusion.
Idiom.
SEMANTIC
Macbeth is mourning over the death of his wife and is coming to the conclusion that there is no point in living.
CONTEXT
Macbeth’s wife has died, there is an army outside of his castle, and the thought of it is sending his mind into a frenzy.
FIGURATIVE DEVICES
“Life’s but a walking shadow, poor player” – Personification. This personification as itemphasises Macbeth’s emotions as it portrays his life as invalid, and worthless. “A walking shadow” makes him sound as if he has no purpose and that he isn’t appreciated by anybody that surrounds him.