สมมติอยาก parse source code หา methods ทั้งหมด define ที่ไหน และรับ arguments อะไร ทำไง? ความคิดแรกอาจเป็น regexp... แต่มีวิธีดีกว่าไหม? มี! Static analysis คือเทคนิคใช้ตอนต้องดึงข้อมูลจาก source code เอง ทำโดยแปลง source code เป็น tokens (parsing) มาเริ่มเลย! Using the Parser Gem Ruby มี parser ใน